# mcpscore > mcpscore audits any Model Context Protocol (MCP) server and returns a 0–100 > quality score with a concrete list of what to fix — in the spirit of > Lighthouse for the web. It is free, deterministic (same server → same > score), needs no API key, runs in seconds, and never calls a server's tools > during an audit, so auditing is side-effect-free; the only exception is the > opt-in `--smoke` mode, which calls your own server's read-only tools from > the CLI and never affects the score. Servers behind OAuth can be audited too > (sign in on mcpscore.dev or bring a token to the CLI for a full audit, or run > credential-free for a partial audit of the auth posture, TLS, and transport > surface). The 144 server rules are grouped into four categories — Protocol, Primitives, Security & Auth, and Readiness for the next spec revision — and every rule cites the MCP spec section, RFC, or OWASP MCP Top 10 entry it enforces. The quality score includes the security posture of the deployed server (TLS, authorization, origin and session handling, error hygiene, what tool text and annotations would let an agent do); mcpscore is not a package scanner or a penetration test. The engine, scoring methodology, and rule set are open source (MIT). ## Try it - CLI, no install: `uvx mcpscore https://your-server.example/mcp` (remote Streamable HTTP or SSE), `uvx mcpscore ./server.py` (local), or `uvx mcpscore --stdio ` for a local server in any language - Published package instead of a running server: `uvx mcpscore --package npm:@scope/name` or `--package pypi:name` (registry metadata only; nothing is downloaded or run) - Machine-readable output: `--json` writes the full report to stdout; `--sarif FILE` writes the failed rules as SARIF 2.1.0 for GitHub code scanning; exit codes: 0 audited, 1 usage error, 2 could not connect, 3 a `--fail-under` or configured gate failed, 4 a `--smoke` check failed - Per-project policy: a `mcpscore.toml` turns rules off, re-ranks the rest, and gates CI on severity; the badge and mcpscore.dev stay canonical - Web: paste a server URL at https://mcpscore.dev and get a shareable report; for a server behind OAuth, "Sign in and run the full audit" shows the scopes it will ask for (the least the audit needs: read-only where the server offers it), sends you to the authorization server it uses, audits with the token, and asks for it to be revoked (token handling: https://mcpscore.dev/security) - CI: the GitHub Action `mcp-box/mcpscore-action` fails PRs below a score threshold, comments the report, and (`sarif-path`) uploads findings to the repository's Security tab - Badge: embed a live score badge in a README via `https://mcpscore.dev/api/v1/servers/badge.svg?url=` ## Docs The documentation site serves its own index for agents at https://docs.mcpscore.dev/llms.txt and the complete text at https://docs.mcpscore.dev/llms-full.txt; every page is also available as Markdown by appending `.md` to its URL. - [Documentation](https://docs.mcpscore.dev): getting started, CLI reference, CI setup - [CLI reference](https://docs.mcpscore.dev/cli): every flag, environment variable, and exit code - [Rules](https://docs.mcpscore.dev/rules): every check, its severity, and the spec section it cites - [Methodology](https://docs.mcpscore.dev/methodology): how the score is computed and why it is deterministic - [Stability contract](https://docs.mcpscore.dev/stability): what stays stable across releases (rule ids, report schema, exit codes) and what evolves - [GitHub Action](https://docs.mcpscore.dev/github-action): gate pull requests on a score, comment the report, send findings to code scanning - [Use from your coding agent](https://docs.mcpscore.dev/coding-agents): the mcpscore plugin for Claude Code and Codex audits your server, fixes the findings in your code, and re-audits - [Configure rules](https://docs.mcpscore.dev/configure-rules): the `mcpscore.toml` format and the severity gate - [Smoke mode](https://docs.mcpscore.dev/smoke-mode): opt-in tool calls against your own server, and their safety boundary - [Authenticated servers](https://docs.mcpscore.dev/authenticated-servers): tokens, headers, the OAuth flow, and partial audits - [Package audits](https://docs.mcpscore.dev/package-audits): scoring how a server is published on npm or PyPI - [Badge](https://docs.mcpscore.dev/badge): embedding the live score badge ## Blog - [MCP Apps in the registry: 869 servers, and the five ways their UIs break](https://mcpscore.dev/blog/mcp-apps-live-servers): what an MCP App is and how a host loads one, the November 2026 audit of the 16,852 official MCP Registry servers live in October (869 serve Apps, 68 with findings, 66 of them spec violations), each failure with an example and its fix, and the mcpscore apps rules (tags: Research, Spec) - [Skills over MCP: 21 checks, run on Hugging Face's 25 skills](https://mcpscore.dev/blog/skills-over-mcp-checks): what the MCP Skills extension (SEP-2640) requires of a server, the 21 skills rules in mcpscore 1.27.0 (integrity, conformance, skill-text security, limits and recommendations), and the audit of Hugging Face's 25 skills (tags: Release, Spec) - [The LiteLLM MCP auth bypass, and the one request that shows it](https://mcpscore.dev/blog/litellm-mcp-auth-bypass-invalid-token): CVE-2026-59822 (any bearer token accepted by LiteLLM's MCP endpoint, fixed in 1.84.0), the MCP spec's 401 requirement for invalid tokens, and the mcpscore 1.25.0 rule auth_invalid_token_rejected (tags: Security) - [The OWASP MCP Top 10, and what your server's catalog tells a model](https://mcpscore.dev/blog/owasp-mcp-top-10-catalog-security): which OWASP MCP Top 10 risks are checkable on a running server, and the mcpscore 1.22.0 rules for hidden Unicode, embedded secrets and prompt-injection phrasing in catalog text (tags: Security) - [DNS rebinding and MCP: why nine in ten servers skip the Origin check](https://mcpscore.dev/blog/mcp-origin-validation-dns-rebinding): how DNS rebinding reaches local and private MCP servers, how to reproduce it, how mcpscore detects it, and the Origin fix in the Python and TypeScript SDKs (tags: Security) - [SARIF explained: why linters speak it, and how mcpscore 1.14.0 writes it](https://mcpscore.dev/blog/sarif-explained-mcpscore-1-14-0): what SARIF is, why findings belong in GitHub code scanning, and the `--sarif` flag and `sarif-path` Action input that put them there (tags: Release, Guide) - [WebMCP vs MCP: what they share, where they differ](https://mcpscore.dev/blog/webmcp-vs-mcp): page tools vs server integrations, shared schemas, browser support, permissions, and when to use each (tags: Spec, Guide) - [mcpscore 1.12.0: configure the rules your CI scores on](https://mcpscore.dev/blog/mcpscore-1-12-0-configure-rules): per-project mcpscore.toml turns rules off and re-ranks the rest, with a severity gate; the badge stays canonical (tags: Release) - [mcpscore 1.11.0: smoke-test your MCP tools in CI](https://mcpscore.dev/blog/mcpscore-1-11-0-smoke-test-mcp-tools): opt-in runtime checks for tool schemas, invalid arguments, and unknown names, with safe CI gating (tags: Release) - [MCP server testing tools compared: mcpscore, Conformance, Inspector v2, and security scanners](https://mcpscore.dev/blog/mcpscore-vs-conformance-inspector-security-scanners): which MCP testing tool answers which question, and why most teams need more than one (tags: Guide) - [mcpscore 1.3.0: audit stdio servers in any language](https://mcpscore.dev/blog/mcpscore-1-3-0-any-language-stdio): audit Go, Java, C#, Rust, and other local MCP servers with generic stdio commands (tags: Release) - [MCP 2026-07-28 is here. Check your migration with mcpscore](https://mcpscore.dev/blog/mcp-2026-07-28-migration): what changed in the new MCP release and how to find migration gaps (tags: Spec) - [mcpscore 1.1.0 is here! Our first official release](https://mcpscore.dev/blog/mcpscore-1-1-0-first-official-release): the first stable mcpscore release, what its 52 rules cover, and how to run it (tags: Release) ## API - `POST https://mcpscore.dev/api/v1/audits` with `{"url": ""}` → `202` with an `audit_id`; poll `GET /api/v1/audits/{audit_id}` until `status` is `completed` (the full scored report, JSON) or `failed` (`error_message` and `error_reason` say why); both are final - `POST https://mcpscore.dev/api/v1/audits/authenticated` with `{"url": ""}` → `201` with an `authorization_url` to open in a browser and the `requested_scopes` it asks for; after the sign-in, poll `GET /api/v1/audits/{audit_id}` as above (the report carries `requested_scopes` and `granted_scopes`). A refused or expired sign-in ends as `failed` with `error_reason` `auth_failed`, and `sign_in_failure` says why (for example `registration_refused` when the server accepts only clients it has approved, `user_denied`, or `timeout`). A credential-free report of a sign-in gated server carries `sign_in_check`: `refused` when a sign-in from mcpscore.dev cannot work, `accepted` when it can, `null` when unknown. Signed-in reports are public and replace resource names and URIs with placeholders; see https://mcpscore.dev/security - `GET https://mcpscore.dev/api/v1/servers/latest?url=` → the latest completed audit for that server, or `404` if it was never audited - `GET https://mcpscore.dev/api/v1/servers/badge.svg?url=` → SVG badge with the server's latest score ## Source - [GitHub](https://github.com/mcp-box/mcpscore): engine + CLI (Python, MIT) - [GitHub Action](https://github.com/mcp-box/mcpscore-action): CI wrapper - [PyPI](https://pypi.org/project/mcpscore/): `pip install mcpscore`