mcp-c6
v0.1.0-alpha.4DEPRECATED: no live endpoint (baas.c6bank.com.br does not resolve)
Values you need
| Variable | What it is | |
|---|---|---|
C6_CLIENT_ID | required | C6 OAuth client_id issued via the Developer Portal after contract onboarding. |
C6_CLIENT_SECRET | required secret | C6 OAuth client_secret. |
C6_CERT_PATH | required | Absolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2. |
C6_KEY_PATH | required secret | Absolute path to the mTLS private key (.key or .pem). |
C6_ENV | optional | Environment: 'sandbox' or 'production'. Defaults to 'sandbox'. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-c6 -e 'C6_CERT_PATH=<C6_CERT_PATH>' -e 'C6_CLIENT_ID=<C6_CLIENT_ID>' -e 'C6_CLIENT_SECRET=<C6_CLIENT_SECRET>' -e 'C6_KEY_PATH=<C6_KEY_PATH>' -- npx -y @codespar/mcp-c6@0.1.0-alpha.4Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-c6": {
"args": [
"-y",
"@codespar/mcp-c6@0.1.0-alpha.4"
],
"command": "npx",
"env": {
"C6_CERT_PATH": "<C6_CERT_PATH>",
"C6_CLIENT_ID": "<C6_CLIENT_ID>",
"C6_CLIENT_SECRET": "<C6_CLIENT_SECRET>",
"C6_KEY_PATH": "<C6_KEY_PATH>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-c6": {
"args": [
"-y",
"@codespar/mcp-c6@0.1.0-alpha.4"
],
"command": "npx",
"env": {
"C6_CERT_PATH": "<C6_CERT_PATH>",
"C6_CLIENT_ID": "<C6_CLIENT_ID>",
"C6_CLIENT_SECRET": "<C6_CLIENT_SECRET>",
"C6_KEY_PATH": "<C6_KEY_PATH>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "C6_CERT_PATH",
"id": "c6-cert-path",
"password": true,
"type": "promptString"
},
{
"description": "C6_CLIENT_ID",
"id": "c6-client-id",
"password": true,
"type": "promptString"
},
{
"description": "C6_CLIENT_SECRET",
"id": "c6-client-secret",
"password": true,
"type": "promptString"
},
{
"description": "C6_KEY_PATH",
"id": "c6-key-path",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-c6": {
"args": [
"-y",
"@codespar/mcp-c6@0.1.0-alpha.4"
],
"command": "npx",
"env": {
"C6_CERT_PATH": "${input:c6-cert-path}",
"C6_CLIENT_ID": "${input:c6-client-id}",
"C6_CLIENT_SECRET": "${input:c6-client-secret}",
"C6_KEY_PATH": "${input:c6-key-path}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-c6]
command = "npx"
args = ["-y", "@codespar/mcp-c6@0.1.0-alpha.4"]
env = { "C6_CERT_PATH" = "<C6_CERT_PATH>", "C6_CLIENT_ID" = "<C6_CLIENT_ID>", "C6_CLIENT_SECRET" = "<C6_CLIENT_SECRET>", "C6_KEY_PATH" = "<C6_KEY_PATH>" }For AI agents
- Ask the user for: C6_CLIENT_ID, C6_CLIENT_SECRET, C6_CERT_PATH, C6_KEY_PATH. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_oauth_token, create_pix_cob, get_pix_cob, list_pix_cob, create_pix_cobv, get_pix_cobv, resolve_dict_key, register_pix_key, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json