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.1.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.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moltrust_mcp_server-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d461e211eab2685e7450c97659767703a074799663a99c9bca081d467650c731
MD5 206b2033554c4dd956b8fd1fbd947dfe
BLAKE2b-256 a9002c81173f1fe5ee387e359f806c6bb4ea83b94894171199383d7d8bd4898f

See more details on using hashes here.

Provenance

The following attestation bundles were made for moltrust_mcp_server-0.3.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for moltrust_mcp_server-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83f7a10d99245b1dbfb9dc04c0c3cf59ed9e582c4e50267dbeadce3b20c3487e
MD5 db84a8d49b020e99afa1f754fefe73dd
BLAKE2b-256 54c5d9c4776d91c9abf93af2edc1ab4064f381a8604b52c3ef84da7f9d22a28c

See more details on using hashes here.

Provenance

The following attestation bundles were made for moltrust_mcp_server-0.3.1-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