用于模型上下文协议(MCP)的跨平台C SDK,采用现代🚀 C23。
概览
mcpc 是一个现代 C 语言的 M odel C ontext P rotocol 库。其主要目标包括: - 提供低层基础设施与AI模型之间的桥梁- 探索C语言的最大能力 注:本表大致显示了部分平台上的支持状态,欲了解更多信息,请查看现代C支持。 由于mcpc声称用最现代的C语言实现所有内容,其构建过程与许多现有构建系统或流程略有不同,主要区别在于:**我们尽量支持尽可能多的C编译器,即使是在一个平台上**。 理想情况下,mcpc应完全在C23(目前最新的标准)中实现,但如果某个平台缺少完整的C23,我们要么降级C标准,要么放弃支持。 这种方法确实有一些好处和后果: 1. 该库可以在尽可能多的平台上启动,并能被尽可能多的C编译器编译。2.
概述(AI 翻译)
- 概述
- MCP 功能
- 支持平台
- 现代C支持系统
- 建筑
- 发展
- 常见问题解答
- 许可证
概述
mcpc 是一个现代 C 语言的 M odel C ontext P rotocol 库。其主要目标包括:
- 提供低层基础设施之间最本土的桥梁 以及人工智能模型
- 探索最新 C 语言的最大能力
MCP特色
特色 服务器 客户
工具 ✅ 🔨
资源 ✅ 🔨
提示 ✅ 🔨
完工 ✅ 🔨
STDIO交通 ✅ 🔨
HTTP 传输 🔨 🔨
其他 🔨 🔨
支持平台
Linux 窗户 macOS
Linux ✅ ✅ ✅
注:下表大致显示了部分平台的支持状态, 如需更详细信息,请查看现代C支持。
现代C支持声
因为mcpc声称所有内容都用最现代的C语言实现 有可能,它的建造过程会与许多不同 现有建筑系统或工艺,主要 区别在于:我们尽量支持尽可能多的C编译器, 甚至在一个平台上。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Table of Contents
Overview
mcpc is a Model Context Protocol library in modern C. Its major goals are:
- Provide the most native bridge between low-level infrastructure and AI models
- Explore the maximum capability of the most recent C programming language
MCP Features
Supported Platforms
Note: this table roughly shows the state of supporting on some platforms, for more detailed information, check the Modern C Support.
Modern C Support
Since mcpc claims to implement everything with the most modern C possible, its building process becomes a little different than many existing building systems or process, the major difference is that: we try to support as many C compilers as possible, even on one platform.
Ideally mcpc will be implemented fully in C23(currently the newest standard), but if a full C23 is missing on a platform, we either downgrade the C standard, or give up the support.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →