Agent Plugin

Install Verfi's consent-verification tooling into any AI agent client with one portable package.

Overview

Agent Plugins is an open, vendor-neutral standard for packaging reusable agent components — Agent Skills and MCP servers — into one portable directory that compatible clients can discover and load consistently.

The Verfi Agent Plugin bundles our MCP server (including verfi_verify_consent) together with the Verfi consent-verification skill. Install it once and your agent gains TCPA consent verification: inspect captured consent evidence before contact, pull machine-readable proof for disputes, and manage consent sessions via the Verfi API.

Build a Lead-Router Integration

Give your coding agent this page. Direct REST is sufficient; plugin installation is optional. Start with the downloadable web-session integration contract, then the OpenAPI specification. The contract includes exact response fields, claim gates, PII matching, retry behavior and QA acceptance cases.

Build a Verfi web-session buyer integration using:
https://verfi.io/docs/agent-integration.md
https://api.verfi.io/.well-known/openapi.json
Use the buyer's server-side key and explicitly selected environment.
Verify the selected API release supports requirePII and requireClaimMode.
Send requirePII and exact-capture emailHash/phoneHash in the claim body.
Send all selected gates in one claim, with a persisted Idempotency-Key.
Accept only HTTP 200, success=true, data.status="claimed" for the request containing all required gates.
Implement the contract's failure and retry acceptance cases.
Ask the buyer for lead-type verticals, score thresholds and PII match policy.
Do not infer that a router QA system uses a sandbox Verfi account.

For Auto, select auto_insurance; for Home, select home_insurance. Multiple values mean any overlap, not all values required. See claim gates and SDK setup.

MCP version check: Inspect your server's tool list. Older releases omit claim gates and claim-status. Use direct REST or build the updated public repository source if your installed package lacks those options. A proof summary is not a claim or a combined PII acceptance decision.

What's Inside

plugin/
├── plugin.json          # manifest (Agent Plugins 1.0.0)
├── mcp.json             # MCP server config (stdio via @verfi/mcp-server)
└── skills/
    └── verfi/
        ├── SKILL.md     # Verfi consent-verification skill
        └── references/  # api-reference, proof-schema, sdk-reference
  • Skill — SDK install, API auth, session lifecycle (create → claim → verify → proof), and compliance workflows.
  • MCP server — Tools for proof inspection, session lookup and claim management.

Get the Package

The plugin lives in the public MCP repo under plugin/:

git clone https://github.com/Verfi-io/verfi-mcp-server
# package is in ./verfi-mcp-server/plugin

Or browse it directly on GitHub.

Install

Copy the plugin/ directory into your client's Agent Plugins location (see your client's docs for where that is), then set your Verfi secret key. The plugin's mcp.json launches the published @verfi/mcp-server via npx and expands ${VERFI_API_KEY} from your environment at load time:

export VERFI_API_KEY=sk_your_secret_key

Generate keys in the Verfi dashboard under Integration → API Keys.

Configuration

The MCP server reads two environment variables:

VariableRequiredDescription
VERFI_API_KEYYesYour Verfi secret API key (sk_...)
VERFI_API_URLNoAPI base URL (defaults to https://api.verfi.io/tenant/v1)

Key Scopes

Your secret key's scopes determine which tools are available:

  • sessions:search → verfi_search_session, verfi_get_claim_status (updated server)
  • sessions:proof → verfi_get_proof, verfi_verify_consent (also needs search scope when checking PII)
  • sessions:claim → verfi_claim_session
  • sessions:unclaim → verfi_unclaim_session
  • sessions:expiration → verfi_update_expiration

Remote Transport

The default mcp.json runs the published npm package locally over stdio. For a hosted deployment, swap the verfi entry for a streamable-http server pointing at your Verfi MCP endpoint. Do not embed secrets in headers — authorization is client-managed per the spec.

Notes

  • Both plugin.json and mcp.json validate against the canonical Agent Plugins 1.0.0 schemas.
  • Prefer a plain MCP setup without the skill? The MCP server works standalone in any MCP-compatible client.
  • License: MIT.

Privacy choices

Allow optional analytics and masked session recordings to help improve Verfi? We exclude credentials, lead details, and evidence playback. Declining does not affect the service. Privacy policy