Requires the runtime declared in the upstream repo — check the README before running. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register railsware/mailtrap-mcp.
Run the command below in your terminal — Claude Code persists it for you.claude mcp add mailtrap --env MAILTRAP_API_TOKEN=your_mailtrap_api_token --env DEFAULT_FROM_EMAIL=your_sender@example.com --env MAILTRAP_ACCOUNT_ID=your_account_id --env MAILTRAP_TEST_INBOX_ID=your_test_inbox_id -- npx -y mcp-mailtrap