40ANTS-MCP 是一个用于在 Common Lisp 中构建模型上下文协议服务器的框架
概览
* 描述:构建 Common Lisp 中 MCP 服务器和客户端的框架。* 许可证:Unlicense * 作者:Alexander Artemenko * 主页:https://40ants.com/mcp/ * 错误追踪器:https://github.com/40ants/mcp/issues * 源代码控制:GIT * 依赖于:alexandria、bordeaux-threads、cl-ppcre、clack、clack-sse、jsonrpc、lack、lack-request、lack-response、local-time、log4cl、log4cl-extras、openrpc-client、openrpc-server、sento、serapeum、sse-server、trivial-gray-streams、uuid、yason 一个用于在 Common Lisp 中构建模型上下文协议(MCP)服务器的全面框架。该库提供了完整的 MCP 规范实现,并提供了一个易于使用的 API,用于创建能够与 Claude Desktop 等 AI 助手交互的服务器。
概述(AI 翻译)
40ANTS-MCP ASDF 系统详情
- 描述:用于在 Common Lisp 中构建
MCP服务器和客户端的框架。 - 许可证:无证
- 作者:亚历山大·阿尔捷门科
- 主页:[https://40ants.com/mcp/][7318]
- 虫子追踪器:[https://github.com/40ants/mcp/issues][6ed2]
- 源代码控制:[GIT][e31f]
- 依赖于:[alexandria][8236], [bordeaux-threads][3dbf], [cl-ppcre][49b9], [clack][482d], [clack-sse][b0a4], [jsonrpc][a9bd], [lack][63d7], [lack-request][6a02], [lack-response][521b], [local-time][46a1], [log4cl][7f8b], [log4cl-extras][691c], [openrpc-client][b8fd], [openrpc-server][c8e7], [sento][626d], [serapeum][c41d], [sse-server][0027], [trivial-gray-streams][588d], [uuid][d6b3], [yason][aba2]
[ ][04f0]
关于
一个用于构建 Common Lisp 中[模型上下文协议(MCP)][473e] 服务器的综合框架。该库提供了完整的 MCP 规范实现,并配有易于使用的 API,用于创建能够与 AI 助手如 Claude Desktop 交互的服务器。
开发仍在进行中,界面可能会发生变化。
特色
- ✅
STDIO传输:原生支持STDIO] 通信
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
40ants-mcp - The framework for building MCP servers and clients in Common Lisp.
40ANTS-MCP ASDF System Details
- Description: The framework for building
MCPservers and clients in Common Lisp. - Licence: Unlicense
- Author: Alexander Artemenko
- Homepage: [https://40ants.com/mcp/][7318]
- Bug tracker: [https://github.com/40ants/mcp/issues][6ed2]
- Source control: [GIT][e31f]
- Depends on: [alexandria][8236], [bordeaux-threads][3dbf], [cl-ppcre][49b9], [clack][482d], [clack-sse][b0a4], [jsonrpc][a9bd], [lack][63d7], [lack-request][6a02], [lack-response][521b], [local-time][46a1], [log4cl][7f8b], [log4cl-extras][691c], [openrpc-client][b8fd], [openrpc-server][c8e7], [sento][626d], [serapeum][c41d], [sse-server][0027], [trivial-gray-streams][588d], [uuid][d6b3], [yason][aba2]
[][04f0]
About
A comprehensive framework for building [Model Context Protocol (MCP)][473e] servers in Common Lisp. This library provides a complete implementation of the MCP specification with an easy-to-use API for creating servers that can interact with AI assistants like Claude Desktop.
Active development is ongoing and the interface is likely to change.
Features
- ✅
STDIOTransport: Native support forSTDIO-based communication - ✅ Streamable
HTTPTransport: Allowing to create remotely hostedMCPservers - ✅ Tools System: Register and execute custom tools with
JSONSchema validation - ✅ Built on Open
RPC: Leverages the robust [40ants OpenRPC library][348e] - ✅
CLOS-based: Object-oriented design with proper encapsulation - ✅ Easy Integration: Simple
APIfor adding functionality - ✅ Error Handling: Comprehensive error management with proper
JSON-RPCerror codes - ✅ Interactive Editing:
MCPtools can be edited and updated on the fly, usingREPLdriven approach
Roadmap
- 🔄 Full
MCPSpecification Support: Complete implementation ofMCPprotocol version 2025-06-18 - 🔄 Resources System: Serve dynamic and static resources via
URI - 🔄 Prompts System: Provide prompt templates with argument interpolation
- 🔄
MCPClient Protocol: Implement client-side protocol for connecting toMCPservers
Installation
You can install this library from Quicklisp, but you want to receive updates quickly, then install it from Ultralisp.org:
(ql-dist:install-dist "http://dist.ultralisp.org/"
:prompt nil)
(ql:quickload :40ants-mcp)
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →