MCP (Model Context Protocol) server that exposes Coherence as tools for Claude, Cursor, Cline, and other MCP-compatible clients.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add getcoherence --env COHERENCE_API_TOKEN='<COHERENCE_API_TOKEN>' -- npx -y @coherenceos/mcp-server~/.codex/config.toml
[mcp_servers.getcoherence]
command = "npx"
args = ["-y", "@coherenceos/mcp-server"]
env = { COHERENCE_API_TOKEN = "<COHERENCE_API_TOKEN>" }
# codex mcp add getcoherence --env COHERENCE_API_TOKEN='<COHERENCE_API_TOKEN>' -- npx -y @coherenceos/mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"getcoherence": {
"command": "npx",
"args": [
"-y",
"@coherenceos/mcp-server"
],
"env": {
"COHERENCE_API_TOKEN": "<COHERENCE_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"getcoherence": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@coherenceos/mcp-server"
],
"env": {
"COHERENCE_API_TOKEN": "<COHERENCE_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"getcoherence": {
"command": "npx",
"args": [
"-y",
"@coherenceos/mcp-server"
],
"env": {
"COHERENCE_API_TOKEN": "<COHERENCE_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"getcoherence": {
"command": "npx",
"args": [
"-y",
"@coherenceos/mcp-server"
],
"env": {
"COHERENCE_API_TOKEN": "<COHERENCE_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"getcoherence": {
"command": "npx",
"args": [
"-y",
"@coherenceos/mcp-server"
],
"env": {
"COHERENCE_API_TOKEN": "<COHERENCE_API_TOKEN>"
}
}
}
}Environment variables
COHERENCE_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.