
Badge
io.github.payclawPublished by GitHub account payclawv0.4.0Updated Oct 24, 2026
Agents are not bots. Prove it. MCP-native identity declaration for authorized agents.
Overview
A local MCP server that gives AI agents a persistent identity credential to declare visits and report outcomes to merchant sites.
- What you can do
- Declare agent visits to merchant sites with a run ID and URL, and report visit outcomes back to the service. Issue and cache a guest pass on first run so identity survives process restarts. Feed reported outcomes into a portable trust score across merchants. Wrap the Badge SDK so MCP clients get the same identity model, tokens and scoring.
- When to use it
- Use it when an agent interacts with merchant sites that check agent identity and you want visits and outcomes recorded under a persistent, portable identity rather than an anonymous bot session.
- Requirements
- Runs as a local process via npx, so Node.js is needed. A PayClaw API key is required in the PAYCLAW_API_KEY environment variable, and the API endpoint can be overridden with PAYCLAW_API_URL (default Network access to that endpoint is required.
Installation
In SourceWeft
- Open Badge in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Badge by kya labs
Persistent identity for AI agents across merchant sites. Badge gives agents a credential they carry on every request — merchants verify it, trust accumulates across visits, and agents that build history earn better treatment over time.
Framework-agnostic. Transport-agnostic. Zero runtime dependencies.
Badge SDK
The SDK is the primary integration surface. Three methods cover the full lifecycle:
No signup. No API key. Badge.init() issues a guest pass on first run and caches it to disk. Identity survives process restarts.
What the SDK covers
- Identity model — three-tier ladder: guest pass (
gp_v1_*) → badge token (kya_*) → authenticated identity - Lifecycle tracking — declare visits, report outcomes, correlate with run IDs
- Offline resilience — never throws on network failure, deterministic fallback on every call
- UCP integration —
io.kyalabs.common.identityCredential Provider, published schemas, ES256-signed JWTs - Scoring — outcomes feed kyaScore (500–850), portable across merchants
Badge MCP Server
For MCP client users (Claude Desktop, Cursor, Windsurf), Badge also ships as an MCP tool server. The MCP server wraps the SDK — same identity model, same tokens, same scoring.
The SDK is the canonical integration path for platform builders and agent frameworks. The MCP server is a convenience wrapper for end users working within MCP clients.
Links
- Website: kyalabs.io
- Data practices: kyalabs.io/trust
- UCP extension spec: github.com/kyalabs/ucp-agent-badge
- Contact: [email protected]
License
MIT
Source: README.md at commit 829bf50
Tools
0Version history
1- v0.4.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts