Skip to content

feat(auth): add AgentPass trust verification provider#177

Closed
razashariff wants to merge 1 commit intoQuantGeekDev:mainfrom
razashariff:feat/agentpass-provider
Closed

feat(auth): add AgentPass trust verification provider#177
razashariff wants to merge 1 commit intoQuantGeekDev:mainfrom
razashariff:feat/agentpass-provider

Conversation

@razashariff
Copy link
Copy Markdown

Adds AgentPassProvider -- agent identity and trust verification via AgentPass. Same pattern as the existing providers.

What it does

  • Trust level check (L0-L4) with configurable minimum
  • Trust score threshold (0-100)
  • AML sanctions screening status
  • Identity verification status
  • Response caching (5 min default)
  • Graceful degradation (onMissing: allow/reject)

Usage

import { MCPServer, AgentPassProvider } from "mcp-framework";

const server = new MCPServer({
  auth: {
    provider: new AgentPassProvider({
      minTrustScore: 50,
      minTrustLevel: "L2",
      requireCleanSanctions: true,
    }),
  },
});

Details

  • Follows existing AuthProvider interface
  • Zero new dependencies (native fetch)
  • Public trust API -- no API key needed to query
  • Live at agentpass.co.uk/api/trust/:agentName

Resolves #175

Adds AgentPassProvider as a new auth provider that verifies agent
identity and behavioural trust scores via AgentPass (agentpass.co.uk).

Features:
- Trust level verification (L0-L4) with configurable minimum
- Numeric trust score threshold (0-100)
- AML sanctions screening status check (75K+ UK HMT + OFAC entries)
- ECDSA identity verification status
- Response caching with configurable TTL
- Graceful degradation (onMissing: allow/reject)
- AgentPass Passport ID header support

Follows existing AuthProvider pattern -- drop-in compatible,
no breaking changes, zero new dependencies.

Resolves QuantGeekDev#175
@razashariff razashariff deleted the feat/agentpass-provider branch April 10, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant