DocsMCP serverConnect a client

Connect a client

Claude, Claude Code, ChatGPT, Cursor, VS Code and custom agents.

The server URL is https://mcp.indexone.io. It speaks MCP streamable HTTP and accepts POST only. Every client below connects to that one endpoint and signs in with your Index One account.

Any MCP revision connects

The server speaks both protocol eras — the current 2026-07-28 revision and the older initialize handshake — and picks per request. Nothing on this page depends on which one your client implements, except the signed-out tools below. See Protocol notes.

Signing in

OAuth 2.1 (authorization code with PKCE) works in any client that implements the MCP authorization spec: the Claude apps, Claude Code, ChatGPT, Cursor and VS Code among them. Add the URL, sign in with your normal Index One console account when the client asks, and the client holds a token. No key touches a config file.

API keys are for clients that cannot do OAuth, such as scripts and agents you run yourself. Put your team key in the x-api-key header (or Authorization: Bearer <key>). Create and revoke keys in the console under Team → API keys. An agent with no account can sign up and mint a key over the REST API: see Getting an API key without the console.

MCP is on the free plan

Explore, the free plan, includes MCP and the API: 5 backtests a month over 15+ years of point-in-time history. A call past a plan limit returns code: billing_required with a pricing_url; see pricing.

Before you sign in

Some tools answer without credentials: list_operations, get_operations, list_examples, get_example, validate_workflow, get_index, get_index_values, get_index_holdings, get_index_weightings, get_index_universe, get_index_stats. The index reads cover public indices only, and the handshake and the tool list need no credential. Anything that needs your team's data, or a private index, answers 401, which is how the client knows to start sign-in. Signed-out calls are rate-limited per IP address at half the signed-in limit.

Claude — connector (OAuth)

The simplest way to use Index One from Claude on the web or in Claude Desktop. Go to Settings → Connectors → Add custom connector, paste the server URL, and leave the advanced OAuth fields empty — the server publishes its own discovery documents and a dynamic client registration endpoint, so the client fills them in.

Claude opens a sign-in window. Log in with your Index One account — the same email and password as the console — and you are connected. No API key, no config file.

Remote MCP server URL
https://mcp.indexone.io

Claude Code

One command. In the next session, run /mcp and pick indexone to sign in from your browser.

Terminal
claude mcp add --transport http indexone https://mcp.indexone.io

With an API key instead, add it as a header:

Terminal
claude mcp add --transport http indexone https://mcp.indexone.io \
--header "x-api-key: YOUR_API_KEY"

Claude Desktop (config file)

The connector above is the simple path. To use an API key instead, Claude Desktop's config file connects to remote servers through the mcp-remote bridge rather than directly. Add the block below to claude_desktop_config.json (Settings → Developer → Edit Config) and put your API key in the env block.

Two details matter. mcp-remote substitutes ${...} values from env at startup, which keeps the key out of the args list. And write the header with no spaces around the colon — x-api-key:${INDEXONE_API_KEY}, not x-api-key: ${INDEXONE_API_KEY} — because Claude Desktop does not escape spaces inside arguments on Windows and the header is silently split.

claude_desktop_config.json
{
"mcpServers": {
"indexone": {
"command": "npx",
"args": [
"-y", "mcp-remote", "https://mcp.indexone.io",
"--header", "x-api-key:${INDEXONE_API_KEY}"
],
"env": { "INDEXONE_API_KEY": "YOUR_API_KEY" }
}
}
}

Claude Desktop on Windows

On Windows, launch the bridge through cmd /c instead of calling npx directly. Claude Desktop resolves npx to its full path under Program Files, and the space in that path breaks the launch — you get 'C:\Program' is not recognized and the server never starts. Everything else is identical.

claude_desktop_config.json
{
"mcpServers": {
"indexone": {
"command": "cmd",
"args": [
"/c", "npx", "-y", "mcp-remote", "https://mcp.indexone.io",
"--header", "x-api-key:${INDEXONE_API_KEY}"
],
"env": { "INDEXONE_API_KEY": "YOUR_API_KEY" }
}
}
}

Cursor

Use Add to Cursor above, or add the server to ~/.cursor/mcp.json (or .cursor/mcp.json for a single project). Cursor asks you to sign in when it connects. For an API key instead, add "headers": { "x-api-key": "YOUR_API_KEY" } beside url.

.cursor/mcp.json
{
"mcpServers": {
"indexone": {
"url": "https://mcp.indexone.io"
}
}
}

VS Code

Use Add to VS Code above, which opens the install link below through vscode.dev, or add the server to .vscode/mcp.json in your workspace (the key is servers, not mcpServers). VS Code asks you to sign in when it connects. For an API key instead, add "headers": { "x-api-key": "YOUR_API_KEY" } beside url.

Install link
vscode:mcp/install?%7B%22name%22%3A%22indexone%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.indexone.io%22%7D
.vscode/mcp.json
{
"servers": {
"indexone": {
"type": "http",
"url": "https://mcp.indexone.io"
}
}
}

Your own agent (Python SDK)

Connect programmatically with the official MCP Python SDK (pip install "mcp>=2"). The transport is stateless, so nothing needs to be kept alive between calls beyond the client you open. Headers ride on the httpx2 client you hand the transport.

agent.py
import httpx2
from mcp import Client
from mcp.client.streamable_http import streamable_http_client
async with httpx2.AsyncClient(headers={"x-api-key": "YOUR_API_KEY"}) as http:
async with Client(streamable_http_client(
"https://mcp.indexone.io", http_client=http,
)) as client:
tools = await client.list_tools()
result = await client.call_tool(
"get_index_values", {"index_id": "idx_...", "limit": 100}
)
# Every tool returns one compact JSON text block — parse it.
import json
payload = json.loads(result.content[0].text)

SDK v1 still works

The server answers both protocol eras, so an existing ClientSession + streamablehttp_client integration on mcp<2 keeps connecting through its initialize handshake. Only the result shape changed: read content[0].text and parse it, rather than structuredContent. See Protocol notes.

Smoke test

Before debugging a client, check the credential from the command line. A raw JSON-RPC tools/list should return all 22 tools.

curl -X POST https://mcp.indexone.io \
-H "content-type: application/json" \
-H "accept: application/json, text/event-stream" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Reading the failure

401 is the credential — and for an OAuth client it is also the normal first response, since it is how the client discovers where to sign in. 402 means the team's plan does not cover API access (code: billing_required); a plan limit reached inside a tool, such as the month's backtests, comes back as the tool's result with the same code and a pricing_url. 403 is a rejected Origin. A 405 back from a GET is normal: the endpoint is POST-only. Streamable HTTP clients are expected to advertise application/json, text/event-stream; this server answers with plain JSON, but sending only one of the two makes some clients and intermediaries behave inconsistently.