Skip to main content
Glama
agentscore-mcp-server

agentscore-mcp-server

@agentscore-xyz/mcp-server

MCP security trust layer. Scan packages, get trust verdicts, inspect repo-wide MCP dependencies, generate Policy Gate setup, install the CI workflow directly, check incident exposure, and query the abuse database. Eight tools for MCP security decisions. No API key, zero config.

KYA Scan

Scan any MCP package for security issues: agentscores.xyz

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "agentscore": {
      "command": "npx",
      "args": ["-y", "@agentscore-xyz/mcp-server"]
    }
  }
}

Cursor / Any MCP Client

npx @agentscore-xyz/mcp-server

Related MCP server: MCP Trust Layer

What This Does

Your AI can now make security decisions about MCP packages:

You: "Is exa-mcp-server safe to install?"

Claude: calls get_verdict "Verdict: ALLOW. Score 90/100, LOW risk. No provenance attestations (published by personal account). 9 tools exposed including web_search_exa and crawling_exa."

You: "The axios package was compromised. Which MCP servers are affected?"

Claude: calls check_exposure "Multiple monitored MCP servers depend on axios, including exa-mcp-server, tavily-mcp, and figma-mcp."

You: "Scan @azure-devops/mcp for security issues"

Claude: calls scan_package "Score 75/100, MODERATE risk. Found: preinstall script modifying npm registry config. No provenance attestations."

You: "Check this repo for MCP dependencies"

Claude: calls check_my_repo "MCP dependencies found: 5. Two are warnings. Run generate_policy_gate_setup to turn these checks into a CI gate."

You: "Set up AgentScore Policy Gate for this repo"

Claude: calls install_policy_gate "The workflow file is written to .github/workflows/agentscore-policy-gate.yml. Commit and push. GitHub OIDC will auto-provision the repo on first run."

Available Tools

Tool

What it does

scan_package

Full security scan: install scripts, prompt injection, source code patterns, provenance posture, MCP tool extraction

get_verdict

Trust decision: allow, warn, or block based on scan findings. Also reports monitoring status and publisher posture.

check_my_repo

Inspect the current repo for MCP dependencies and summarise verdicts for every package detected locally.

generate_policy_gate_setup

Generate the exact OIDC-based GitHub Actions workflow needed to enforce Policy Gate in CI.

install_policy_gate

Write .github/workflows/agentscore-policy-gate.yml directly into the repo so the gate is ready to commit.

check_exposure

Incident response: which monitored MCP servers depend on a given package?

check_abuse

Query the KYA abuse database for reported packages or agents

monitor_status

Check if a package is under continuous monitoring and get scan history

From Ad-Hoc Scans To CI Enforcement

The MCP server now bridges one-off package checks into the sticky product:

  1. Run check_my_repo to see every MCP package used in a repo.

  2. Run generate_policy_gate_setup to preview the OIDC-based GitHub Actions workflow.

  3. Run install_policy_gate to write the workflow file directly into the repo.

  4. Commit and push. The first run auto-provisions through GitHub OIDC.

That turns "is this package safe?" into "this repo now enforces MCP dependency policy on every PR."

Risk Levels

Score

Risk

Meaning

85-100

LOW

Clean or minor issues only

70-84

MODERATE

Some findings, review recommended

50-69

ELEVATED

Significant findings, use with caution

30-49

HIGH

Serious issues, not recommended

0-29

CRITICAL

Do not use

What the Scanner Checks

  • Install scripts (postinstall/preinstall hooks with network calls or code execution)

  • Prompt injection patterns in package metadata

  • Suspicious URLs (sketchy TLDs, ngrok, raw IPs)

  • Source code patterns (command injection, unsafe eval, hardcoded secrets)

  • Publisher provenance (trusted publishing, attestations)

  • Dependency count and metadata completeness

  • MCP tool definitions extracted from published source

Monitoring

AgentScore continuously monitors hundreds of MCP packages. The check_exposure and monitor_status tools use this live dataset. When a package like axios gets compromised, you can instantly find which MCP servers are affected.

Licence

MIT

Available Tools

8 tools
check_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

    A4/5.0

    Scored across 8 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP 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.
      15
      81 npm
      15
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Security 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      An 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