agentscore-mcp-server
@agentscore-xyz/mcp-server
MCP 安全信任层。扫描包、获取信任判定、检查整个仓库的 MCP 依赖项、生成策略门控设置、直接安装 CI 工作流、检查事件暴露情况并查询滥用数据库。八种用于 MCP 安全决策的工具。无需 API 密钥,零配置。
扫描任何 MCP 包以查找安全问题: agentscores.xyz
快速开始
Claude Desktop
添加到你的 claude_desktop_config.json:
{
"mcpServers": {
"agentscore": {
"command": "npx",
"args": ["-y", "@agentscore-xyz/mcp-server"]
}
}
}Cursor / 任何 MCP 客户端
npx @agentscore-xyz/mcp-serverRelated MCP server: MCP Trust Layer
此工具的功能
你的 AI 现在可以针对 MCP 包做出安全决策:
你: "exa-mcp-server 可以安全安装吗?"
Claude: 调用 get_verdict "判定:允许。评分 90/100,低风险。无来源证明(由个人账户发布)。暴露了 9 个工具,包括 web_search_exa 和 crawling_exa。"
你: "axios 包被攻破了。哪些 MCP 服务器受到影响?"
Claude: 调用 check_exposure "多个受监控的 MCP 服务器依赖于 axios,包括 exa-mcp-server、tavily-mcp 和 figma-mcp。"
你: "扫描 @azure-devops/mcp 以查找安全问题"
Claude: 调用 scan_package "评分 75/100,中等风险。发现:修改 npm 注册表配置的预安装脚本。无来源证明。"
你: "检查此仓库的 MCP 依赖项"
Claude: 调用 check_my_repo "发现 MCP 依赖项:5 个。其中两个有警告。运行 generate_policy_gate_setup 将这些检查转换为 CI 门控。"
你: "为此仓库设置 AgentScore 策略门控"
Claude: 调用 install_policy_gate "工作流文件已写入
.github/workflows/agentscore-policy-gate.yml。提交并推送。GitHub OIDC 将在首次运行时自动配置仓库。"
可用工具
工具 | 功能 |
| 全面安全扫描:安装脚本、提示词注入、源代码模式、来源状态、MCP 工具提取 |
| 信任决策:根据扫描结果允许、警告或阻止。同时报告监控状态和发布者状态。 |
| 检查当前仓库的 MCP 依赖项,并汇总本地检测到的每个包的判定结果。 |
| 生成在 CI 中强制执行策略门控所需的基于 OIDC 的 GitHub Actions 工作流。 |
| 直接将 |
| 事件响应:哪些受监控的 MCP 服务器依赖于给定的包? |
| 查询 KYA 滥用数据库以获取已报告的包或代理 |
| 检查包是否处于持续监控状态并获取扫描历史记录 |
从临时扫描到 CI 强制执行
该 MCP 服务器现在将一次性包检查连接到持久化产品中:
运行
check_my_repo查看仓库中使用的每个 MCP 包。运行
generate_policy_gate_setup预览基于 OIDC 的 GitHub Actions 工作流。运行
install_policy_gate将工作流文件直接写入仓库。提交并推送。首次运行通过 GitHub OIDC 自动配置。
这会将“这个包安全吗?”转变为“此仓库现在在每个 PR 上强制执行 MCP 依赖策略”。
风险等级
评分 | 风险 | 含义 |
85-100 | 低 | 干净或仅有轻微问题 |
70-84 | 中等 | 有一些发现,建议审查 |
50-69 | 较高 | 有重大发现,请谨慎使用 |
30-49 | 高 | 严重问题,不建议使用 |
0-29 | 极高 | 请勿使用 |
扫描器检查内容
安装脚本(带有网络调用或代码执行的 postinstall/preinstall 钩子)
包元数据中的提示词注入模式
可疑 URL(可疑 TLD、ngrok、原始 IP)
源代码模式(命令注入、不安全的 eval、硬编码密钥)
发布者来源(受信任的发布、证明)
依赖项数量和元数据完整性
从已发布源代码中提取的 MCP 工具定义
监控
AgentScore 持续监控数百个 MCP 包。check_exposure 和 monitor_status 工具使用此实时数据集。当像 axios 这样的包被攻破时,你可以立即找到哪些 MCP 服务器受到影响。
链接
网站: agentscores.xyz
API 文档: agentscores.xyz/docs
许可证
MIT
Available Tools
8 toolscheck_abuseA
Check if a package or agent has been reported to the KYA abuse database. Returns whether abuse has been reported and any details.
Inputs: agent (required).
check_exposureA
Check which monitored MCP servers depend on a given package. Use this during incident response to find blast radius. Example: 'which MCP servers use axios?'
Inputs: npm (required).
check_my_repoA
Inspect the current repo for MCP dependencies, look up AgentScore verdicts for each package, and summarise what should be gated in CI. Use this when a developer wants to understand all MCP packages in a repo instead of scanning one package at a time.
Inputs: path.
generate_policy_gate_setupA
Generate the exact GitHub Actions workflow needed to enforce AgentScore Policy Gate for a repo. Detects MCP dependencies locally and returns the OIDC-based YAML needed for setup. No API key or secret is required.
Inputs: path, repo_url.
get_verdictA
Get a trust verdict for an MCP package: allow, warn, or block. Based on scan findings (score and severity). Also reports monitoring status and publisher posture. Use this before installing or connecting to an MCP server.
Inputs: npm (required).
install_policy_gateA
Write the AgentScore Policy Gate workflow file to this repo. Creates .github/workflows/agentscore-policy-gate.yml with OIDC authentication (no API key needed). Detects MCP dependencies and includes them in the workflow. The gate will auto-provision the repo on first push.
Inputs: path, repo_url.
monitor_statusA
Check if an MCP package is under continuous monitoring and get its scan history. Shows current score, risk level, and recent changes.
Inputs: npm (required).
scan_packageA
Scan an npm package for MCP security issues. Checks install scripts, prompt injection patterns, suspicious URLs, source code patterns, dependency count, metadata completeness, and publisher provenance. Returns score (0-100), risk level, and detailed findings.
Inputs: npm (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes: scanning, checking verdicts, monitoring, policy enforcement, etc. However, 'install_policy_gate' and 'generate_policy_gate_setup' are closely related (generate vs write workflow), which could cause misselection. Also, 'check_abuse' and 'get_verdict' both return trust-related info but from different sources, which is fine.
Tools use a consistent verb_noun pattern: check_abuse, check_exposure, generate_policy_gate_setup, etc. The only minor inconsistency is 'install_policy_gate' where 'install' could be seen as more specific than 'generate', but still follows the pattern. No mixing of camelCase or other styles.
8 tools is appropriate for an MCP package security server. Each tool covers a core function: scanning, verdict, monitoring, abuse check, exposure analysis, repo check, and policy gate generation/installation. Neither too few nor too many.
The tool set covers key lifecycle operations: scan, get verdict, monitor, check abuse, check exposure, and policy enforcement (generate+install). Missing tools could include updating a verdict or removing a policy gate, but the core workflow is well-covered.
Maintenance
Related MCP Connectors
Free MCP security tools for AI coding agents. Check npm/PyPI package versions, identify known OSV vulnerabilities, compare with the latest releases, and review up to 3 dependencies before deployment.
Supply chain risk scoring for npm, PyPI, Cargo, and Go. 9 tools. Behavioral signals.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
Watch MCP tools, package publishers and domains. Free catalog; paid continuing checks.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP security server for AI coding agents. 12 tools: pre-install guardian, vulnerability audit, supply-chain attack detection via static code analysis, and CycloneDX 1.6 SBOM generation. Zero runtime dependencies.1594 npm15Apache 2.0
- AlicenseNot gradedqualityDmaintenanceSecurity scanner and trust verification layer for MCP ecosystem, enabling users to scan PyPI packages and GitHub repos for secrets, dangerous patterns, and prompt injection vectors, and compare security scores.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that verifies npm and PyPI packages before installation, checking for existence, known vulnerabilities, OpenSSF scorecard, and typosquatting, returning an ALLOW/WARN/BLOCK verdict.MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools to analyze npm packages with deterministic risk scoring, manage watch records, and verify SHA-384 audit seals.MIT