Skip to content

MCP Setup

Connect Claude Code, Cursor, Claude.ai, and ChatGPT to the Hitfactor MCP server.

The Hitfactor MCP server runs over HTTP JSON-RPC 2.0 at:

https://hitfactorapp.com/api/v1/mcp

It supports initialize, ping, tools/list, and tools/call. Long-running tools return an operationId immediately instead of streaming over SSE; poll with operation_get until status is succeeded or failed.

Run this command with a key from /<workspace>/api:

Terminal window
claude mcp add --transport http hitfactor "https://hitfactorapp.com/api/v1/mcp" \
--header "x-api-key: hf_live_your_api_key"

Add the server without a header and sign in when Claude Code prompts you:

Terminal window
claude mcp add --transport http hitfactor "https://hitfactorapp.com/api/v1/mcp"

Add hitfactor to ~/.cursor/mcp.json or .cursor/mcp.json:

{
"mcpServers": {
"hitfactor": {
"url": "https://hitfactorapp.com/api/v1/mcp",
"headers": {
"x-api-key": "hf_live_your_api_key"
}
}
}
}

Omit headers and let Cursor complete OAuth 2.1 discovery:

{
"mcpServers": {
"hitfactor": {
"url": "https://hitfactorapp.com/api/v1/mcp"
}
}
}

Claude.ai connects to remote MCP servers using OAuth 2.1.

  1. Open Settings > Connectors in Claude.ai.
  2. Select Add custom connector.
  3. Enter https://hitfactorapp.com/api/v1/mcp as the server URL.
  4. Leave any API key field blank.
  5. Complete the Google sign-in and workspace consent prompt.

ChatGPT connects to remote MCP servers using OAuth 2.1.

  1. Open Settings > Connectors (or MCP Settings) in ChatGPT.
  2. Add a custom remote MCP server.
  3. Enter https://hitfactorapp.com/api/v1/mcp as the server URL.
  4. Complete the Google sign-in and workspace consent prompt.

To make a billed MCP tool call idempotent, include a unique requestId string (up to 255 characters) in the tool arguments. Replaying the same requestId with the same inputs returns the original result or operationId with 0 extra credits charged.