Skip to main content
Glama

secure-helpdesk-mcp

An MCP server for an internal IT helpdesk that treats every tool call and every piece of ticket content as untrusted.

Work in progress. Right now the server runs over stdio against a local mock helpdesk API. OAuth, the HTTP transport and the hardening features are next.

Running it locally

You need uv and Python 3.12+.

uv sync
cp .env.example .env

Start the mock helpdesk API (it creates and seeds helpdesk.db on first start):

uv run uvicorn helpdesk_api.main:create_app --factory --port 8001

Then open the MCP server in the MCP Inspector:

npx @modelcontextprotocol/inspector uv run helpdesk-mcp

Until OAuth lands, the server acts as the fixed user in HELPDESK_MCP_DEV_IDENTITY (for example sam.sullivan:employee). Swap in melinda.morgan:agent or lisa.lawson:admin to see what the other roles can do.

Claude Desktop

Add this to claude_desktop_config.json, with your own path:

{
  "mcpServers": {
    "helpdesk": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/secure-helpdesk-mcp", "helpdesk-mcp"],
      "env": {
        "HELPDESK_MCP_SERVICE_TOKEN": "change-me-demo-service-token",
        "HELPDESK_MCP_DEV_IDENTITY": "sam.sullivan:employee"
      }
    }
  }
}

Related MCP server: SecureAgentServer

Tests

uv run pytest

tests/attacks/ holds the security tests: scope escalation, malformed input, and direct attempts against the backend's own access rules.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server for an AI IT helpdesk that exposes 29 tools, 10 resources, and 6 prompts for ticket management, knowledge base search, employee lookup, reporting, and Slack notifications, with a multi-agent conversation pipeline.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables secure support-ticket and customer-account operations with signed JWT authentication, prompt-injection and tool-poisoning guardrails, and human-in-the-loop confirmation for destructive actions.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP tool calls with strict schema validation and stdio isolation, while providing a security gateway for tool-level authorization, streaming PII redaction, and model failover routing.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to read and search seeded inbox and CRM data, fetch allowed pages, and perform gated email and contact updates through MCP tools, with layered protections against prompt-injection-driven tool calls.
      MIT