$ timeahead.in
mcp/railswaremailtrap-mcp/install/vscode

install railsware/mailtrap-mcp on VS Code

Requires the runtime declared in the upstream repo — check the README before running. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register railsware/mailtrap-mcp.

paste into
workspace: .vscode/mcp.json (project root — committed with the repo)
user: ~/.vscode/mcp.json
{
  "servers": {
    "mailtrap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ],
      "env": {
        "MAILTRAP_API_TOKEN": "your_mailtrap_api_token",
        "DEFAULT_FROM_EMAIL": "your_sender@example.com",
        "MAILTRAP_ACCOUNT_ID": "your_account_id",
        "MAILTRAP_TEST_INBOX_ID": "your_test_inbox_id"
      }
    }
  }
}
then: VS Code picks up the change. Run 'MCP: List Servers' from the command palette to verify.
other clients
Claude DesktopCursorWindsurfClaude Code
← back to railsware/mailtrap-mcp