
lizqwerscott/mcp.el
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Emacs 내부의 Mcp 클라이언트
개요
[https://melpa.org/#/mcp] [https://www.gnu.org/licenses/gpl-3.0] 이 클라이언트는 MCP 서버 연결을 지원하는 [https://modelcontextprotocol.io/introduction],와 인터페이스하기 위한 Emacs 클라이언트입니다. * 기능 - MCP 서버와의 구조화된 통신 - 파일 시스템 및 일반 MCP 서버 지원 - 확장 가능한 도구 및 프롬프트 시스템 - 비동기 및 동기식 작업 - 자원 관리 기능 - 서버 수명 주기 관리(시작/중지/재시작)를 위한 직관적인 인터페이스 - 인기 있는 Emacs 패키지(예: gptel, llm)와의 통합 * 설치는 Emacs 30 이상 버전 필요 (use-package mcp :ensure t :after gptel :custom (mcp-hub-servers '(("filesystem" . (:command "npx" :args ("-y" "@modelcontextprotocol/server-filesystem") :roots ("/home/lizqwer/MyProject/")) ("fetch" . (:command "uvx" :args ("mcp-server-fetch")) ("qdrant" . (:URL "http://localhost:8000/sse")) ("graphlit" .
개요(AI 번역)
#+제목: MCP.el - Emacs용 모델 컨텍스트 프로토콜
[[https://melpa.org/#/mcp][file:https://melpa.org/packages/mcp-badge.svg]] [[https://www.gnu.org/licenses/gpl-3.0][https://img.shields.io/badge/License-GPLv3-blue.svg]]
이것은 MCP 서버 연결을 지원하는 [[[https://modelcontextprotocol.io/introduction][MCP]],와 인터페이스하는 Emacs 클라이언트입니다.
- 특징
- MCP 서버와의 구조화된 통신
- 파일 시스템 및 일반 MCP 서버 지원
- 확장 가능한 도구 및 프롬프트 시스템
- 비동기 및 동기식 연산
- 자원 관리 기능
- 서버 수명 주기 관리를 위한 직관적인 인터페이스(시작/중지/재시작)
- 인기 있는 Emacs 패키지(예: gptel, llm)와의 통합
- 설치
Emacs 30 이상 버전이 필요합니다
#+begin_src 엘리프
(use-package mcp
:ensure t
:Gptel 이후
:custom (mcp-hub-servers
'((“filesystem” . (:command “npx”
:args (“-y” “@modelcontextprotocol/서버-filesystem”) :roots (“/home/lizqwer/MyProject/”)) (“fetch”. (:command “uvx” :args (“mcp-server-fetch”))) (“qdrant”. (:url “http://localhost:8000/sse”)) (“그래플릿” ( :command “npx” :args (“-y” “graphlit-mcp-server”) :env (
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
#+TITLE: MCP.el - Model Context Protocol for Emacs
[[https://melpa.org/#/mcp][file:https://melpa.org/packages/mcp-badge.svg]] [[https://www.gnu.org/licenses/gpl-3.0][https://img.shields.io/badge/License-GPLv3-blue.svg]]
This is an Emacs client for interfacing with [[https://modelcontextprotocol.io/introduction][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 #+begin_src elisp (use-package mcp :ensure t :after gptel :custom (mcp-hub-servers `((“filesystem” . (:command “npx” :args (“-y” “@modelcontextprotocol/server-filesystem”) :roots (“/home/lizqwer/MyProject/”))) (“fetch” . (:command “uvx” :args (“mcp-server-fetch”))) (“qdrant” . (:url “http://localhost:8000/sse”)) (“graphlit” . ( :command “npx” :args (“-y” “graphlit-mcp-server”) :env ( :GRAPHLIT_ORGANIZATION_ID “your-organization-id” :GRAPHLIT_ENVIRONMENT_ID “your-environment-id” :GRAPHLIT_JWT_SECRET “your-jwt-secret”))))) :config (require 'mcp-hub) :hook (after-init . mcp-hub-start-all-server)) #+end_src
- Usage ** Mcp hub *** Configuring MCP Servers #+begin_src elisp (setq mcp-hub-servers '((“filesystem” . (:command “npx” :args (“-y” “@modelcontextprotocol/server-filesystem”) :roots (“/home/lizqwer/MyProject/”))) (“fetch” . (:command “uvx” :args (“mcp-server-fetch”))) (“qdrant” . (:url “http://localhost:8000/sse”)) (“graphlit” . ( :command “npx” :args (“-y” “graphlit-mcp-server”) :env ( :GRAPHLIT_ORGANIZATION_ID “your-organization-id” :GRAPHLIT_ENVIRONMENT_ID “your-environment-id” :GRAPHLIT_JWT_SECRET “your-jwt-secret”))))) #+end_src You can use =mcp-hub-start-all-server= to start all MCP servers, such as launching all MCP servers after starting Emacs. #+begin_src elisp (add-hook 'after-init-hook #'mcp-hub-start-all-server) #+end_src *** Managing MCP Servers Use =mcp-hub= to launch the server management interface, which will automatically start all configured MCP servers.
#+html:
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →