Skip to content
VS Code

cerebras code mcp for VS Code

io.github.kevint-cerebras/cerebras-code-mcp

Model Context Protocol (MCP) server for Cerebras to make coding faster in AI-first IDEs

client:VS Code transport:stdio runtime:npm

Install cerebras code mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cerebras-api-key",
      "description": "CEREBRAS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openrouter-api-key",
      "description": "OPENROUTER_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "cerebras-code-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cerebras-code-mcp"
      ],
      "env": {
        "CEREBRAS_API_KEY": "${input:cerebras-api-key}",
        "OPENROUTER_API_KEY": "${input:openrouter-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

cerebras code mcp in other clients