Skip to main content
Glama
it370

mock-mcp

by it370
README.md
# MCP Connector Developer Guide

This repository contains the documentation and mock MCP/OAuth server for developers who want to expose an MCP server to our platform.

## Run

```bash
npm start
```

One process serves the guide UI and both OAuth samples. Local default: **http://localhost:8700** (`PORT` / `DEMO_UI_PORT`).

| Version | MCP | Authorize | Token |
| --- | --- | --- | --- |
| OAuth 2.0 | `{origin}/2.0/mcp` | `{origin}/2.0/oauth/authorize` | `{origin}/2.0/oauth/token` |
| OAuth 2.1 | `{origin}/2.1/mcp` | `{origin}/2.1/oauth/authorize` | `{origin}/2.1/oauth/token` |

`{origin}` is whatever host you opened (the UI loads this from `/config.json`). Callbacks use the current origin + `/callback`.