mcp.el

MCP.Pizza Chef: lizqwerscott

Emacs users who chat with a model through gptel or llm can wire in MCP servers with this package: file access, web fetching, search, or anything else that speaks the protocol. A hub view lists every configured server, so you can start, stop, restart, or check logs on any of them without leaving the editor. Servers are declared in your init file, either as a command to run locally or as a web address. It needs Emacs 30 or newer and installs from MELPA.

Coding
Files/PDF

Use This MCP client To

Let my Emacs assistant read files in a chosen folder Start and stop my tool servers from inside Emacs Fetch a web page into a chat without leaving the editor Check why a tool server failed by reading its log Limit which folders a tool server is allowed to touch

README

MCP.el - Model Context Protocol for Emacs

https://melpa.org/packages/mcp-badge.svg https://img.shields.io/badge/License-GPLv3-blue.svg

This is an Emacs client for interfacing with MCP, supporting connections to MCP servers.

Features

  • Structured communication with MCP servers
  • Support for filesystem and generic MCP servers
  • Extensible tool and prompt system
  • Asynchronous and synchronous operations
  • Resource management capabilities
  • Intuitive interface for managing server lifecycle (start/stop/restart)
  • Integration with popular Emacs packages (e.g., gptel, llm)

Installation

Need Emacs 30 or higher version

mcp.el FAQ

Do I need to be an Emacs user?
Yes. This is an Emacs package and has no use outside the editor.
What version of Emacs is required?
Emacs 30 or newer, and it installs from MELPA like any other package.
Does it chat with a model on its own?
No. It supplies the tools, and you pair it with gptel or the llm package for the conversation itself.
Can I use this to give my assistant access to just one project folder?
Yes. You list the folders a server may use, and you can add or remove them while it is running.
Do I need a key?
Not for the package itself. Individual servers you connect may need their own sign-in details.
How much setup is there?
You paste a short block into your Emacs configuration listing the servers you want, then start them from the hub view.
Is it still maintained?
Yes. The code was updated in June 2026.