DEPRECATED: no live endpoint (api.caf.io does not resolve)
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add caf --env CAF_API_KEY='<CAF_API_KEY>' -- npx -y @codespar/mcp-caf~/.codex/config.toml
[mcp_servers.caf]
command = "npx"
args = ["-y", "@codespar/mcp-caf"]
env = { CAF_API_KEY = "<CAF_API_KEY>" }
# codex mcp add caf --env CAF_API_KEY='<CAF_API_KEY>' -- npx -y @codespar/mcp-caf~/.cursor/mcp.json
{
"mcpServers": {
"caf": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-caf"
],
"env": {
"CAF_API_KEY": "<CAF_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"caf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-caf"
],
"env": {
"CAF_API_KEY": "<CAF_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"caf": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-caf"
],
"env": {
"CAF_API_KEY": "<CAF_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"caf": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-caf"
],
"env": {
"CAF_API_KEY": "<CAF_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"caf": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-caf"
],
"env": {
"CAF_API_KEY": "<CAF_API_KEY>"
}
}
}
}Environment variables
CAF_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.