MewCPMewCP
  • AstheTech
  • Contact Us
  • Documentation
  • MewCP Auth API
Have a question?
  • ✉ Contact us - our dev team will reach out as soon as possible

© 2026 MewCP. All rights reserved.

githubx
Getting Started
Connect AI Apps
    Claude DesktopClaude CodeVS CodeCursorCodexOpenCodeOpenClawAntigravityHermesDeepSeek Harness
Frameworks & SDKs
Authentication
Auth API Guides
powered by Zudoku
Connect AI Apps

How to Connect VS Code to MewCP

Add MewCP to VS Code once, and GitHub Copilot Chat can use every app you have connected in MewCP: Gmail, Calendar, Slack, GitHub and the rest. VS Code connects to MewCP directly over HTTP, so there is nothing to install.

There are two ways to set it up:

MethodWhere the key livesBest for
Copilot config fileIn the fileMost people. Also works in GitHub Copilot CLI
Prompt for the keyStored securely by VS Code, not in the fileKeeping the key out of config files

Before you start

  • VS Code with GitHub Copilot set up (Copilot in VS Code)
  • A API Key from Dashboard → API Keys, see API Key
  • At least one app connected in the dashboard under Servers

Option A: Copilot config file

  1. Open the file

    Create or open ~/.copilot/mcp-config.json in your home folder. If you have set COPILOT_HOME, use mcp-config.json in that folder instead. On Windows, your home folder is %USERPROFILE%.

  2. Add MewCP

    Paste this into the file and replace API_KEY with your key:

    Code
    { "mcpServers": { "mewcp": { "type": "http", "url": "https://gateway.mewcp.com/personal/mcp", "headers": { "Authorization": "Bearer API_KEY" } } } }

    Already have an mcpServers section? Add only the "mewcp": { ... } entry inside it.

  3. Start it

    Open the Chat view and send a message. VS Code starts new servers when you send a chat message. The first time, it asks whether you trust MewCP. Confirm to start it.

To share MewCP with everyone who works in a repository, put the same JSON in a .mcp.json file at the workspace root instead. Leave your key out of a file you commit: use Option B for that workspace, or have each person keep their own key in their user file.


Option B: Prompt for the key

VS Code can ask for your key once and store it securely, so the key never sits in a config file.

  1. Open your user configuration

    Open the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows and Linux) and run MCP: Open User Configuration. This opens mcp.json in your VS Code user profile.

  2. Add MewCP

    Paste this in. Note that this file uses servers, not mcpServers:

    Code
    { "inputs": [ { "type": "promptString", "id": "mewcp-key", "description": "API Key", "password": true } ], "servers": { "mewcp": { "type": "http", "url": "https://gateway.mewcp.com/personal/mcp", "headers": { "Authorization": "Bearer ${input:mewcp-key}" } } } }
  3. Enter your key

    Save the file. When MewCP starts for the first time, VS Code asks for the API Key. Paste your key, without Bearer.

VS Code does not pass servers that prompt for input to Agent Host sessions. If MewCP is missing there, use Option A.

This is the entire configuration either way. One entry reaches every app you have connected, and connecting another app later needs no change here.


Check it works

Run MCP: List Servers from the Command Palette. MewCP should be listed as running. In the Chat view, select Configure Tools in the chat input to see its tools.

You will see four tools, not the tools of every app: search, get_schema, list_accounts and call_tool. That is expected. Copilot uses them to find and run the right tool for whatever you ask. See How MewCP works.

Then ask Copilot in agent mode for something from an app you have connected:

Code
What is on my calendar tomorrow?

VS Code may ask you to confirm each tool call.


Troubleshooting

Chat shows an error for MewCP

Run MCP: List Servers, select mewcp, and choose Show Output. The output shows why it failed to start or connect. You can also select the error in the Chat view and choose Show Output.

MewCP does not appear at all

Check the top-level key matches the file:

FileTop-level key
~/.copilot/mcp-config.json or .mcp.jsonmcpServers
User profile mcp.json or .vscode/mcp.jsonservers

Older guides put MCP servers in settings.json under "mcp". Move the entry into one of the files above.

The output shows 401 or 403

MewCP rejected the key.

  • Check the header reads Bearer followed by the whole key, which starts with mcp_live_.
  • With Option B, enter the key alone when VS Code asks. The config already adds Bearer .
  • A 403 that says the billing period is not active means your MewCP plan needs renewing in the dashboard.

MewCP was not started because you declined the trust prompt

Run MCP: Reset Trust from the Command Palette, then send a chat message again and confirm.

MCP tools are turned off by your organization

On Copilot Business and Enterprise plans, an admin controls whether MCP servers can be used in Copilot. If no MCP server works, ask your admin to allow MCP servers, or to add https://gateway.mewcp.com to your organization's allowlist. See GitHub's MCP allowlist guide.


Last checked against VS Code's documentation on 13 October 2026.

Last modified on October 15, 2026
Claude CodeCursor
On this page
  • Before you start
  • Option A: Copilot config file
  • Option B: Prompt for the key
  • Check it works
  • Troubleshooting
    • Chat shows an error for MewCP
    • MewCP does not appear at all
    • The output shows 401 or 403
    • MewCP was not started because you declined the trust prompt
    • MCP tools are turned off by your organization
JSON
JSON