Skip to main content

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.
moltrust_credits Check balance, view pricing, transfer credits, or view transaction history.

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"
  • "Check my credit balance for did:moltrust:a1b2c3d4e5f60718"
  • "Show API pricing"
  • "Transfer 10 credits from did:moltrust:a1b2c3d4e5f60718 to did:moltrust:b2c3d4e5f6071890"

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moltrust_mcp_server-0.3.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moltrust_mcp_server-0.3.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file moltrust_mcp_server-0.3.2.tar.gz.

File metadata

  • Download URL: moltrust_mcp_server-0.3.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for moltrust_mcp_server-0.3.2.tar.gz
Algorithm Hash digest
SHA256 5006e8255eb44e6e9ca195ec67995cc3319c7770fd13030e7df514b2cc5f7839
MD5 4f1145c46c0d9856ce22dd092a60bdc6
BLAKE2b-256 0297a9780f4f568e4458f7203d5d3c9065d61e0043bef6ee1b9a72afc70d3473

See more details on using hashes here.

Provenance

The following attestation bundles were made for moltrust_mcp_server-0.3.2.tar.gz:

Publisher: publish.yml on MoltyCel/moltrust-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file moltrust_mcp_server-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for moltrust_mcp_server-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 acd6a0563ef292134a835e18514b3c0b22487837ad437dcbe994499e356b1429
MD5 1d3d5abe0c27245c5fbe8008d6362ae7
BLAKE2b-256 dcbfb891924639336734b63ed752021aeab55c493d75f86503ae4f5e57017c45

See more details on using hashes here.

Provenance

The following attestation bundles were made for moltrust_mcp_server-0.3.2-py3-none-any.whl:

Publisher: publish.yml on MoltyCel/moltrust-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page