Skip to main content
chance-mcp (MIT) is a stdio process for MCP clients that launch local servers. It forwards every JSON-RPC message to https://harness.chance.cc/api/mcp with Authorization: Bearer $CHANCE_API_KEY and returns the reply. It defines no tools of its own: the tool list, schemas and results come from the hosted server. An API key carries both the mcp and wallet scopes, so every hosted tool is available.
  • Requires Node 18 or later.
  • Each request times out after 300 seconds.
  • Clients that support remote HTTP servers can connect to the hosted server directly and sign in with OAuth instead. See Connectors.

Setup

1

Create an API key

Sign in at harness.chance.cc/login, open harness.chance.cc/keys and click Create key.
2

Add the server to your MCP client

Settings → Developer → Edit Config, add the block to claude_desktop_config.json, and restart Claude Desktop.
Add the same mcpServers block to the client’s MCP config and reload.
3

Confirm the connection

Ask the agent to call check_connection. It is free and returns the account, remaining credits and whether the wallet tools are available. Do not use verify_intent as a test: it costs a credit.

Environment

Errors

On start the process writes chance-mcp proxying to <endpoint> to stderr.

Tools

The tools are the hosted server’s. See the MCP tool reference. A standing instruction for the agent: