Connect any AI agent to your product catalog using the Model Context Protocol.
Your key works in the hosts that send it as an Authorization: Bearer header: Claude Code, Cursor, Windsurf, VS Code and n8n. Copy the config for yours. Each config file adds two servers: storag searches your catalog with your pk_ key, and storag-demo searches the demo catalog without a key. The key is read from STORAG_API_KEY in your environment (VS Code asks for it), so it is never written into the file.
Terminal; export STORAG_API_KEY=pk_... first
claude mcp add --transport http storag https://mcp.storag.ai/mcp --header "Authorization: Bearer $STORAG_API_KEY"
claude mcp add --transport http storag-demo https://mcp.storag.ai/demo/mcp~/.cursor/mcp.json or .cursor/mcp.json; reads STORAG_API_KEY from your env
{
"mcpServers": {
"storag": {
"url": "https://mcp.storag.ai/mcp",
"headers": {
"Authorization": "Bearer ${env:STORAG_API_KEY}"
}
},
"storag-demo": {
"url": "https://mcp.storag.ai/demo/mcp"
}
}
}~/.codeium/windsurf/mcp_config.json; reads STORAG_API_KEY from your env
{
"mcpServers": {
"storag": {
"serverUrl": "https://mcp.storag.ai/mcp",
"headers": {
"Authorization": "Bearer ${env:STORAG_API_KEY}"
}
},
"storag-demo": {
"serverUrl": "https://mcp.storag.ai/demo/mcp"
}
}
}.vscode/mcp.json; asks for the key once and stores it as a secret
{
"inputs": [
{
"type": "promptString",
"id": "storag-api-key",
"description": "Storag API key (pk_...)",
"password": true
}
],
"servers": {
"storag": {
"type": "http",
"url": "https://mcp.storag.ai/mcp",
"headers": {
"Authorization": "Bearer ${input:storag-api-key}"
}
},
"storag-demo": {
"type": "http",
"url": "https://mcp.storag.ai/demo/mcp"
}
}
}MCP Client Tool node (for an AI Agent) or MCP Client node; there is no SSE endpoint
Endpoint: https://mcp.storag.ai/mcp
Server Transport: HTTP Streamable
Authentication: Bearer Auth
Bearer Token: your pk_ API keyclaude mcp list shows ✔ Connected even with a wrong key: connecting and listing the tools do not check it. Your first tool call does. With a wrong key it fails with the tool error Invalid Storag API key: storag-api refused the key sent as 'Authorization: Bearer <key>' and tells you to copy your key from the dashboard. With no key it answers No Storag API key: send it as 'Authorization: Bearer <key>'.
https://mcp.storag.ai/mcp keeps a session. Claude Code, Cursor and other MCP clients handle it for you. With plain curl, send initialize first, then the Mcp-Session-Id header it answers with on every later call. A tools/call without it gets 400 Bad Request: Missing session ID.
Prefer a project file in Claude Code? Put this in .mcp.json; Claude Code fills ${STORAG_API_KEY} from your environment and asks you to approve the server the first time you run claude in that folder:
{
"mcpServers": {
"storag": {
"type": "http",
"url": "https://mcp.storag.ai/mcp",
"headers": {
"Authorization": "Bearer ${STORAG_API_KEY}"
}
}
}
}
No key yet? https://mcp.storag.ai/demo/mcp (the storag-demo entry above) has the same tools over the demo catalog, without a key and without a session.
Their connectors sign in with OAuth, which the Storag MCP server does not offer yet, so they cannot use your key. To try the four tools on the demo catalog there, add https://mcp.storag.ai/demo/mcp as a custom connector with no sign-in (steps for Claude). For your own catalog, use one of the hosts above.
| Tool | Description | Arguments |
|---|---|---|
search_products | Product search, best match first: full-text candidates judged for fit by an LLM, the same total, paging and meta as /search (How /search answers). Price, stock and sort phrases in the query work as filters. | q (required), page, page_size, min_price, max_price, availability ("in stock" or "any"; any other value is an error), sort (relevance, price_asc, price_desc) |
text_search_products | Keyword search for exact terms such as a brand, product type or ID. Never judged. | Same as search_products |
list_products | List indexed products with pagination. | page, page_size, search (title, ID or brand) |
get_product | Get a single product by ID with full details. | product_id (required) |
The search query argument is q, not query. Example call: {"q": "trail running shoes", "max_price": 80}.
The MCP server uses Streamable HTTP transport and works with:
claude mcp add --transport http or a .mcp.json project config with "type": "http"mcp-remote bridge below.cursor/mcp.json (or ~/.cursor/mcp.json) with the server's url~/.codeium/windsurf/mcp_config.json with the server's serverUrl.vscode/mcp.json with "type": "http" under serversAuthentication uses the same API key as the REST API. Rate limits and quotas match your plan. The keyless recipes for each client are in Try it in your tool (no key).
Claude Desktop can run your keyed server as a local command through the mcp-remote bridge (needs Node.js 18 or newer). Put this in claude_desktop_config.json (Settings > Developer > Edit Config) and restart Claude Desktop:
{
"mcpServers": {
"storag": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.storag.ai/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer pk_your_api_key"
}
}
}
}
An AI agent can run the demo alone, but sign-up, the key and the feed are dashboard steps. /docs/agents gives the agent the words to hand those steps to its user, and how to check each one.
Get your API keyKeyless recipes per clientAPI referenceSetting up from an AI agent