CA

cl-ai-project/cl-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

90 stars 20 forks 품질 81 트렌드 35MIT

cl-ai-project/cl-mcp는 MCP 서버 후보자로 https://github.com/cl-ai-project/cl-mcp.에서 수입

개요

cl-ai-project/cl-mcp는 MCP 서버 후보자로 https://github.com/cl-ai-project/cl-mcp.에서 수입

개요(AI 번역)

Common Lisp의 모델 Context Protocol (MCP) 서버, JSON-RPC 2.0 제공 stdio, TCP 및 HTTP (Streamable HTTP) 이상. AI 에이전트가 상호 작용합니다. REPL 평가를 위한 구조화된 도구를 통한 Common Lisp 환경 시스템 로딩, 파일 작업, 코드 인트로픽션 및 구조 인식 편집.

특징

  • REPL은 객체 검사와 평가 - 복잡한 결과 (CLOS 인스턴스, hash-tables, etc.)로 드릴 및 스택 프레임 및 로컬 변수와 구조화된 오류 컨텍스트를 캡처합니다. -Sandboxed file operations — 프로젝트 루트 및 ASDF 시스템 소스 디렉토리에 제한된 read/write/list 파일, 프로젝트 외부의 실수 접근 방지
  • **Structure-aware Lisp 편집 ** - 자동 패인퍼 수리, 보존 포맷 및 코멘트를 사용하여 대체, 삽입 및 패치 최상위 양식 -Code Intelligence — symbol lookup and description; 그들의 정확한 전화 사이트와 그 운동 테스트와 호출; CLOS 클래스 계층 구조, 슬롯 및 일반 기능 방법; 그것의 파일에서 양식의 매크로expansion; Lisp-aware search and file viewing with 붕괴 된 서명; CLHS 조회

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

cl-mcp

A Model Context Protocol (MCP) server for Common Lisp, providing JSON-RPC 2.0 over stdio, TCP, and HTTP (Streamable HTTP). It enables AI agents to interact with Common Lisp environments through structured tools for REPL evaluation, system loading, file operations, code introspection, and structure-aware editing.

Features

  • REPL evaluation with object inspection — evaluate forms, drill down into complex results (CLOS instances, hash-tables, etc.), and capture structured error context with stack frames and local variables
  • Sandboxed file operations — read/write/list files restricted to the project root and ASDF system source directories, preventing accidental access outside the project
  • Structure-aware Lisp editing — replace, insert, and patch top-level forms using Eclector CST parsing with automatic parinfer repair, preserving formatting and comments
  • Code intelligence — symbol lookup and description; callers with their exact call sites and the tests that exercise them; CLOS class hierarchies, slots and generic-function methods; macroexpansion of a form straight from its file; Lisp-aware search and file viewing with collapsed signatures; CLHS lookup
  • Structured test runner — run Rove, FiveAM and prove tests with pass/fail counts, failure details, and source locations
  • Worker pool isolation — eval-dependent tools run in isolated child SBCL processes with automatic crash recovery, circuit breaker, and per-session affinity; an optional init hook can start your app inside the worker
  • Three transports — stdio, TCP (multi-client), and Streamable HTTP (for Claude Code)
  • Project scaffolding — generate a throwaway package-inferred project with Rove or FiveAM tests
  • Optional contract checking — the cl-spec tool group (off by default) lists, reads and checks cl-spec contracts; see Optional tool groups

Tools at a glance

Category Tool Purpose Runs in
Project & files fs-set-project-root Set this session’s project root parent (the worker follows)
fs-get-project-info Show the root and working directory parent
fs-read-file / fs-write-file / fs-list-directory Text I/O inside the allowed roots parent
project-scaffold Generate a new project skeleton parent
Lisp source lisp-read-file Collapsed or pattern-expanded view of a file parent
lisp-edit-form / lisp-patch-form Replace, insert or delete a top-level form; scoped text patch parent
GitHub에서 전체 README 보기

설치

docker run --rm -it \
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "cl-mcp": { "type": "http", "url": "http://127.0.0.1:3000/mcp" } } }