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
    Chat apps
    Editors
      VS CodeCursorAntigravityDevin DesktopZedKilo CodeKiro
    CLI agents
Frameworks & SDKs
Authentication
Auth API Guides
powered by Zudoku
Editors

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 and signs in with your MewCP account, so there is nothing to install and no API key to paste.

There are two ways to set it up:

MethodBest for
One clickMost people
MCP configEditing the config yourself, or one workspace only

Before you start

  • VS Code with GitHub Copilot set up (Copilot in VS Code)
  • A MewCP account with at least one app connected under Apps

Option A: One click

  1. Add the server

    Open Connect Agents → VS Code in the MewCP dashboard and click Add to VS Code. This opens VS Code with the server ready to install.

  2. Sign in to MewCP

    A browser window opens the first time VS Code connects. Sign in and click Allow access. No API key needed.


Option B: MCP config

  1. Open your MCP config

    Open the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows and Linux) and run MCP: Open User Configuration. For one project only, use .vscode/mcp.json in the workspace instead.

  2. Add the server

    Note that this file uses servers, not mcpServers:

    Code
    { "servers": { "mewcp": { "type": "http", "url": "https://gateway.mewcp.com/personal/mcp" } } }

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

  3. Start the server

    Click Start above the entry in mcp.json, then sign in to MewCP and click Allow access when the browser window opens.

This is the entire configuration either way. One entry reaches every app you have connected, and connecting another app later needs no change here. The file holds no secret, so a workspace's .vscode/mcp.json can go into git, and each person signs in with their own account.


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, manage_connections 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.


Use an API key instead

VS Code can ask for an API key once and store it securely, so the key never sits in a config file. Use this entry in your user mcp.json instead of the one above:

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

When MewCP starts for the first time, VS Code asks for the key. Paste the key from Dashboard → API Keys, without Bearer.

VS Code does not pass servers that prompt for input to Agent Host sessions. If MewCP is missing there, use sign-in instead.


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, connect or sign in. 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.

No sign-in window opens, or the sign-in failed

Run MCP: List Servers, select mewcp, and restart it to start sign-in again. See OAuth Sign-In for errors on the sign-in page.

The output shows 401 or 403

  • With sign-in, a 401 that says your sign-in has expired means VS Code needs to sign in again. Restart the server.
  • With an API key, enter the key alone when VS Code asks, since the config already adds Bearer . The key starts with mewcp_proj_.
  • A 403 that says your plan's billing period has ended means your MewCP plan needs renewing under Billing.

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 updated on 29 November 2026.

Last modified on November 29, 2026
Mistral VibeCursor
On this page
  • Before you start
  • Option A: One click
  • Option B: MCP config
  • Check it works
  • Use an API key instead
  • Troubleshooting
    • Chat shows an error for MewCP
    • MewCP does not appear at all
    • No sign-in window opens, or the sign-in failed
    • 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