Cerebras Code MCP Server
by kevint-cerebrasio.github.kevint-cerebras/cerebras-code-mcpv1.3.1
Model Context Protocol (MCP) server for Cerebras to make coding faster in AI-first IDEs
context tax
queued
security
queued
cold start
queued
freshness
Abandoned13mo ago
Install Cerebras Code MCP server
Install in Claude Code
claude mcp add cerebras-code -e CEREBRAS_API_KEY='<cerebras-api-key>' -e OPENROUTER_API_KEY='<openrouter-api-key>' -- npx -y cerebras-code-mcpInstall in Cursor
{
"mcpServers": {
"cerebras-code": {
"command": "npx",
"args": [
"-y",
"cerebras-code-mcp"
],
"env": {
"CEREBRAS_API_KEY": "<cerebras-api-key>",
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"cerebras-code": {
"command": "npx",
"args": [
"-y",
"cerebras-code-mcp"
],
"env": {
"CEREBRAS_API_KEY": "<cerebras-api-key>",
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"cerebras-code": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cerebras-code-mcp"
],
"env": {
"CEREBRAS_API_KEY": "<cerebras-api-key>",
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"cerebras-code": {
"command": "npx",
"args": [
"-y",
"cerebras-code-mcp"
],
"env": {
"CEREBRAS_API_KEY": "<cerebras-api-key>",
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CEREBRAS_API_KEY | yes | yes | Your Cerebras API key from cloud.cerebras.ai |
| OPENROUTER_API_KEY | — | yes | Optional OpenRouter API key for fallback when Cerebras rate limits are hit |
Freshness
Abandoned — last maintenance signal 13mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2025-09-09 · 13mo ago · official registry · v1.3.1
FAQ
›How do I install the Cerebras Code MCP server in Claude Code?
Run: claude mcp add cerebras-code -e CEREBRAS_API_KEY='<cerebras-api-key>' -e OPENROUTER_API_KEY='<openrouter-api-key>' -- npx -y cerebras-code-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Cerebras Code require an API key?
Yes. It expects CEREBRAS_API_KEY, OPENROUTER_API_KEY, of which 2 are secrets.
›Can I use Cerebras Code as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Cerebras Code in the official MCP registry?
Yes, as io.github.kevint-cerebras/cerebras-code-mcp.