Emacs MCP Server
Emacs MCP 서버
Emacs용 모델 컨텍스트 프로토콜(MCP) 서버입니다. 실행 중인 Emacs 프로세스에서 elisp 코드를 생성하고 실행할 수 있도록 합니다.
도구
서버는 두 가지 도구를 제공합니다.
generate_emacs_lisp_code: 주어진 작업에 대한 elisp를 생성합니다.execute_emacs_lisp_code: 실행 중인 Emacs에 elisp를 전달하여(emacsclient를 통해) 평가하고 실행합니다.
Related MCP server: MCP Toolkit
기도
이 프로젝트는 uv 로 관리됩니다. 먼저 uv sync 실행하여 모든 종속성을 설치합니다. 그런 다음 source .venv/bin/activate 생성된 venv를 활성화합니다.
검사기에서 MCP 서버를 실행하려면:
지엑스피1
Claude Desktop에서 MCP 서버를 사용할 수 있도록 설치하려면:
mcp install emacs_mcp_server.py하지만 API 키와 emacsclient 의 전체 경로를 포함하도록 claude_desktop_config.json 파일의 JSON 구성을 편집해야 합니다. 다음과 같은 형태가 될 것입니다.
"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"
}
}Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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