Skip to main content
Glama
MCP OAuth Metadata Linter

MCP OAuth Metadata Linter

by gptenv

MCP OAuth Metadata Linter

Statically checks caller-provided OAuth metadata documents used by HTTP MCP servers. Give it the exact MCP resource identifier, the RFC 9728 protected-resource metadata (PRM), and optionally the RFC 8414 authorization-server metadata (ASM). It checks the exact resource binding, advertised authorization-server issuer binding, URL requirements, selected field types, authorization-code response support, and MCP PKCE S256 advertisement.

This is a focused static lint report. It does not fetch endpoints, perform OAuth, validate signatures, inspect tokens, prove runtime configuration, or certify security/compliance. Never submit access tokens, client secrets, or private credentials. The data is processed in memory and is not stored.

Free and paid

  • Free preview_check: one metadata bundle.

  • Paid audit_checks: up to 20 bundles for $0.01 USDC on Base through x402.

  • Optional Stripe Checkout: C$0.50 one-time batch, enabled only after setting the SaladFinder Stripe secret in Worker configuration.

Related MCP server: Automation Auditor MCP

MCP

{"mcpServers":{"mcp-oauth-metadata-linter":{"type":"streamable-http","url":"https://mcp-oauth-metadata-linter.defcronyke.workers.dev/mcp"}}}

HTTP API

POST to /v1/audit with an x402 V2 client:

{"cases":[{"resource_url":"https://api.example.com/mcp","resource_metadata":{"resource":"https://api.example.com/mcp","authorization_servers":["https://auth.example.com"]},"authorization_server_metadata":{"issuer":"https://auth.example.com","authorization_endpoint":"https://auth.example.com/authorize","token_endpoint":"https://auth.example.com/token","response_types_supported":["code"],"code_challenge_methods_supported":["S256"]}}]}

The endpoint returns an x402 payment challenge without a valid payment. /.well-known/x402 and /openapi.json describe the service. GET /example returns a sample report.

Payment methods

Automatic x402 payment is $0.01 USDC on Base to 0x8CDcbCAC0453b1e94aFf0DDB552d409fea6b7F9F. BTC, Interac e-Transfer, PayPal, or another EVM asset require prior arrangement by emailing jeremy@jeremycarter.ca; manual payments cannot be automatically verified or fulfilled. BTC address: bc1q7x4n86m5u8lkekzlqjwqnx2fdjdzm0elgwuud5.

Stripe Checkout code supports a C$0.50 one-time payment and releases results only after Stripe confirms payment, amount, currency, and the matching input hash. Configure STRIPE_SECRET_KEY as a Cloudflare Worker secret for the SaladFinder Stripe account. Stripe is not active until this is configured.

Development

npm ci
npm test
npx wrangler dev

The service uses Cloudflare Workers, Hono, the official TypeScript MCP SDK, and x402. No database is required; checks are stateless.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables free, read-only checks of AI agents and MCP servers for conformance, published changes, delivery evidence, and verifiable receipts without requiring an account or API key, using public or non-personal data only.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to run read-only static audits on supplied n8n, Dify, Trigger.dev, Activepieces, and OpenAPI exports, and to screen HTTPS URLs for unsafe schemes, returning structured findings and limitations.
      4
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables active, authorized security testing of remote MCP servers' OAuth authorization flows, reporting results as JSON, SARIF, and Markdown. It runs checks for refresh token rotation, redirect URI strictness, PKCE enforcement, token audience, throttling, and consent CSRF.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Checks the MCP server you're building the way clients and agents meet its tool list. It flags what agents misread (vague parameters, writes marked read-only), what breaks clients or prompt caches (tools that appear mid-session, schemas that change on every call), and breaking changes between releases with the version bump they need. Same input, same answer: no LLM involved.
      6
      369 npm
      2
      MIT