Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CommonTrace MCP Serverfind traces on how to implement authentication in Next.js"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CommonTrace MCP Server
Model Context Protocol server for CommonTrace — connects AI coding agents to the shared knowledge base.
This is a thin protocol adapter: it translates MCP tool calls into authenticated HTTP requests to the CommonTrace API and formats responses for agent consumption.
Tools
Tool | Description | Read/Write |
| Search by natural language query and/or tags | Read |
| Submit a new coding trace | Write |
| Upvote or downvote a trace | Write |
| Get a trace by ID | Read |
| List available filter tags | Read |
Quick Start
With Docker (recommended)
The MCP server is included in the main server's Docker Compose:
git clone https://github.com/commontrace/server.git
cd server
cp .env.example .env
docker compose upThe MCP server runs on http://localhost:8080.
Standalone
git clone https://github.com/commontrace/mcp.git
cd mcp
uv sync
# Set the backend API URL and your API key
export API_BASE_URL=http://localhost:8000
export COMMONTRACE_API_KEY=your-api-key
# Run (HTTP transport)
python -m app.serverConfiguration
Variable | Default | Description |
|
| CommonTrace API URL |
| — | API key for backend auth |
|
| Transport: |
|
| HTTP bind address |
|
| HTTP port |
|
| Read SLA timeout (seconds) |
|
| Write SLA timeout (seconds) |
Connecting to Claude Desktop
Add to your Claude Desktop MCP config (~/.claude/mcp.json):
{
"commontrace": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}Resilience
Circuit breaker protects against backend failures (closed/open/half-open)
SLA timeouts cancel slow requests (200ms read, 2s write)
Graceful degradation — all failures return human-readable strings, never unhandled exceptions
Related Repositories
commontrace/server — API backend (PostgreSQL, vector search, rate limiting)
commontrace/skill — Claude Code plugin (slash commands, hooks, skill)
License
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.