mcp-server

v0.2.7
io.github.trustscoreagent/mcp-server Checked 1 day ago Published 1 month ago

Check the reputation of AI microservices and public APIs from an open trust registry.

Values you need

VariableWhat it is
TRUSTSCORE_API_URLoptional Base URL of the TrustScore registry. Defaults to the public production API; override only for a self-hosted or staging instance. Default: https://api.trustscoreagent.com
TRUSTSCORE_AGENT_DIDoptional Leave empty (recommended): the server generates an Ed25519 key in ~/.trustscoreagent and signs its ratings with the matching did:key. Setting a DID here overrides that key, so ratings are sent unsigned and count at half weight.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -- npx -y --package=@trustscoreagent/mcp-server@0.2.7 trustscoreagent-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@trustscoreagent/mcp-server@0.2.7",
        "trustscoreagent-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@trustscoreagent/mcp-server@0.2.7",
        "trustscoreagent-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@trustscoreagent/mcp-server@0.2.7",
        "trustscoreagent-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@trustscoreagent/mcp-server@0.2.7", "trustscoreagent-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: check_reputation, submit_rating, list_services.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json