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
- Start: Call
start_business_casewith initial description - Refine: Answer questions via
answer_question(7 questions) - Finalize: Call
finalize_business_caseto complete - Review: Submit via
submit_for_reviewwhen 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:
- target_audience: Who benefits?
- expected_benefits: What benefits are expected?
- scope: What's included?
- out_of_scope: What's excluded?
- success_criteria: How to measure success?
- risks: What risks exist?
- requires_adr: Is an ADR needed?
Database Schema
Uses tables from apps.governance:
platform.dom_business_caseplatform.dom_use_caseplatform.dom_conversationplatform.dom_conversation_turnplatform.dom_status_historyplatform.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abcd68d508081e4c0c19b85c3bf28a9b0a7fcf3cb1522520ebe5b6af75094e78
|
|
| MD5 |
39b2efbf42bc3b15a13ea1e430b874b9
|
|
| BLAKE2b-256 |
a5cd6a79bd2a127ab9a5a469d21c2d7d9dee5856f7e729aa916f33209d28ec10
|
File details
Details for the file iil_inception_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iil_inception_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5feb7b432f663d7bf219accd1f1a4c8c13c606de323c080a485cbcaec8b0cfe
|
|
| MD5 |
07b677caf1560fafc8d68d1f217e3ab6
|
|
| BLAKE2b-256 |
6a627b7b18e6d0b0d311a19df0b14f69e2a6458e1ebd872af42fdb0ec47020fb
|