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" } }
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.

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

  1. ツール
    1. 呼び出し

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A demonstration implementation of the Model Context Protocol server that facilitates communication between AI models and external tools while maintaining context awareness.
        Last updated -
        Python
        • Linux
        • Apple
      • -
        security
        F
        license
        -
        quality
        A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
        Last updated -
        3
        1
        TypeScript
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enables integration with the TESS API, allowing users to list and manage agents, execute agents with custom messages, and manage files through natural language interfaces.
        Last updated -
        TypeScript
      • A
        security
        A
        license
        A
        quality
        An implementation of the Model Context Protocol server that enables AI models to communicate with Edge Security Acceleration (ESA) services, allowing models to manage routines, deployments, routes, records, and sites through standardized protocols.
        Last updated -
        19
        720
        24
        TypeScript
        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/vivekhaldar/emacs-mcp-server'

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