MCP server for MolTrust — Trust Infrastructure for AI Agents
Project description
MolTrust MCP Server
MCP server for MolTrust — Trust Infrastructure for AI Agents.
30 tools across 6 verticals: identity, on-chain trust scoring, prediction market track records, prediction market integrity, autonomous commerce, and agent skill verification — all through the Model Context Protocol.
Tools
Identity & Credentials (11 tools)
| Tool | Description |
|---|---|
moltrust_register |
Register a new AI agent. Returns DID + Verifiable Credential. |
moltrust_verify |
Verify an agent by DID. Returns verification status + trust card. |
moltrust_reputation |
Get reputation score (1-5) and total ratings for a DID. |
moltrust_rate |
Rate another agent (1-5 stars). |
moltrust_credential |
Issue or verify a W3C Verifiable Credential. |
moltrust_credits |
Check balance, view pricing, transfer credits, or view history. |
moltrust_deposit_info |
Get USDC deposit instructions (Base L2). |
moltrust_claim_deposit |
Claim credits from a USDC deposit on Base. |
moltrust_stats |
Get MolTrust network statistics. |
moltrust_deposit_history |
Get USDC deposit history for an agent. |
moltrust_erc8004 |
Query the ERC-8004 on-chain agent registry on Base. |
MoltGuard — Agent Trust Scoring (7 tools)
| Tool | Description |
|---|---|
moltguard_score |
Get a 0-100 trust score for a Base wallet address. |
moltguard_detail |
Get a detailed trust report with full scoring breakdown. |
moltguard_sybil |
Scan a wallet for Sybil indicators and funding clusters. |
moltguard_market |
Check a Polymarket market for integrity anomalies. |
moltguard_feed |
Get the top anomaly feed — markets with highest concerns. |
moltguard_credential_issue |
Issue an AgentTrustCredential (W3C VC) for a wallet. |
moltguard_credential_verify |
Verify a MoltGuard credential JWS signature. |
MT Shopping — Autonomous Commerce (3 tools)
| Tool | Description |
|---|---|
mt_shopping_info |
Get MT Shopping API info and BuyerAgentCredential schema. |
mt_shopping_verify |
Verify a shopping transaction against a BuyerAgentCredential. |
mt_shopping_issue_vc |
Issue a BuyerAgentCredential with spend limits. |
MT Travel — Booking Trust (3 tools)
| Tool | Description |
|---|---|
mt_travel_info |
Get MT Travel service info and supported segments. |
mt_travel_verify |
Verify a travel booking against a TravelAgentCredential. |
mt_travel_issue_vc |
Issue a TravelAgentCredential with segment permissions. |
MT Skills — Agent Skill Verification (3 tools)
| Tool | Description |
|---|---|
mt_skill_audit |
Audit a SKILL.md for prompt injection, exfiltration, scope violations. |
mt_skill_verify |
Verify a skill by its canonical SHA-256 hash. |
mt_skill_issue_vc |
Issue a VerifiedSkillCredential after security audit. |
MT Prediction — Market Track Records (3 tools)
| Tool | Description |
|---|---|
mt_prediction_link |
Link a prediction market wallet and sync its track record. |
mt_prediction_wallet |
Get prediction market profile, score, and recent events. |
mt_prediction_leaderboard |
Get the prediction market leaderboard — top wallets by score. |
Setup
Get an API key at api.moltrust.ch/auth/signup or use the test key mt_test_key_2026.
Claude Code
claude mcp add moltrust -- uvx moltrust-mcp-server
Set your API key:
export MOLTRUST_API_KEY="your_api_key"
Or add it permanently to Claude Code:
claude mcp add moltrust -e MOLTRUST_API_KEY=your_api_key -- uvx moltrust-mcp-server
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"moltrust": {
"command": "uvx",
"args": ["moltrust-mcp-server"],
"env": {
"MOLTRUST_API_KEY": "your_api_key"
}
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor
Add to Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"moltrust": {
"command": "uvx",
"args": ["moltrust-mcp-server"],
"env": {
"MOLTRUST_API_KEY": "your_api_key"
}
}
}
}
OpenCode
Add to opencode.json:
{
"mcp": {
"moltrust": {
"command": "uvx",
"args": ["moltrust-mcp-server"],
"env": {
"MOLTRUST_API_KEY": "your_api_key"
}
}
}
}
pip install (manual)
pip install moltrust-mcp-server
Then run:
MOLTRUST_API_KEY=your_api_key moltrust-mcp-server
Configuration
| Environment Variable | Default | Description |
|---|---|---|
MOLTRUST_API_KEY |
— | Your MolTrust API key (required for register, rate, issue) |
MOLTRUST_API_URL |
https://api.moltrust.ch |
API base URL (for self-hosted instances) |
Examples
Once connected, you can ask your AI assistant:
- "Register a new agent called 'my-assistant' on the 'openai' platform"
- "Verify the agent with DID did:moltrust:a1b2c3d4e5f60718"
- "What's the reputation of did:moltrust:a1b2c3d4e5f60718?"
- "Rate agent did:moltrust:b2c3d4e5f6071890 with 5 stars"
- "Get the trust score for wallet 0x1234...abcd"
- "Scan wallet 0x1234...abcd for Sybil indicators"
- "Check Polymarket market abc123 for anomalies"
- "Issue a BuyerAgentCredential for my shopping agent"
- "Verify this travel booking against the agent's credential"
- "Audit this agent skill for security risks: https://github.com/example/skill"
- "Link my Polymarket wallet 0x1234...abcd and show my prediction score"
- "Show the prediction market leaderboard"
Development
git clone https://github.com/moltycorp/moltrust-mcp-server.git
cd moltrust-mcp-server
pip install -e ".[dev]"
# Lint
ruff check src/
ruff format src/
# Type check
pyright src/
# Test
pytest tests/ -v
Security Research
We regularly scan agent infrastructure for security issues and publish our findings:
- We Scanned 50 Agent Endpoints — Here's What We Found — Common vulnerabilities in the agent ecosystem and how to fix them
License
MIT — CryptoKRI GmbH
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 moltrust_mcp_server-1.2.0.tar.gz.
File metadata
- Download URL: moltrust_mcp_server-1.2.0.tar.gz
- Upload date:
- Size: 33.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
666206795a2453cbc909d6837fc4d6ae78058d8b08c14d78e98ed409ea186395
|
|
| MD5 |
7576e01109295ea84f5a40aa477797d8
|
|
| BLAKE2b-256 |
ff3e2d79fe5e07b732fde5e03074466558449a100369e098ef780c3364409b27
|
Provenance
The following attestation bundles were made for moltrust_mcp_server-1.2.0.tar.gz:
Publisher:
publish.yml on MoltyCel/moltrust-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moltrust_mcp_server-1.2.0.tar.gz -
Subject digest:
666206795a2453cbc909d6837fc4d6ae78058d8b08c14d78e98ed409ea186395 - Sigstore transparency entry: 1165390824
- Sigstore integration time:
-
Permalink:
MoltyCel/moltrust-mcp-server@3c100c74c9240b94c2e7d7b9b4f3b7b68c35a463 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/MoltyCel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3c100c74c9240b94c2e7d7b9b4f3b7b68c35a463 -
Trigger Event:
push
-
Statement type:
File details
Details for the file moltrust_mcp_server-1.2.0-py3-none-any.whl.
File metadata
- Download URL: moltrust_mcp_server-1.2.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9daa146c787298de9adbb3945227028dfa2e134928793caa4aedd26534eec92
|
|
| MD5 |
2525952174ba99437b60b61287eebb8f
|
|
| BLAKE2b-256 |
73878fdf71c73739dd34b3036b2abd10720d40827edbaf2325c08336839b0b0e
|
Provenance
The following attestation bundles were made for moltrust_mcp_server-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on MoltyCel/moltrust-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moltrust_mcp_server-1.2.0-py3-none-any.whl -
Subject digest:
f9daa146c787298de9adbb3945227028dfa2e134928793caa4aedd26534eec92 - Sigstore transparency entry: 1165390882
- Sigstore integration time:
-
Permalink:
MoltyCel/moltrust-mcp-server@3c100c74c9240b94c2e7d7b9b4f3b7b68c35a463 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/MoltyCel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3c100c74c9240b94c2e7d7b9b4f3b7b68c35a463 -
Trigger Event:
push
-
Statement type: