augments-mcp-server
by augmnt·★ 122·综合分 49
全面的 MCP 服务器,为任何 npm 包提供实时文档访问,具有智能搜索和上下文感知格式化功能。
概述
Augments MCP 服务器是一个通过模型上下文协议提供框架文档访问的复杂工具。它提供了 8 个强大的工具,包括文档优先的 BM25 搜索、版本比较、错误诊断和依赖扫描。该服务器通过多源集成(包括 TypeScript 类型、GitHub 文档和 README 内容)开箱即用地支持任何 npm 包。其上下文感知的格式化会根据查询类型(如何使用、参考、迁移)调整响应结构,使其对不同用户需求高度适应。架构包括可靠性功能,如指数退避、断路器和 LRU 缓存。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要全面的 npm 生态系统文档访问,具有智能搜索和上下文感知格式化功能时,尤其是在处理不熟悉的包或在版本之间迁移时,选择 augments。
什么时候不要选它
如果您只需要经过精选的包文档或偏好离线访问,请不要选择 augments,因为它依赖于从 npm 和 GitHub 的实时获取。
此 server 暴露的工具
从 README 抽取出 8 个工具get_api_contextReturns API signatures, prose documentation, and code examples for any npm package.
search_apisSearch for APIs across frameworks by keyword or concept with synonym awareness.
get_version_infoGet npm version info, compare versions, and detect breaking changes.
get_migration_guideCross-version migration guide with breaking changes and deprecations.
diagnose_errorDiagnose errors using curated patterns and GitHub Issues.
compare_packagesCompare 2-5 npm packages by downloads, bundle size, and dependencies.
scan_project_depsScan package.json for outdated, deprecated, and insecure dependencies.
diagnosticsServer health: version, uptime, memory, cache stats, Node.js version.
可对比工具
安装
Claude Code
# 添加 MCP 服务器(通过 npx 本地运行)
claude mcp add -s user augments -- npx -y @augmnt-sh/augments-mcp-server
# 验证配置
claude mcp listCursor
添加到您的 MCP 配置中:
{
"mcpServers": {
"augments": {
"command": "npx",
"args": ["-y", "@augmnt-sh/augments-mcp-server"]
}
}
}环境变量
设置 GITHUB_TOKEN 以获得更高的 GitHub API 速率限制:
{
"mcpServers": {
"augments": {
"command": "npx",
"args": ["-y", "@augmnt-sh/augments-mcp-server"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}FAQ
- Augments 支持哪些包?
- Augments 支持任何 npm 包(约 250 万个),通过自动发现来自 GitHub 仓库、TypeScript 类型和 README 文件等来源的文档。
- 它如何处理不同类型的查询?
- 它使用上下文感知的格式化,根据查询意图调整响应结构 - '如何使用' 查询优先显示示例,'参考' 查询优先显示签名,'迁移' 查询优先显示说明文本。
augments-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。