Skip to main content
Glama

internal-ops-mcp

CI

MCP server that connects an agent to the internal support tools of Northline Goods, a fictional company. It exposes a local help center and a ticket queue stored in SQLite and seeded from fixtures/. The process does not use the network and does not need an API key.

NOTE

Northline Goods is fictional. This repository does not talk to a real help desk.

Maintainer: Mina Elzek · Built: January 2026

About

Server name

internal-ops

Entry point

python -m internal_ops_mcp

Transport

stdio

Store

SQLite. Default path data/ops.db. Override with OPS_DB_PATH.

Auth

Optional. When OPS_MCP_TOKEN is set, every tool call must pass that same value as access_token.

Python

3.11+

Seeding reads fixtures/docs/ and fixtures/tickets.json. Running it again does not duplicate rows.

Related MCP server: Zendesk MCP Server

Tools

Each tool returns a JSON string. A failure returns {"error": "..."} with a message the agent can act on. Stack traces are written to stderr, not returned to the caller.

Tool

Purpose

search_docs

Find help-center articles. Arguments: query, optional product (billing, accounts, shipping), optional limit (1–20, default 5). Each result has id, title, product, and snippet.

get_doc

Load one article by doc_id, including the full markdown body.

list_open_tickets

List tickets with status open. Optional priority (low, medium, high, critical) and limit. Each row has id, title, priority, status, and requester. Resolved and pending tickets are omitted.

get_ticket

Load one ticket by ticket_id, including description and last_note.

create_ticket

Insert a ticket with status open. Arguments: title, body, priority, requester_email. The email must look like name@domain.tld.

The resource ops://stats returns JSON with doc_count and open_ticket_count.

Every tool takes an optional access_token. If OPS_MCP_TOKEN is unset, local stdio calls are allowed without it. Set the variable before sharing the server. A missing or wrong token returns an error string and does not run the tool.

Getting started

Prerequisites

  • Python 3.11 or newer

  • An MCP client that can launch a stdio server

Install

python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-dev.txt

On Windows PowerShell:

py -3 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements-dev.txt

requirements.txt is the runtime set (mcp 1.x and pydantic). requirements-dev.txt adds pytest.

Run

python -m internal_ops_mcp

The process speaks MCP over stdin and stdout. On startup it seeds the database. If OPS_MCP_TOKEN is missing it still starts, and it prints a stderr note telling you to set that variable before exposing the server.

Client configuration

Point the client at a checkout of this repository. Replace the paths below.

{
  "mcpServers": {
    "internal-ops": {
      "command": "python",
      "args": ["-m", "internal_ops_mcp"],
      "cwd": "/absolute/path/to/internal-ops-mcp"
    }
  }
}

Leave OPS_MCP_TOKEN unset for local use. To require a token, add it under env and pass that same value as access_token on every tool call. Do not commit a real token.

Tests

python -m pytest

Tests set OPS_DB_PATH to a temporary database. They do not read data/ops.db.

Project layout

internal_ops_mcp/    server, auth, and SQLite access
fixtures/docs/       help-center articles
fixtures/tickets.json
tests/               pytest

Contributing

See CONTRIBUTING.md. The Code of Conduct applies to this repository.

Security

See SECURITY.md.

License

MIT © 2026 Mina Elzek

Available Tools

5 tools
create_ticketB

Open a new ticket. The ticket is stored with status open.

Inputs: body (required), title (required), priority (required), requester_email (required), +1 more. Returns: result

get_docA

Fetch one help-center article, including its full markdown body.

Inputs: doc_id (required), access_token. Returns: result

get_ticketB

Fetch one ticket, including its description and latest note.

Inputs: ticket_id (required), access_token. Returns: result

list_open_ticketsA

List tickets that are still open. Resolved and pending tickets are omitted.

Inputs: limit, priority, access_token. Returns: result

search_docsC

Search Northline help-center articles by keyword.

Inputs: query (required), limit, product, access_token. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation5/5

    The tool set splits cleanly into two resource families (docs and tickets), and within each family the actions are distinct: search_docs searches while get_doc fetches a single article, and list_open_tickets lists while get_ticket and create_ticket operate on a single ticket. No two tools could reasonably be confused for one another.

    Naming Consistency5/5

    All five tools follow a strict snake_case verb_noun pattern (search_docs, get_doc, list_open_tickets, get_ticket, create_ticket), with verbs that accurately signal the operation. The only variance is the natural doc/docs singular-plural distinction, which is idiomatic rather than inconsistent.

    Tool Count4/5

    Five tools is on the lean side but every tool serves a distinct purpose and none is redundant. It is slightly thin for an 'internal-ops' surface that touches both documentation and ticketing, but well within a reasonable scope.

    Completeness3/5

    The ticket lifecycle is a dead end: tickets can be created and read, but there is no update, close, resolve, or comment/note operation, so an agent cannot act on the tickets it lists. The docs side is read-only, which is plausible for a help center but leaves no way to enumerate articles beyond keyword search.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers