Connect VS Code
Use Rampsend from VS Code (GitHub Copilot agent mode)
VS Code has MCP support built into Copilot agent mode. Add the Rampsend endpoint and the agent can send test emails, look up deliveries and check your sending domain from the chat panel.
Paste as the server url in .vscode/mcp.json
https://app.rampsend.com/api/mcpSet it up
- 1
Run MCP: Add Server
Open the Command Palette (Cmd/Ctrl+Shift+P) and run MCP: Add Server.
- 2
Choose HTTP and paste the endpoint
Pick HTTP (HTTP or Server-Sent Events), paste the endpoint and give it the ID rampsend. Choose Workspace to write .vscode/mcp.json, or Global for all your projects.
Endpoint https://app.rampsend.com/api/mcp - 3
Add your key, or skip for sign-in
For a key, edit the generated file to match the block below — VS Code prompts once and stores the value in the secret store. For sign-in, leave the entry as just type and url.
- 4
Start it and pick the tools
Click Start above the server entry. Then open Chat, select Agent in the agent picker, open Configure Tools in the chat input and make sure the Rampsend tools are ticked.
The config
File: .vscode/mcp.json
{ "inputs": [ { "type": "promptString", "id": "rampsend-key", "description": "Rampsend API key", "password": true } ], "servers": { "rampsend": { "type": "http", "url": "https://app.rampsend.com/api/mcp", "headers": { "Authorization": "Bearer ${input:rampsend-key}" } } }}The root key is servers. Not mcpServers — that is the format other tools use, and VS Code ignores it here without a word.
Check it works
Ask “How many Rampsend credits do I have left?”. A number back means you are connected. That call only reads your account, so testing costs nothing.
What trips people up
- The root key in .vscode/mcp.json is servers, not mcpServers. VS Code silently ignores an mcpServers object here — the most common failure by far.
- Use ${input:…} rather than ${env:…} inside headers. Environment substitution there has been unreliable, and the input form keeps the key in the secret store instead of a file.
- MCP tools only work in agent mode. In ask mode the Rampsend tools are not offered.
- A workspace .vscode/mcp.json is trust-gated: VS Code asks before starting servers from a folder you have not trusted. MCP: List Servers shows each server’s error output.
- Prefer the terminal? code --add-mcp '{"name":"rampsend","type":"http","url":"https://app.rampsend.com/api/mcp"}' adds it for sign-in without opening the UI.
Try asking
- “Send this order-confirmation template to me@acme.com as a test.”
- “Show the last 10 emails that bounced and what the bounce said.”
- “Is acme.com verified for sending yet?”
- “How many Rampsend credits do I have left?”