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
Frameworks & SDKs
Authentication
    OAuth Sign-InAPI KeysAccount API Keys
Auth API Guides
powered by Zudoku
Authentication

Sign In with Your MewCP Account

Most AI apps connect to MewCP by signing in with your MewCP account over OAuth. You give the app one URL, it opens a browser window, you sign in and allow access, and the app is connected. There is no key to copy, paste or rotate.

Code
https://gateway.mewcp.com/personal/mcp

Sign-in works on your personal toolset: the apps you have connected under Apps in the dashboard. Project toolsets in business projects take an API key instead.


Sign-in or API key

OAuth sign-inAPI key
Use it forAI apps you use yourself, such as Claude, ChatGPT, Cursor or Claude CodeCode that runs without a browser: SDKs, agent frameworks, scripts
What goes in the configThe URL onlyThe URL and an Authorization header
Works withYour personal toolsetYour personal toolset and project toolsets
To stop itDisconnect the app under API Keys → Connected agentsRevoke the key under API Keys

Every guide under Connect AI Apps uses sign-in. The Frameworks & SDKs guides use an API key, since code you run has no browser to sign in with.


How sign-in works

  1. Add MewCP to your app

    Follow your app's guide under Connect AI Apps. Most apps need only the URL above.

  2. Sign in to MewCP

    A browser window opens the first time the app connects. Some apps wait until you click Connect or Authenticate, or run a login command, which the app's guide shows. Sign in to MewCP if you are not signed in already.

  3. Allow access

    MewCP shows which app is asking, for example "Claude Code wants to access your MewCP account", and what it will be able to do: Use your personal MewCP toolset. Check the app and where it returns to, then click Allow access. Click Cancel to refuse.

  4. Go back to your app

    The browser hands you back to the app, which is now connected. You can close the tab.

What the consent screen tells you

  • Who is asking. Under the app's name, Verified with a web address means MewCP has verified the app. Recognized app means MewCP knows the app. from followed by a web address names the site the app comes from. Unverified app comes with a warning: "MewCP hasn't verified this app. Only continue if you trust it."
  • Where you return. Returns to names the site you go back to after you allow access. Returns to an app on this computer is normal for desktop and terminal apps. Only continue if you just started sign-in in that app.
  • Which account. The screen shows the MewCP account you are signed in as. Choose Switch account to use another one.

Staying signed in

You sign in once per app. The app keeps its access fresh on its own, so you are not asked again while you keep using it.

You sign in again when:

  • the app has not used MewCP for 30 days,
  • a year has passed since you first signed in to that app, or
  • you disconnected the app.

Each sign-in is separate. The same app on two computers shows up as two connected agents, and disconnecting one leaves the other signed in.


See and disconnect connected agents

Every app you have signed in to MewCP is listed under Connected agents on the API Keys page of the dashboard, with the device it signed in from, when it connected and when it was last active.

To remove one, click Disconnect next to it. The app loses access to your MewCP account within 15 minutes and has to sign in again to come back.


Troubleshooting

No browser window opens

Some apps open the sign-in page only when you ask. Look for Connect, Authenticate or a login command in your app's guide under Connect AI Apps. Apps that run on a server with no browser cannot sign in: use an API key instead.

"This sign-in request has expired or was already used"

The sign-in page was left open too long, or was already completed. Go back to your app and start sign-in again.

"Your sign-in has expired. Sign in again from your MCP client."

The app's sign-in has run out or was disconnected. Sign in again from the app: reconnect or re-authenticate the mewcp server there.

"Signed-in access works only on your personal toolset"

The app signed in, but its URL points at a project toolset. Use https://gateway.mewcp.com/personal/mcp, or send a project API key for a project toolset.

The app connects but uses the wrong account

The app is signed in as a different MewCP account. Disconnect it under API Keys → Connected agents, then sign in again from the app and choose Switch account on the consent screen.

A 403 says your plan's billing period has ended

Your MewCP plan needs renewing. Check it under Billing.


For MCP client developers

MewCP follows the MCP authorization spec. A request to the personal endpoint without a valid token gets a 401 whose WWW-Authenticate header points at the protected resource metadata, so spec-compliant clients find sign-in on their own.

ItemValue
Protected resource metadatahttps://gateway.mewcp.com/.well-known/oauth-protected-resource/personal/mcp
Authorization server metadatahttps://gateway.mewcp.com/.well-known/oauth-authorization-server
Grant typesauthorization_code with PKCE (S256), refresh_token
Client registrationClient ID metadata documents, or dynamic client registration
Client authenticationNone (public clients)
Scopemcp

Send the access token as Authorization: Bearer <token>. Access tokens last 15 minutes. Refresh tokens are rotated on every use.

Last modified on November 29, 2026
TypeScript MCP ClientAPI Keys
On this page
  • Sign-in or API key
  • How sign-in works
    • What the consent screen tells you
  • Staying signed in
  • See and disconnect connected agents
  • Troubleshooting
    • No browser window opens
    • "This sign-in request has expired or was already used"
    • "Your sign-in has expired. Sign in again from your MCP client."
    • "Signed-in access works only on your personal toolset"
    • The app connects but uses the wrong account
    • A 403 says your plan's billing period has ended
  • For MCP client developers