CEDARScript
MCP server integrating CEDARScript grammar functionality into tool use.
What is CEDARScript?
CEDARScript is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server integrating cedarscript grammar functionality into tool use.
MCP server integrating CEDARScript grammar functionality into tool use.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server integrating CEDARScript grammar functionality int
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx cedarscriptConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use CEDARScript
CEDARScript MCP Server integrates the CEDARScript code editing grammar into Claude's tool use, providing an edit_file tool that accepts SQL-like CEDARScript commands for precise, pattern-based code transformations. It supports file creation, deletion, moving, and block-level code manipulation using regex, prefix/suffix, and indentation rules without requiring an external editor.
Prerequisites
- Node.js 12 or later with npm
- Claude Desktop or another MCP-compatible client
- Basic familiarity with CEDARScript's SQL-like syntax for code operations
- Git (to clone the repository)
Clone and build the server
Clone the cedarscript-mcp repository, install npm dependencies, and compile the TypeScript source to JavaScript. The build output is placed in the build/ directory.
git clone https://github.com/th3w1zard1/cedarscript-mcp.git
cd cedarscript-mcp
npm install
npm run buildLocate the built entry point
After building, note the absolute path to the compiled entry point. You will need this path when configuring Claude Desktop to launch the server.
# After npm run build completes:
ls build/index.js
# Note the absolute path, e.g.:
# /Users/you/cedarscript-mcp/build/index.jsConfigure Claude Desktop
Add the cedarscript server to your Claude Desktop configuration. On macOS the config file is at ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is at %APPDATA%/Claude/claude_desktop_config.json.
{
"mcpServers": {
"cedardiff": {
"command": "/absolute/path/to/cedarscript-mcp/build/index.js"
}
}
}Restart Claude Desktop
Quit and relaunch Claude Desktop so it picks up the new MCP server configuration. The cedarscript edit_file tool will then be available in Claude's tool list.
Use the MCP Inspector for development
During development, use the built-in MCP Inspector to test CEDARScript commands interactively in a browser-based UI before integrating them into Claude prompts.
npm run inspector
# Opens the MCP Inspector at http://localhost:5173
# Connect to the cedarscript server and call edit_file interactivelyRebuild on changes
When modifying the server source, use the watch command to automatically recompile TypeScript on file changes during active development.
npm run watchCEDARScript Examples
Client configuration
Claude Desktop configuration pointing at the built CEDARScript MCP server index.js file.
{
"mcpServers": {
"cedardiff": {
"command": "/Users/yourname/cedarscript-mcp/build/index.js"
}
}
}Prompts to try
Example prompts that leverage the edit_file CEDARScript tool for code manipulation tasks.
- "Use CEDARScript to rename the function 'processData' to 'transformData' in src/utils.py"
- "Insert a docstring after the first line of every Python function in the src/ directory"
- "Move the class definition 'UserAuth' from auth.py to a new file called user_auth.py"Troubleshooting CEDARScript
Claude Desktop shows 'server disconnected' immediately after adding the config
Verify the path in the command field is absolute and that build/index.js exists and is executable. Run 'node /path/to/build/index.js' directly in a terminal to see any startup errors.
npm run build fails with TypeScript compilation errors
Ensure you are using Node.js 12 or later. Run 'node --version' to check. Delete node_modules and package-lock.json then run 'npm install' again before retrying 'npm run build'.
CEDARScript commands return 'pattern not found' when editing files
CEDARScript uses exact pattern matching. Verify the prefix, suffix, or regex patterns in your script exactly match the whitespace and indentation of the target file. Use the MCP Inspector to test commands interactively with real file contents.
Frequently Asked Questions about CEDARScript
What is CEDARScript?
CEDARScript is a Model Context Protocol (MCP) server that mcp server integrating cedarscript grammar functionality into tool use. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install CEDARScript?
Follow the installation instructions on the CEDARScript GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with CEDARScript?
CEDARScript works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is CEDARScript free to use?
Yes, CEDARScript is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
CEDARScript Alternatives — Similar Developer Tools Servers
Looking for alternatives to CEDARScript? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up CEDARScript in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use CEDARScript?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.