MCP Reference Server
Test bench MCP server for checking clients and spec proposals against a live demo
MCP Reference Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, Web
- Runs
- Locally
- What it can do
- Can change data (5 tools)
- Version
- 1.0.2
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-reference-server --env MCP_API_KEY='<MCP_API_KEY>' --env MCP_USERS='<MCP_USERS>' -- npx -y mcp-reference-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-reference-server": {
"command": "npx",
"args": [
"-y",
"mcp-reference-server"
],
"env": {
"MCP_API_KEY": "<MCP_API_KEY>",
"MCP_USERS": "<MCP_USERS>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-reference-server": {
"command": "npx",
"args": [
"-y",
"mcp-reference-server"
],
"env": {
"MCP_API_KEY": "<MCP_API_KEY>",
"MCP_USERS": "<MCP_USERS>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-reference-server": {
"command": "npx",
"args": [
"-y",
"mcp-reference-server"
],
"env": {
"MCP_API_KEY": "<MCP_API_KEY>",
"MCP_USERS": "<MCP_USERS>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-reference-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-reference-server"
],
"env": {
"MCP_API_KEY": "<MCP_API_KEY>",
"MCP_USERS": "<MCP_USERS>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-reference-server --env MCP_API_KEY='<MCP_API_KEY>' --env MCP_USERS='<MCP_USERS>' -- npx -y mcp-reference-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-reference-server]
command = "npx"
args = ["-y", "mcp-reference-server"]
env = { MCP_API_KEY = "<MCP_API_KEY>", MCP_USERS = "<MCP_USERS>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-reference-server": {
"command": "npx",
"args": [
"-y",
"mcp-reference-server"
],
"env": {
"MCP_API_KEY": "<MCP_API_KEY>",
"MCP_USERS": "<MCP_USERS>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }Or run: gemini mcp add -s user -e MCP_API_KEY='<MCP_API_KEY>' -e MCP_USERS='<MCP_USERS>' mcp-reference-server npx -- -y mcp-reference-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-reference-server": { "command": "npx", "args": [ "-y", "mcp-reference-server" ], "env": { "MCP_API_KEY": "<MCP_API_KEY>", "MCP_USERS": "<MCP_USERS>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MCP_API_KEYAPI key for authenticated tool calls. Issue one on /admin → API Keys. Required when AUTH_MODE=write or AUTH_MODE=all.AUTH_MODEAuthentication mode: off (default), write (write+pii tools gated), all (every tool gated).MCP_USERSExtra username/password users: 'alice:secret:read,write'. Comma-separated, colon-delimited.RATE_LIMITMax tool calls per window per caller. Default 60.
About MCP Reference Server
Rather than a useful integration, this is a deliberately instrumented fixture. It models a small ticketing system with 22 tools, 3 resources and 5 prompts so client authors can see how their software handles real MCP behaviour: tool annotations, isError results, rate limits that return a retry delay, PII redaction in query results, and tools/list_changed notices when an admin changes a gate.
Its distinctive feature is a control plane that toggles 15 MCP specification extensions and SEP prototypes, among them groups, skills, tasks and events, so you can flip one and watch how a client copes. The README warns that this behaviour is prototype code for testing and that the official specification is authoritative.
It runs over stdio, SSE or Streamable HTTP from one codebase, with three auth modes (off, write, all), API keys and optional users. Browser pages cover health, a read-only smoke test, an admin desk, a call log and a tool list with a Try button, and the same command doubles as a command-line client for a running server.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 5 of 8 tools change data.
From the server's own tool labels and tool names; not verified by us.
- create_ticketName suggests: changes
- Creates a ticket; can return a task handle.
- run_queryName suggests: changes
- Queries a schema such as tickets or customers.
- get_schemaName suggests: reads
- Describes available schemas.
- describe_serverName suggests: reads
- Describes the server.
- update_settingsName suggests: changes
- Applies a settings patch.
- draft_replyName suggests: changes
- Asks the client to draft a reply through sampling.
- list_workspace_rootsName suggests: reads
- Lists the client's workspace roots.
- run_test_jobName suggests: changes
- Runs a test job that can send progress notifications.
What it does
- 22 demo tools
- Intent-named tools around a ticket queue, with annotations and error conventions.
- SEP control plane
- Toggle 15 spec extensions and prototypes to test client resilience.
- Three transports
- stdio, SSE and Streamable HTTP from one codebase.
- Auth and gates
- Auth modes, API keys, per-tool gates and rate limiting.
- Live observability
- A log page with counters, error log and call trace.
- CLI client
- The same command can call tools and check a running server.
Good for
- Check an MCP client against skills, tasks and events extensions
- Test how a client handles auth failures and rate limits
- Learn MCP server design from a worked example
- Audit client behaviour when the tool list changes mid-session
Pricing
Open source
Described as a personal open-source project.
MCP Reference Server FAQ
Is MCP Reference Server a production server?
No. The README calls it a reference and demo, and says its SEP behaviour is a test prototype.
How do I run MCP Reference Server?
Run npx mcp-reference-server for stdio, or set MCP_MODE=http to serve /health, /test, /admin and /mcp.
Does MCP Reference Server need authentication?
Auth is off by default; AUTH_MODE can gate write tools or every tool.
Which transports are supported?
stdio, SSE and Streamable HTTP.
Is MCP Reference Server free?
Yes. MCP Reference Server is open source, so you can use and self-host it for free.
How do I add MCP Reference Server to Claude Code?
Run this command in your terminal: claude mcp add mcp-reference-server --env MCP_API_KEY='<MCP_API_KEY>' --env MCP_USERS='<MCP_USERS>' -- npx -y mcp-reference-server
What are the best alternatives to MCP Reference Server?
The closest alternatives to MCP Reference Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


