CEDARScript

v1.0.0Developer Toolsstable

MCP server integrating CEDARScript grammar functionality into tool use.

cedarscriptmcpai-integration
Share:
8
Stars
0
Downloads
0
Weekly
0/5

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

Integrate CEDARScript grammar tools into Claude's tool use.
th3w1zard1

Maintainer

LicenseMIT
Languagejavascript
Versionv1.0.0
UpdatedApr 1, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx cedarscript

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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 build
2

Locate 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.js
3

Configure 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"
    }
  }
}
4

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.

5

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 interactively
6

Rebuild on changes

When modifying the server source, use the watch command to automatically recompile TypeScript on file changes during active development.

npm run watch

CEDARScript 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.

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.

Quick Config Preview

{ "mcpServers": { "cedarscript": { "command": "npx", "args": ["-y", "cedarscript"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides