thrd

v0.1.5
io.github.SergioRico1/thrd Checked 20 hours ago Published 9 months ago

Thrd MCP: agent email tools for events/threads, safe send/reply, usage, trust and security.

Values you need

VariableWhat it is
THRD_API_KEYrequired secret Thrd agent API key (Bearer token).
THRD_API_BASE_URLoptional Thrd API base URL. Default: https://api.thrd.email

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add thrd -e 'THRD_API_KEY=<THRD_API_KEY>' -- npx -y thrd-mcp@0.1.5
Add to claude_desktop_config.json
{
  "mcpServers": {
    "thrd": {
      "args": [
        "-y",
        "thrd-mcp@0.1.5"
      ],
      "command": "npx",
      "env": {
        "THRD_API_KEY": "<THRD_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "thrd": {
      "args": [
        "-y",
        "thrd-mcp@0.1.5"
      ],
      "command": "npx",
      "env": {
        "THRD_API_KEY": "<THRD_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "THRD_API_KEY",
      "id": "thrd-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "thrd": {
      "args": [
        "-y",
        "thrd-mcp@0.1.5"
      ],
      "command": "npx",
      "env": {
        "THRD_API_KEY": "${input:thrd-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.thrd]
command = "npx"
args = ["-y", "thrd-mcp@0.1.5"]
env = { "THRD_API_KEY" = "<THRD_API_KEY>" }

For AI agents

  1. Ask the user for: THRD_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: thrd.health, thrd.poll_events, thrd.ack_events, thrd.list_threads, thrd.get_thread_messages, thrd.reply, thrd.send, thrd.outbound_status, ….
  5. 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