Skip to main content
Glama

Cedardiff MCP Server

by th3w1zard1

cedardiff MCP サーバー

CEDARScript 文法ルールを使用してファイルを編集する

これは、コード操作のためのSQL風言語であるCEDARScriptを実装した、TypeScriptベースのMCPサーバーです。以下の機能を提供します。

  • コード操作コマンドの包括的な文法
  • CEDARScript操作を実行するためのツール
  • 複雑なパターンマッチングと変換のサポート

特徴

文法

  • コード操作用の SQL のような構文 (DDL、DML)
  • ファイル、関数、クラス、メソッドのターゲット設定のサポート
  • 正規表現、接頭辞/接尾辞、インデントルールによるパターンマッチング
  • ブロックレベルのコード操作機能

ツール

  • edit_file - CEDARScriptコマンドを実行する
    • スクリプトと作業ディレクトリをパラメータとして受け取ります
    • ファイルの作成、削除、移動、更新をサポート
    • パターンベースのコード変換

実施状況

現在のテストで明らかになったこと:

  • コマンド解析は正しく動作します
  • 文法は複雑な演算をサポートする
  • ファイル書き込みメカニズムの改善が必要
  • 成功メッセージが返されましたが、変更は保存されませんでした

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "cedardiff": { "command": "/path/to/cedardiff/build/index.js" } } }

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

ESモジュールの移行

プロジェクトはESモジュールを使用するように移行されました。主な変更点は次のとおりです。

  • package.json"type": "module"を追加しました
  • "module": "ESNext"を使用するようにtsconfig.json更新しました
  • インポート/エクスポート文をESモジュール構文に変換しました
  • ESモジュールと互換性があるように型定義を更新しました

互換性に関する注意事項

  • Node.jsバージョン12以上を使用していることを確認してください
  • モジュールのインポートにはrequire()の代わりにimportを使用する
  • ローカルファイルをインポートするときに.js拡張子を使用する
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

コード操作用の SQL のような言語である CEDARScript を実装します。

  1. 特徴
    1. 文法
    2. ツール
    3. 実施状況
  2. 発達
    1. インストール
      1. デバッグ
    2. ESモジュールの移行
      1. 互換性に関する注意事項

    Related MCP Servers

    • A
      security
      F
      license
      A
      quality
      Enables interaction with the Metal Framework by providing documentation search and code generation capabilities using natural language queries.
      Last updated -
      2
      2
      TypeScript
    • -
      security
      F
      license
      -
      quality
      A natural language interface that allows Claude to execute SQL queries on your local MySQL databases, enabling database interaction using natural language.
      Last updated -
      2
      Python
      • Linux
      • Apple
    • A
      security
      A
      license
      A
      quality
      A fully featured coding agent that uses symbolic operations (enabled by language servers) and works well even in large code bases. Essentially a free to use alternative to Cursor and Windsurf Agents, Cline, Roo Code and others.
      Last updated -
      33
      1,240
      Python
      MIT License
      • Apple
    • A
      security
      A
      license
      A
      quality
      An MCP server that allows integration with Nia's codebase understanding capabilities through function calling in tools like Cursor and Claude Desktop, enabling users to analyze project structure and search codebases via natural language queries.
      Last updated -
      1
      86
      3
      JavaScript
      MIT License

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/th3w1zard1/cedarscript-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server