Skip to main content

MCP Server for DDL Inception - AI-driven Business Case creation

Project description

Inception MCP Server

ADR-017: Domain Development Lifecycle

MCP Server for AI-driven Business Case creation through conversational interface.

Overview

This MCP server provides tools for creating, refining, and finalizing Business Cases through a structured question-answer workflow. It integrates with the governance database and optionally uses LLM for intelligent extraction.

Tools

Tool Description
start_business_case Start new BC from free-text description
answer_question Answer clarifying questions
finalize_business_case Finalize BC and derive Use Cases
list_business_cases List BCs with filters
get_business_case Get full BC details
get_categories Get available categories
submit_for_review Submit BC for review
get_session_status Check inception session status

Installation

cd packages/inception-mcp
pip install -e .

Configuration

Environment variables:

# Database connection
DATABASE_URL=postgresql://user:pass@localhost:5432/platform

# LLM Gateway (optional)
LLM_GATEWAY_URL=http://localhost:8080/v1
LLM_API_KEY=sk-...
LLM_MODEL=claude-3-sonnet

Usage

Run as MCP Server

inception-mcp

Configure in Windsurf/Claude Desktop

Add to mcp_config.json:

{
  "mcpServers": {
    "inception": {
      "command": "inception-mcp",
      "env": {
        "DATABASE_URL": "postgresql://..."
      }
    }
  }
}

Workflow

  1. Start: Call start_business_case with initial description
  2. Refine: Answer questions via answer_question (7 questions)
  3. Finalize: Call finalize_business_case to complete
  4. Review: Submit via submit_for_review when ready

Example Session

User: Create BC for "Wir brauchen eine bessere Suchfunktion"

→ start_business_case(initial_description="Wir brauchen...")
← session_id, bc_code="BC-001", question="Wer ist die Zielgruppe?"

User: Alle registrierten Benutzer

→ answer_question(session_id, answer="Alle registrierten Benutzer")
← question="Welche konkreten Vorteile werden erwartet?"

... (5 more questions) ...

→ finalize_business_case(session_id, derive_use_cases=true)
← bc_code="BC-001", derived_use_cases=[...], next_steps=[...]

Questions

The inception workflow asks these questions in order:

  1. target_audience: Who benefits?
  2. expected_benefits: What benefits are expected?
  3. scope: What's included?
  4. out_of_scope: What's excluded?
  5. success_criteria: How to measure success?
  6. risks: What risks exist?
  7. requires_adr: Is an ADR needed?

Database Schema

Uses tables from apps.governance:

  • platform.dom_business_case
  • platform.dom_use_case
  • platform.dom_conversation
  • platform.dom_conversation_turn
  • platform.dom_status_history
  • platform.lkp_domain / platform.lkp_choice

Development

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

Related

  • ADR-015: Platform Governance System
  • ADR-017: Domain Development Lifecycle
  • governance app: Django models and admin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iil_inception_mcp-0.1.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iil_inception_mcp-0.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file iil_inception_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iil_inception_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for iil_inception_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 abcd68d508081e4c0c19b85c3bf28a9b0a7fcf3cb1522520ebe5b6af75094e78
MD5 39b2efbf42bc3b15a13ea1e430b874b9
BLAKE2b-256 a5cd6a79bd2a127ab9a5a469d21c2d7d9dee5856f7e729aa916f33209d28ec10

See more details on using hashes here.

File details

Details for the file iil_inception_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iil_inception_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5feb7b432f663d7bf219accd1f1a4c8c13c606de323c080a485cbcaec8b0cfe
MD5 07b677caf1560fafc8d68d1f217e3ab6
BLAKE2b-256 6a627b7b18e6d0b0d311a19df0b14f69e2a6458e1ebd872af42fdb0ec47020fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page