MCP Ticket Demo logo

MCP Ticket Demo

Ticket-focused MCP reference server with stdio and HTTP transports, schema discovery, authentication, PII controls, and observability.

Install MCP Ticket Demo

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-ticket-demo": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ticket-demo"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 19 tools correctly ().

Overview

The mcp-ticket-demo MCP server provides a ticket-desk reference implementation with 19 tools, three resources, five prompts, and stdio, SSE, and Streamable HTTP transports. It demonstrates schema discovery, authentication modes, per-tool authorization gates, rate limiting, PII redaction, and operational controls. Run it with npx for IDE testing, local demos, MCP learning, or as a reference when building a server with similar controls.

Use cases

  • Learn MCP tool, resource, prompt, and transport patterns
  • Test IDE integrations with a local ticket server
  • Demonstrate authentication, scopes, gates, and PII redaction
  • Inspect MCP calls with the observability dashboard
  • Use the implementation as a server reference

Key features

  • 19 ticket and administration tools
  • stdio, SSE, and Streamable HTTP transports
  • Schema discovery with filtered queries
  • Authentication modes and per-tool authorization
  • PII redaction and rate limiting
  • Health, test, admin, and observability endpoints

Tools19

What MCP Ticket Demo lets your agent do. Expand a tool for its parameters.

Verified live~5.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 62d

What it can do

From the 19 tools this server returned when we ran it; 19 declare their own safety hints.

Can delete or modify data · 5Handles credentials · 15Makes network requests · 2Read-only tools · 14
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age32 days
Maintainers1

Observed 2026-10-20 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · mcp-ticket-demo (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads1.2kPackage downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed19Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Ticket Demo works

What mcp-ticket-demo does

The mcp-ticket-demo MCP server models a ticket desk while demonstrating production-oriented MCP patterns. It exposes 19 tools, three resources, and five prompts. Ticket data, schemas, and server operations are available through MCP rather than through a single generic request endpoint.

The ticket portion includes schema discovery through get_schema and querying through run_query. Creating a ticket can require a requester email; without one, the server records attribution indicating that the bot owns the ticket. Query results for the customer schema can redact the phone field when the caller lacks the pii scope.

The same server also exposes operational functions for settings, users, API keys, settings import, and sample traffic. Most administrative operations require the admin scope, including when authentication is otherwise disabled.

How it works

The mcp-ticket-demo MCP server supports stdio for locally spawned clients, plus SSE and Streamable HTTP for networked use. All three transports expose the same tool set. The HTTP mode also provides browser-accessible endpoints for health checks, read-only smoke tests, administration, logs, and tool inventory.

Authentication can be configured as off, write, or all. Operators can combine the selected mode with per-tool gates, authentication locks, scopes, and rate limits. Rate-limit failures include a retry interval so clients can avoid retrying continuously. When an administrator changes a gate, connected SSE and Streamable HTTP sessions receive a tools/list_changed notification; one-shot curl requests do not maintain a session.

Tools use MCP error signaling with isError: true on failures. Tool annotations describe read-only, destructive, idempotent, and open-world behavior, helping clients decide when to confirm or retry an action. Resources include ticket-oriented URIs, open-ticket access, and schema access, with reads subject to the same gate as the corresponding tool.

Setup and configuration

Use Node.js 18 or later. The quickest local commands are:

Terminal
npx mcp-ticket-demo
MCP_MODE=http npx mcp-ticket-demo

The default HTTP address is http://127.0.0.1:8787. Its /health endpoint reports process liveness, while /test runs a read-only smoke test. /admin, /log, and /tools provide administration, observability, and tool inventory views. For a public bind or deployment, set ADMIN_PASSWORD; the default administrative password is disabled in that situation.

The command-line interface can inspect a running instance with status, invoke a tool with call, and apply or verify the demonstration configuration with demo apply and demo check. Use --json for script-friendly output. Commands that delete or reconfigure ask for confirmation.

Tools and capabilities

The mcp-ticket-demo MCP server includes:

  • Ticket operations, schema discovery, and filtered queries.
  • Three MCP resources and five user-facing prompts.
  • API key and user administration.
  • Settings updates, imports, gates, locks, scopes, and rate-limit controls.
  • PII redaction based on the caller's scope.
  • Health, smoke-test, logging, counters, and call-trace views.
  • stdio, SSE, and Streamable HTTP access.

VS Code, Cursor, and Windsurf can launch it with npx mcp-ticket-demo and MCP_MODE=stdio. The repository also documents a VS Code extension that can register the server with supported IDE configurations.

Limitations and notes

The sample data and ticket desk are intended for learning, demonstrations, integration testing, and reference implementation work. A server started in stdio mode is local to the client process, while HTTP deployment requires operators to consider authentication, password configuration, network binding, and administrative scopes.

The public /test endpoint is read-only. Write smoke tests require administrative sign-in. The /health endpoint avoids exposing the working directory except on localhost. The demo apply command changes real server settings, so it should only be used against a server you control.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Ticket Demo

mcp-ticket-demo is an MCP server that connects an AI client to a ticket-desk demonstration system. Its main tools cover ticket operations, schema discovery with get_schema, querying with run_query, and server administration. It supports stdio, SSE, and Streamable HTTP, plus authentication, scopes, PII redaction, rate limiting, and operational dashboards.

Run `npx mcp-ticket-demo` to start it without cloning the repository. For HTTP mode, use `MCP_MODE=http npx mcp-ticket-demo`. You can also clone the repository, enter `server`, install dependencies with npm, and run the documented HTTP script.

Yes, mcp-ticket-demo works with Cursor through a stdio configuration. Add an MCP server entry that runs `npx mcp-ticket-demo` and sets `MCP_MODE` to `stdio`. The README also provides equivalent configuration examples for VS Code and Windsurf.

Use the `run_query` tool after discovering the available schema with `get_schema`. The command-line client accepts schema, filter, and limit values, such as querying the tickets schema with an open-status filter. Customer phone values can be redacted when the caller lacks the `pii` scope.

Set `MCP_MODE=http` before starting the command, then use the default address `http://127.0.0.1:8787`. The HTTP mode exposes `/health`, `/test`, `/admin`, `/log`, `/tools`, and the MCP endpoint. Public deployments should configure `ADMIN_PASSWORD`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Ticket Demo AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-ticket-demo?style=directory)](https://allmcps.com/mcp/mcp-ticket-demo)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-ticket-demo"><img src="https://allmcps.com/api/badge/mcp-ticket-demo?style=directory" alt="MCP Ticket Demo on AllMCPs" /></a>