MIRAI

v0.2.1
io.github.miraifi/mirai Checked 1 day ago Published 2 days ago

Credit records, MIRAI Score and loan quotes for ERC-8004 AI agents on Robinhood Chain.

Values you need

VariableWhat it is
MIRAI_APIoptional MIRAI API base URL (default https://miraifi.family)
MIRAI_RPCoptional Robinhood Chain RPC URL (default the public node)

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http mirai https://miraifi.family/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mirai": {
      "args": [
        "-y",
        "mcp-remote",
        "https://miraifi.family/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mirai": {
      "url": "https://miraifi.family/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mirai": {
      "type": "http",
      "url": "https://miraifi.family/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mirai]
command = "npx"
args = ["-y", "mcp-remote", "https://miraifi.family/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_agent, agent_score, agent_record, find_agents, search_registry, pool_status, recent_activity, list_backers, ….
  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