emacs-mcp-server

keegancsmith/emacs-mcp-server

3.4

If you are the rightful owner of emacs-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Emacs MCP Server is a tool that allows language models to interact with Emacs through `emacsclient --eval` commands, enabling them to view and manipulate the current state of Emacs.

Tools

Functions exposed to the LLM to take actions

emacs_eval

Evaluate a Lisp expression in the currently visible Emacs buffer and return the result. Many Emacs Lisp expressions mutate state in Emacs and simply return 't' to indicate success rather than returning the changed state. After executing expressions that may change state, use emacs_get_context or emacs_get_visible_text to check the resulting state changes.

emacs_get_visible_text

Get the text content currently visible in the active Emacs window

emacs_get_context

Get contextual information about the currently visible Emacs buffer (name, mode, point position, etc)

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources