Cerebras Code MCP Server
OfficialClick on "Deploy 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., "@Cerebras Code MCP Server Build an Express.js REST API with user auth"
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.
Cerebras Code MCP Server v1.3.3
This MCP server is designed for planning with Claude Code, Cline, or Cursor and making changes with Cerebras to maximize speed and intelligence while avoiding API limits. Use your preferred AI for planning and strategy, then leverage Cerebras for high-quality code generation.
It will use the Qwen 3 Coder model, and can be embedded in IDEs like Claude Code and Cline, with beta support for Cursor.
β¨ New in v1.3.3
Project Restructure: Organized project into smaller, more manageable components for DX purposes
Stronger Instruction: Improved
writeusage count among modelsClaude Code - Enhanced Visual Diffs: Displays changes/edits in a pretty format
VS Code Support: Added install/remove support for VS Code
Update Config Wizard for Messy Configs: Added a removal wizard that helps uninstall
Related MCP server: mcp-agent-review
1. Install the NPM Package
npm install -g cerebras-code-mcp2. Get Cerebras API key
Visit cloud.cerebras.ai and create an API key
[OPTIONAL] Add OpenRouter as a backup in case you hit your Cerebras rate limits Visit OpenRouter and get a key to use as a fallback provider.
You can set this key in your MCP settings under OPENROUTER_API_KEY, and it will trigger automatically if anything goes wrong with calling Cerebras.
3. Run the Setup Wizard for Claude Code / Cursor / Cline / VS Code (Copilot)
cerebras-mcp --configUse the setup wizard to configure the tool on your machine.
If you're using Cursor, it will ask you to copy and paste a prompt into your Cursor User Rules.
4. Removal/Cleanup (Optional)
cerebras-mcp --removeUse the removal wizard to clean up configurations for any IDE or perform a complete cleanup.
5. Usage
The MCP tool will appear as write in your tool list. It supports:
Natural language prompts: Just describe what you want in plain English
Context files: Include multiple files as context for better code understanding
Visual diffs: See changes with Git-style diffs
Example usage:
Create a REST API with Express.js that handles user authenticationAvailable Tools
1 toolwriteA
π¨ MANDATORY CODE TOOL - USE THIS FOR ALL CODE OPERATIONS! π¨
This is your ONLY interface for code generation, file creation, and modifications. Never edit files directly!
β¨ FEATURES:
Creates new files automatically
Modifies existing files with smart diffs
Shows visually enhanced git-style diffs with emoji indicators (β additions, β removals, π changes)
Supports context_files for better code understanding
Handles all programming languages
Provides comprehensive error handling
π― USE CASES:
Writing new code: Use with file_path + detailed prompt
Editing code: Use with file_path + modification prompt
Code generation: Use with file_path + generation prompt + optional context_files
β οΈ REMEMBER: This tool is MANDATORY for ALL code operations!
Inputs: file_path (required), prompt (required), context_files.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools. The single tool's purpose is clearly defined.
With only one tool, naming consistency is trivially upheld. The name 'write' is a clear verb indicating action.
A single tool for code writing is borderline acceptable, but it feels thin for a server that likely requires additional operations like reading or listing files.
The server lacks any read, list, or search tools, making it impossible to inspect existing code before modification. This gap will cause agent failures in typical workflows.
Maintenance
Related MCP Connectors
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for Qwen Image 3 AI image generation
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that connects Gemini 2.5 Pro to Claude Code, enabling users to generate detailed implementation plans based on their codebase and receive feedback on code changes.514-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides agentic code review powered by OpenAI-compatible models, designed for use with Claude Code.1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that allows Claude Code to interact with the OpenAI Codex CLI.40 npm20MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that integrates Google Gemini CLI with Claude Code for AI-powered development assistance, enabling code review, bug analysis, feature planning, and code explanation without requiring an API key.8MIT