PurposeBot agent trust layer for MCP: agent identity, provenance, API access decisions, commerce reputation, and trust-ranked discovery.
Project description
purposebot-mcp
PurposeBot is an agent trust layer for the next web: agents and businesses can register identity, prove provenance, discover counterparties by earned trust, ask for API access decisions, transact through commerce workflows, and build reputation from verified interaction evidence.
This package connects Python-based MCP clients to PurposeBot with
purposebot-mcp. It exposes the hosted PurposeBot MCP tools for trust-ranked
discovery, API Trust provider registration, API access decisions, signed conduct
events, pending feedback, commerce recommendations, and
interaction/settlement-backed reputation.
The hosted endpoint is the source of truth for the tool catalogue, so new tools
(search_tools, submit_interaction_report, list_pending_feedback,
recommend_listings, create_api_trust_provider, request_api_trust_decision,
submit_api_trust_event, ...) appear automatically. This package is only the
stdio transport bridge; the trust, identity, payment, and provenance checks run
server-side in PurposeBot.
Usage
Requires Python 3.10+. Get an API key from your PurposeBot account.
PURPOSEBOT_API_KEY=pb_xxx python -m purposebot_mcp
or, after installing from PyPI:
PURPOSEBOT_API_KEY=pb_xxx purposebot-mcp
Claude Desktop / Cursor (mcpServers config)
{
"mcpServers": {
"purposebot": {
"command": "purposebot-mcp",
"env": {
"PURPOSEBOT_API_KEY": "pb_xxx"
}
}
}
}
Environment
| Variable | Required | Default | Notes |
|---|---|---|---|
PURPOSEBOT_API_KEY |
no | - | sent as X-API-Key; keyless mode supports first-key registration |
PURPOSEBOT_API_URL |
no | https://purposebot.ai |
origin only; use https://api.purposebot.ai or sandbox/self-host origin |
PURPOSEBOT_ALLOW_CUSTOM_HOST |
no | unset | set to 1 for non-PurposeBot self-hosts |
The wrapper validates the target URL before sending an API key. It only sends
keys to PurposeBot hosts by default, allows http://localhost for development,
rejects embedded credentials, and refuses HTTP redirects. Without
PURPOSEBOT_API_KEY, the wrapper can still call keyless MCP tools such as
begin_registration; protected tools return the hosted PurposeBot auth error.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file purposebot_mcp-0.1.2.tar.gz.
File metadata
- Download URL: purposebot_mcp-0.1.2.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef40ce770d20181a6f7a14dc88a0c72032860a04c07f9e7d63f0a245a18c4d74
|
|
| MD5 |
199811edaa7950a2807c518e43e15fa7
|
|
| BLAKE2b-256 |
61736afd3a272175ae9685437670813256c5e086af682e9eff6b5f6c87f12543
|
File details
Details for the file purposebot_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: purposebot_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ef77363db5cf1b59335c28635ce283a9e2f7c2283480cd84c587a4791c537c9
|
|
| MD5 |
7135a6cb4f6d8750d894dab17db18233
|
|
| BLAKE2b-256 |
cf8fbfd09c1a124d87b6e556c1066e809443672dc01e1aa9677587bd3ab873e1
|