Connect a client
The QuantConomy MCP server is hosted — there is nothing to install. Point any MCP-capable client at the endpoint and authenticate with your API key:
https://mcp.quantconomy.com/mcpThe transport is Streamable HTTP (stateless). The server reads your key from the
Authorization: Bearer mtk_... header on every request, so each call your agent makes is
authenticated and metered exactly like a direct REST call.
You need an API key first. Create one in the dashboard at
app.quantconomy.com under Account → API Keys. Keys look like
mtk_a1b2c3d4.... See Authentication for details.
Connect your client
Section titled “Connect your client”Add the server over HTTP with your key as an Authorization header:
-
Add the server:
Terminal window claude mcp add --transport http quantconomy https://mcp.quantconomy.com/mcp \--header "Authorization: Bearer mtk_your_key_here" -
Confirm it registered and is reachable:
Terminal window claude mcp list
Claude Desktop connects to remote servers as a custom connector.
- Open Settings → Connectors → Add custom connector.
- Set the URL to
https://mcp.quantconomy.com/mcp. - Under authentication, add the header
Authorizationwith the valueBearer mtk_your_key_here. - Save, then enable the connector in a chat. The QuantConomy tools, resources, and prompts appear in the tool picker.
Cursor reads MCP servers from mcp.json (~/.cursor/mcp.json for all projects, or
.cursor/mcp.json inside a project).
-
Add the server:
{"mcpServers": {"quantconomy": {"url": "https://mcp.quantconomy.com/mcp","headers": {"Authorization": "Bearer mtk_your_key_here"}}}} -
Open Cursor → Settings → MCP and confirm the
quantconomyserver shows as connected with its tools enabled.
Any client that supports adding a remote MCP server by URL connects the same way.
-
Add a new MCP server with the URL
https://mcp.quantconomy.com/mcp. -
Choose Streamable HTTP (not SSE) if asked for a transport.
-
Set authentication to a Bearer token and use your API key:
Authorization: Bearer mtk_your_key_here -
Save and connect. The client lists the QuantConomy tools, resources, and prompts.
Verify the connection
Section titled “Verify the connection”Once connected, ask the agent to call get_account (or read the quantconomy://account
resource). It returns your plan, credit balance, and rate limits — a quick confirmation that
your key is wired up correctly. If you get a 401, the key is missing or invalid; a 402 means
you are out of credits.