Note: it was forked from: <https://github.com/run-llama/mcp-nextjs> with the following changes:
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:.
Note: it was forked from: https://github.com/run-llama/mcp-nextjs with the following changes:
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.
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.
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.
{
"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.
| Variable | Description | Required |
|---|---|---|
| MCP_PROXY_AUTH_TOKEN | Credential the server authenticates with. | Yes |
| DATABASE_URL | Endpoint or connection string the server talks to. | Yes |
| BETTER_AUTH_SECRET | Credential the server authenticates with. | Yes |
| GOOGLE_CLIENT_ID | Configuration value read at startup. | Optional |
| GOOGLE_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| GITHUB_CLIENT_ID | Configuration value read at startup. | Optional |
| GITHUB_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| DISCORD_CLIENT_ID | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.