Skip to main content
Glama

Emacs MCP Server

by vivekhaldar

Emacs MCPサーバー

Emacs用のModel Context Protocol(MCP)サーバー。実行中のEmacsプロセス内でelispコードを生成および実行できるようにします。

ツール

サーバーは 2 つのツールを公開します。

  • generate_emacs_lisp_code : 指定されたタスクのelispを生成する
  • execute_emacs_lisp_code : elisp を実行中の Emacs ( emacsclient経由) に渡して評価し、実行します。

呼び出し

このプロジェクトはuvで管理されています。まず、 uv syncを実行してすべての依存関係をインストールします。次に、 source .venv/bin/activate 、生成された venv をアクティベートします。

インスペクターで MCP サーバーを実行するには:

mcp dev emacs_mcp_server.py

Claude Desktop が使用できるように MCP サーバーをインストールするには:

mcp install emacs_mcp_server.py

ただし、 claude_desktop_config.json内のJSON設定を編集して、APIキーとemacsclientへのフルパスを追加する必要があります。以下のようになります。

"Emacs-MCP-Server": { "command": "/Users/haldar/.local/bin/uv", "args": [ "run", "--with", "mcp[cli]", "--with", "smartfunc", "mcp", "run", "/Users/haldar/repos/gh/emacs-mcp-server/emacs_mcp_server.py" ], "env": { "OPENAI_API_KEY": "sk-xxxx", "EMACSCLIENT": "/your/path/to/emacsclient" } }
-
security - not tested
-
license - not tested
-
quality - not tested

local-only server

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

実行中の Emacs プロセスで Elisp コードを生成および実行し、AI アシスタントが Emacs を制御および対話できるようにするモデル コンテキスト プロトコル サーバー。

  1. ツール
    1. 呼び出し

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.
        Last updated -
        1
        3
        18
        JavaScript
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enables AI assistants like Claude to perform Python development tasks through file operations, code analysis, project management, and safe code execution.
        Last updated -
        1
        Python
        • Linux
        • Apple
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that bridges AI assistants like Claude with Wordware's specialized agent capabilities, allowing dynamic loading and access to any Wordware flow through a standardized interface.
        Last updated -
        Python
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol server implementation that provides structured, AI-friendly access to eRegulations data, making it easier for AI models to answer user questions about administrative procedures.
        Last updated -
        4
        19
        TypeScript
        • Linux
        • Apple

      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/vivekhaldar/emacs-mcp-server'

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