Skip to main content
Glama
Process Context MCP

Process Context MCP

Process Context MCP

An MCP server that gives AI agents structured context about business processes: which processes exist, their ordered steps, and the role responsible for each step.

Agents that know how work is supposed to happen can route tasks to the right owner, explain a procedure step by step, and check whether an action fits the process before taking it.

Tools

Tool

Description

list_processes

Lists all processes with their ID, name and owner.

get_process

Returns a process with its ordered steps and the responsible role for each. Unknown IDs return an error listing the valid IDs, so the agent can correct itself.

Both tools return typed, structured output (Pydantic models), so clients receive a JSON schema for every result.

Related MCP server: OntoRamp Graph Query

Installation

Requires Python 3.10+.

git clone https://github.com/MeshaalAlharthy/process-context-mcp.git
cd process-context-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Usage

The server communicates over stdio, so MCP clients launch it directly.

Claude Desktop — add this to claude_desktop_config.json:

{
  "mcpServers": {
    "process-context": {
      "command": "/absolute/path/to/process-context-mcp/.venv/bin/process-context-mcp"
    }
  }
}

Process catalog

The server includes a default catalog of three data-protection processes in src/process_context_mcp/data/processes.json. To load your own, point PROCESS_CATALOG_PATH at a JSON file with the same structure:

[
  {
    "id": "access-provisioning",
    "name": "User Access Provisioning",
    "description": "Grants employees access to systems and data based on their role and clearance.",
    "owner": "IT Security Manager",
    "steps": [
      {"order": 1, "name": "Submit access request", "role": "Employee"},
      {"order": 2, "name": "Approve business need", "role": "Line Manager"}
    ]
  }
]

The catalog is validated on startup, so a malformed file fails fast with a clear error.

Development

pip install -e ".[dev]"
pytest

Tests connect an in-process MCP client to the server and exercise every tool, including the error path.

License

MIT

Available Tools

2 tools
get_processB

Return a business process with its ordered steps and the role responsible for each.

Inputs: process_id (required). Returns: id, name, owner, steps, +1 more

list_processesA

List all available business processes with their ID, name and owner.

Inputs: no named parameters. 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 2 tools

    Disambiguation5/5

    list_processes returns a collection summary while get_process returns a single process with its ordered steps and role assignments. The list-versus-fetch boundary is the clearest possible split, so an agent cannot reasonably confuse them.

    Naming Consistency5/5

    Both names follow the same verb_noun snake_case pattern with the same noun (processes/process), matching the server's domain exactly. No deviation in convention.

    Tool Count3/5

    Two tools is thin even for a context-lookup server; there is no way to query steps, roles, or filter processes independently. Each tool is well-scoped, but the surface feels like a minimal slice rather than a deliberate, complete set.

    Completeness3/5

    Coverage is read-only enumeration plus detail retrieval, which fits a context provider, but notable operations are absent: searching/filtering processes, fetching a single step or role, and any write or update path. Agents can work around most of this by pulling a whole process, but deep queries require over-fetching.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to retrieve customer, order, ticket, policy, and agreement information, and to prepare or execute state-changing support actions like escalations and follow-ups with confirmation and access control.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables routing tasks to the right specialist agents, assembling the needed context from a layered catalog of agents, skills, knowledge, runbooks, topics, tools, and connectors, while remembering how a business wants work done.
      10
      11 npm
      MIT