4M

40ants/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

56 stars 9 forks 质量 50 趋势 21

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 MCP servers 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

  • ✅ STDIO Transport: Native support for STDIO-based communication
  • ✅ StreamableHTTP Transport: Allowing to create remotely hosted MCP servers
  • ✅ Tools System: Register and execute custom tools with JSON Schema validation
  • ✅ Built on OpenRPC: Leverages the robust [40ants OpenRPC library][348e]
  • ✅ CLOS-based: Object-oriented design with proper encapsulation
  • ✅ Easy Integration: Simple API for adding functionality
  • ✅ Error Handling: Comprehensive error management with proper JSON-RPC error codes
  • ✅ Interactive Editing: MCP tools can be edited and updated on the fly, using REPL driven approach

Roadmap

  • 🔄 Full MCP Specification Support: Complete implementation of MCP protocol version 2025-06-18
  • 🔄 Resources System: Serve dynamic and static resources via URI
  • 🔄 Prompts System: Provide prompt templates with argument interpolation
  • 🔄 MCP Client Protocol: Implement client-side protocol for connecting to MCP servers

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)
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →