- Emacs MCP Server
what is Emacs MCP Server?
Emacs MCP Server is a Model Context Protocol (MCP) server designed for Emacs, enabling the generation and execution of elisp code within a running Emacs process.
how to use Emacs MCP Server?
To use the Emacs MCP Server, first install the necessary dependencies using uv sync, then activate the virtual environment with source .venv/bin/activate. You can run the server in the inspector with mcp dev emacs_mcp_server.py or install it for use with Claude Desktop by editing the JSON config in claude_desktop_config.json.
key features of Emacs MCP Server?
- Generates elisp code for specified tasks.
- Executes elisp code in a running Emacs process via
emacsclient.
use cases of Emacs MCP Server?
- Automating repetitive tasks in Emacs using generated elisp code.
- Running custom elisp scripts in a live Emacs environment.
FAQ from Emacs MCP Server?
- What is elisp?
Elisp is the Emacs Lisp programming language used for scripting and extending Emacs functionality.
- How do I install the Emacs MCP Server?
You can install it by running
mcp install emacs_mcp_server.pyafter setting up your environment.
- Do I need to configure anything after installation?
Yes, you need to edit the
claude_desktop_config.jsonto include API keys and the path toemacsclient.