AI integrations
How to connect EmailTemplate to VS Code and Copilot over MCP
VS Code reads MCP servers from `.vscode/mcp.json` (project) or from the user profile. A remote server is declared with `type: http`, the URL and headers.
Steps
-
Create your API key
Create an API key at https://dash.emailtemplate.theboomer.dev/dashboard/api-keys. The key is shown once and starts with `et_`.
-
Declare the server
VS Code uses the `servers` key (not `mcpServers`) and requires `type` on remote servers.
{ "servers": { "emailtemplate": { "type": "http", "url": "https://mcp.emailtemplate.theboomer.dev/mcp", "headers": { "Authorization": "Bearer et_your_key" } } } } -
Start the server
On save, VS Code offers to start the server. Accept and check that the 13 tools show up in the MCP view.
Frequently asked questions
- How do I keep the key out of the file?
- VS Code supports `inputs` to prompt for the value at start. If you keep it in `.vscode/mcp.json`, add that file to .gitignore.
- Does it work with Copilot chat?
- Yes, the server’s tools appear in the chat tool picker while the server is running.