MCP Oauth MCP Server

Note: it was forked from: <https://github.com/run-llama/mcp-nextjs> with the following changes:

Local serverstdio

What is the MCP Oauth MCP server?

MCP Oauth becomes available to MCP clients through the mcp oauth mcp server. Note: it was forked from: https://github.com/run-llama/mcp-nextjs with the following changes:.

What MCP Oauth does

Note: it was forked from: https://github.com/run-llama/mcp-nextjs with the following changes:

Installing the mcp oauth mcp server

The server is distributed via npm as pnpm, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 8 environment variables: MCP_PROXY_AUTH_TOKEN, DATABASE_URL, BETTER_AUTH_SECRET, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, DISCORD_CLIENT_ID. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Productivity servers pay off through capture: the tasks and notes that never get filed are the ones where opening the app is more friction than the thought is worth. MCP Oauth sits in that group. Worth comparing against the other productivity servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by DTeam-Top.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp oauth mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the MCP Oauth MCP server

{
  "mcpServers": {
      "MyServer": {
        "name": "MCP OAuth Demo",
        "url": "https://example.com/mcp/mcp",
        "transport": "http-stream"
      },
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MCP_PROXY_AUTH_TOKENCredential the server authenticates with.Yes
DATABASE_URLEndpoint or connection string the server talks to.Yes
BETTER_AUTH_SECRETCredential the server authenticates with.Yes
GOOGLE_CLIENT_IDConfiguration value read at startup.Optional
GOOGLE_CLIENT_SECRETCredential the server authenticates with.Yes
GITHUB_CLIENT_IDConfiguration value read at startup.Optional
GITHUB_CLIENT_SECRETCredential the server authenticates with.Yes
DISCORD_CLIENT_IDConfiguration value read at startup.Optional

Frequently asked questions

It connects MCP Oauth to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with MCP Oauth directly.