Skip to main content

Connection Settings

  1. Open the QuantX marketplace and sign in.
  2. Select the required server and open Connection.
  3. Use the displayed MCP URL and authorization settings in your client.
  4. Reconnect and run tools/list before your first tool call.
The interface masks the key on screen, but Copy includes the real key. Treat copied configuration as a secret: do not paste it into documentation, issue reports, workflow exports, or version control. Use the public gateway, not a container address. Do not configure an identity header such as x-kratos-id yourself. Do not assume a gateway /health route exists or use one in place of MCP initialization.

Gateway URLs

Each server has its own path on the gateway: Your access to a given server, and the key it takes, come from the marketplace — use the connection it shows you rather than assuming a URL. A bundle URL uses /bundles/<slug>; copy its actual connection instead of inventing a slug.

Cursor

Place this complete configuration in project .cursor/mcp.json or user ~/.cursor/mcp.json. If the file already contains servers, merge the entry into its existing mcpServers object. This example connects to Volatility Scaling Lab:
Set QUANTX_MCP_TOKEN in the environment available to the running Cursor process, then reconnect. Its value is the key without the Bearer prefix. A variable exported in a separate terminal does not update an already running GUI process. Remote entries do not load envFile; do not put a key in an env block and expect it to become an HTTP header. See Cursor MCP configuration.

EP Ratio Screener With Provider Credentials

Use this full configuration for EP Ratio Screener. Set MASSIVE_API_KEY as well as QUANTX_MCP_TOKEN before starting Cursor:
For FMP cross-validation or use_fmp_screen: true, add "FMP-API-Key": "${env:FMP_API_KEY}" inside headers and set that variable. Dataloader uses the same Massive header for source: "massive"; Yahoo needs no provider header. Provider keys do not replace QuantX authorization. Keep them only on the connections that need them.

Claude Code

Claude Code uses project .mcp.json, not .cursor/mcp.json. It requires "type": "http" and expands ${NAME}, not Cursor’s ${env:NAME}:
Make the variable available before launching Claude Code. Approve the project configuration and inspect the connection with /mcp or claude mcp list. For EP Ratio Screener, change the name and URL to its entry above and add "Massive-API-Key": "${MASSIVE_API_KEY}" to headers; add "FMP-API-Key": "${FMP_API_KEY}" only when needed. See Claude Code MCP configuration.

Python FastMCP

Install FastMCP in your project environment:
Set QUANTX_MCP_TOKEN privately. This complete example defaults to Volatility Scaling Lab; set QUANTX_MCP_URL to another Connection URL when needed. A bundle URL does not tell you which servers sit behind it, so set the provider keys for any bundled tool you intend to call:
The SDK handles initialization and transport negotiation. Header values contain one Bearer prefix; do not add it to the environment variable itself. This script checks discovery without querying a data provider. See FastMCP transports.

Other Clients

Use a client that supports both remote Streamable HTTP and the headers required by your selected connection. Do not assume an OAuth-only connector can use a static bearer key, or that the gateway exposes OAuth merely because your client offers it. Never remove gateway protection to accommodate a client. For Claude Desktop, use the remote-connector options supported by your installed version and the authentication method explicitly offered by the marketplace. If custom bearer or provider headers cannot be supplied, use a compatible client instead.

Direct HTTP Clients

Prefer an MCP SDK. A manually implemented client must:
  1. Send initialize and honor the negotiated protocol version.
  2. Send notifications/initialized before tool calls.
  3. Set Content-Type: application/json and accept both application/json and text/event-stream.
  4. Forward authorization and required provider headers on subsequent requests.
  5. Reuse MCP-Session-Id only if the server returned it. The current server images use stateless HTTP; absence of a session header is not an error.
  6. Handle JSON and SSE responses, JSON-RPC errors, and MCP isError independently of HTTP status.

Troubleshooting

Report the tool name and sanitized error code. Do not include keys, copied connection JSON, personal data, or provider credentials in logs or support messages.