Repository avatar
Other Tools
v1.0.0
active

mcp

com.decisionpen/mcp

Architecture context for Claude and Cursor: estate graph, evidence, standards; ADRs back for review.

Documentation

DecisionPen Context Engine (MCP)

Works with Claude Desktop, Cursor, and any Model Context Protocol (MCP) client.

License: MIT MCP DecisionPen

DecisionPen is the Context of Record for IT architecture — institutional memory of how the enterprise is built and why. Agents help keep it current. Humans review what becomes trusted.

This repository ships the Context Engine: an MCP server that connects Claude, Cursor, and other agents to that plane. Three common jobs:

  1. Rapid discovery — connect an allowlisted S3 document corpus; DecisionPen proposes LeanIX-aligned structure and keeps document evidence; CMDB-seeded entities get enriched instead of duplicated.
  2. Claude — deep research over the Context of Record before important decisions (natural trial path).
  3. Cursor / agentic SDLC — pull approved patterns and standards while building; publish ADRs and design notes back for human curation.

Agents can read the Enterprise Knowledge Graph, evidence, decisions, and context surfaces; read allowlisted document stores; and publish requirements, ADRs, and notes back. MCP never Confirmed-writes the architecture map. Humans approve what joins the graph.

Hosted remote endpoint (registry / cloud clients): https://mcp.decisionpen.com/mcp with Authorization: Bearer dp_edge_….

GuideWhat it covers
This pageWhat DecisionPen is, what MCP does, and the tools in plain English
CONNECT.mdConnect Claude or Cursor (including Edge API tokens)
CONTEXT.mdTool recipes for research and solution design
SYNC.mdS3 allowlist sync runbook
Product docsdecisionpen.com/docs/context-engine-mcp

Marketing setup guides (SEO / step-by-step):


Why MCP matters here

Enterprise discovery, institutional memory, agentic SDLC, agentic solution architecture, and living enterprise architecture all need the same harnessed context. Without it, agents invent topology or burn tokens re-reading the same HLDs.

MCP is the two-way door:

  1. Read — graph, evidence, decisions, open estate changes
  2. Read documents — allowlisted object store (optional S3)
  3. Publish — submit_document / propose_enrichment → Inbox → human approve

Same plane as built-in Enterprise Ask. Two doors; one Context of Record.


Tools in plain English

Orient

ToolWhat it does
describe_context_modelOnce per session: how the plane is layered (map, evidence, surfaces, Inbox).

Read the Enterprise Knowledge Graph

ToolWhat it does
search_entitiesFind applications, capabilities, etc. by name.
get_entityDescription, aliases, attributes for one entity.
get_entity_relationshipsConfirmed links on the map.
get_relationship_summaryQuick counts by type/direction.
list_entity_types / batch_get_entitiesFilters and hydrate many entities.

Read institutional memory

ToolWhat it does
get_entity_evidenceDocuments and notes bound to an entity (current by default).
search_evidenceSemantic search; pass entity_id or a knowledge surface when you can.
list_derived_decisionsLiving architecture-decision / ADR cards on an entity.
list_entity_changesOpen or recent estate changes (e.g. pending tech replace).
list_context_surfaces / get_surface_evidenceShared patterns, principles, security standards.

Read document repositories (optional S3)

ToolWhat it does
list_sourcesBrowse folders/files under the allowlisted prefix.
search_docsSearch object keys.
get_documentFetch one object to cite (does not save into DecisionPen).
propose_enrichmentPush an S3 object into DecisionPen for Inbox review.
run_syncSync new/changed objects (also available as CLI).
get_enrichment_job / rerun_enrichment_jobPoll or retry enrichment jobs.

Publish (agents write; humans approve)

ToolWhat it does
submit_documentPush UTF-8 text onto an entity or knowledge surface (no S3 required).
propose_enrichmentSame Inbox path from an S3 object.

Requires DP_MCP_MODE=propose (or persist_approved). Nothing becomes Confirmed on the map until a steward accepts it in Inbox.

Ask (last resort)

ToolWhat it does
ask_decisionpenServer-side Ask with citations. Prefer structured tools above so the agent owns the research plan.
list_ask_skillsOptional skill ids for Ask.

Modes

DP_MCP_MODEBehaviour
cite_only (default)Read / cite. No push into DecisionPen.
proposeAgents can submit documents and propose enrichment (Inbox).
persist_approvedAdvanced; still does not Confirmed-write the map from MCP.

Quick start

  1. Create an Edge API token: DecisionPen → Admin → Security & audit → Edge API tokens → Create.
  2. Follow CONNECT.md for Claude Desktop or Cursor.
  3. For document repositories, follow SYNC.md and the S3 docs page.
git clone https://github.com/DecisionPen/decisionpen-mcp.git
cd decisionpen-mcp
python -m venv .venv
source .venv/bin/activate   # Windows: .\.venv\Scripts\Activate.ps1
pip install -e .
cp examples/.env.mcp.example .env.mcp
# set DP_API_BASE + DP_API_TOKEN

Security defaults

  • DecisionPen does not store customer S3 keys on the edge push path. Credentials stay on the edge (your laptop, VPC, or container).
  • Prefix allowlisting, audit log, and rate limits apply.
  • Tokens are hashed at rest; revoke anytime in Admin.

Related product story

No installation packages available.

Remote