cerebras-code-mcp
Model Context Protocol (MCP) server for Cerebras to make coding faster in AI-first IDEs
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"cerebras-code-mcp": {
"args": [
"cerebras-code-mcp@1.3.1"
],
"command": "npx"
}
}
}
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
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 models - Claude 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
# 1. Install the NPM Package
npm install -g cerebras-code-mcp
# 2. 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 - -config
Use 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 - -remove
Use 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 authentication