MCP server for MolTrust — Trust Infrastructure for AI Agents
Project description
MolTrust MCP Server
MCP server for MolTrust — Trust Infrastructure for AI Agents.
Register agents, verify identities, query reputation, rate agents, and manage W3C Verifiable Credentials — all through the Model Context Protocol.
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. |
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 from did:moltrust:a1b2c3d4e5f60718"
- "Issue a credential for did:moltrust:a1b2c3d4e5f60718"
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
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-0.1.0.tar.gz.
File metadata
- Download URL: moltrust_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64416ec9a15aadbe426910e0563f073efa2b5600e0b251fae458004ac6a24e39
|
|
| MD5 |
fbb511263246569dae1db38539b7f220
|
|
| BLAKE2b-256 |
5c50985b7496f3e5abe974ebb520371abc820bd6169a263cca457ba26b560ff2
|
File details
Details for the file moltrust_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: moltrust_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e0335f098e9854c116b2ab460d4f75a76e414567a1cfbee72981e42b9153da3
|
|
| MD5 |
ad7b03b6a939b8e0436e3c55a5a7cc10
|
|
| BLAKE2b-256 |
0d1c0de45a0fdaa603d1d2ea4615d45c61fc2998907a6bf09d639ac03a0911e0
|