Cinqueport CTCC™ MCP Server
README.md
# 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
| Tool | Endpoint | Price (Base Mainnet USDC) | Free Tier |
| :--- | :--- | :--- | :--- |
| `ctcc_check` | `POST https://cinqueport.net/check` | `$0.002 USDC` (`2000` atomic units) | **5 free calls / 24h** (`<= 8 KB` payload) |
| `ctcc_optimize` | `POST 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`:
```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`):
```json
{
"mcpServers": {
"cinqueport-ctcc": {
"url": "https://cinqueport.net/mcp"
}
}
}
```
### Option B: Stdio Bridge (`index.js`)
```json
{
"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`:**
```bash
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):**
```bash
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)
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues