Repository avatar
AI Tools
v2.0.0
active

cinqueport-ctcc-mcp

io.github.jamesbjgates-web/cinqueport-ctcc-mcp

Pre-flight LLM token & cost circuit breaker ($0.002 USDC, 5/day free) + prompt optimizer over x402.

Documentation

Cinqueport CTCC™ MCP Server (@cinqueport/ctcc-mcp)

Deterministic pre-flight LLM token & budget circuit breaker and prompt optimizer, exposed via Streamable HTTP MCP (https://cinqueport.net/mcp) and x402 v2 on Base Mainnet (eip155:8453).

Tools

ToolEndpointPrice (Base Mainnet USDC)Free Tier
ctcc_checkPOST https://cinqueport.net/check$0.002 USDC (2000 atomic units)5 free calls / 24h (<= 8 KB payload)
ctcc_optimizePOST https://cinqueport.net/optimize$0.01 USDC (10000 atomic units)Paid via x402 v2
  • initialize and tools/list on https://cinqueport.net/mcp return HTTP 200 free of charge.
  • tools/call enforces the 5/day free sandbox on ctcc_check (returning X-CTCC-Free-Remaining) and x402 v2 Base Mainnet USDC settlement thereafter.

Claude Desktop Integration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cinqueport-ctcc": {
      "command": "npx",
      "args": ["-y", "@cinqueport/ctcc-mcp"]
    }
  }
}

Cursor Integration

Option A: Streamable HTTP (Direct)

In Cursor MCP settings (~/.cursor/mcp.json):

{
  "mcpServers": {
    "cinqueport-ctcc": {
      "url": "https://cinqueport.net/mcp"
    }
  }
}

Option B: Stdio Bridge (index.js)

{
  "mcpServers": {
    "cinqueport-ctcc": {
      "command": "node",
      "args": ["/path/to/cinqueport-ctcc-mcp/index.js"]
    }
  }
}

Direct HTTP / x402 Integration

  • Discovery Manifests:
    • https://cinqueport.net/.well-known/x402.json
    • https://cinqueport.net/.well-known/mcp.json
  • Test tools/list:
    curl -s -X POST https://cinqueport.net/mcp \
      -H "Content-Type: application/json" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
    
  • Test ctcc_check (5/day free sandbox):
    curl -i -X POST https://cinqueport.net/check \
      -H "Content-Type: application/json" \
      -d '{"prompt":"Summarize this procurement dossier.","model":"gpt-4o"}'
    

License

MIT © 2026 Cinqueport (Pavilion (Stockport) Ltd)