gram
by speakeasy-api·★ 233·综合分 49
Gram 是一个使用 TypeScript SDK 和 OpenAPI 支持,用于创建、管理和托管 MCP 服务器的平台。
概述
Gram 提供了一个全面的解决方案,用于在组织范围内构建、保护和监控 MCP 服务器。它使开发人员能够使用 TypeScript 创建自定义工具,或将现有的 OpenAPI 文档转换为 MCP 工具。该平台提供 OAuth 支持、工具组合功能和统一控制平面,用于大规模管理 MCP 服务器。Gram 的 TypeScript SDK 简化了开发过程,同时确保符合 MCP 规范。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要大规模创建和托管 MCP 服务器的管理平台时,选择 Gram,特别是如果您已经在使用 TypeScript 或 OpenAPI 规范。
什么时候不要选它
如果您偏好自托管解决方案而不希望厂商锁定,或者只需要简单的 MCP 服务器实现而不需要额外的平台功能,应避免使用 Gram。
此 server 暴露的工具
从 README 抽取出 1 个工具addAdd two numbers together
说明:Only one example tool (add) was found in the documentation. This appears to be a default example rather than a comprehensive list of all available tools. The actual tools exposed would depend on the TypeScript code or OpenAPI specs deployed
可对比工具
安装
安装 Gram CLI:
curl -fsSL https://go.getgram.ai/cli.sh | bash创建新的 Gram 函数:
npm create @gram-ai/function@latest
cd my_function
npm run build
npm run push在 Claude Desktop 中使用,添加到 config.json:
{
"mcpServers": {
"gram": {
"command": "npx",
"args": ["@gram-ai/function"]
}
}
}FAQ
- Gram 是什么?
- Gram 是一个平台,用于轻松创建、管理和托管模型上下文协议 (MCP) 服务器,支持 OpenAPI 文档和自定义 TypeScript 函数。
- 如何开始使用 Gram?
- 您可以在 https://app.getgram.ai/ 注册,使用 'gram auth' 命令通过 CLI 登录,或使用 'npm create @gram-ai/function@latest' 创建新函数。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by marclave · 2025-09-09
gram 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。