Version 1.0.0 - AI-Powered Backlog Generator for VISHKAR Project Context
Two-phase workflow: Fast epic generation (Claude Sonnet 4.5) + Detailed story generation (GPT-5) with iterative refinement
/api/mcp - Main MCP endpoint (GET for health, POST for tools)Two-phase workflow: Fast epics first, then detailed stories. Iterative refinement supported.
GET /api/mcp
Response:
{
"name": "StoryCrafter MCP",
"version": "1.0.0",
"tools": ["generate_epics", "generate_stories", "regenerate_epic", "regenerate_story"],
"service_url": "https://storycrafter-service.vercel.app",
"status": "healthy"
}POST /api/mcp
Content-Type: application/json
{
"method": "tools/call",
"params": {
"tool": "generate_epics",
"arguments": {
"project_context": {
"project_summary": {
"name": "TaskMaster",
"description": "Task Management App with offline support",
"target_users": "Remote teams needing offline task management"
},
"final_decisions": {
"technical_stack": "React Native, IndexedDB, Service Workers",
"timeline": "4 weeks",
"team_size": "2 developers",
"priorities": ["Offline support", "Task CRUD", "Sync"]
}
}
}
}
}POST /api/mcp
Content-Type: application/json
{
"method": "tools/call",
"params": {
"tool": "generate_stories",
"arguments": {
"project_context": { /* same as above */ },
"epics": [
{
"id": "EPIC-1",
"title": "User Authentication & Profile",
"description": "Secure user authentication system",
"priority": "high",
"category": "security"
}
/* ... more epics from generate_epics output */
]
}
}
}{
"content": [
{
"type": "text",
"text": {
"success": true,
"backlog": {
"project": {
"name": "TaskMaster",
"description": "Task Management App with offline support"
},
"epics": [
{
"id": "EPIC-1",
"title": "User Authentication & Profile Management",
"description": "Core user authentication with secure profile management",
"stories": [
{
"id": "STORY-1",
"title": "User Registration with Email Verification",
"description": "As a new user, I want to register...",
"acceptance_criteria": [...],
"technical_tasks": [...],
"story_points": 5,
"estimated_hours": 12
}
]
}
]
},
"summary": {
"total_epics": 8,
"total_stories": 36,
"total_estimated_hours": 458,
"generated_at": "2025-10-25T15:30:00Z"
}
}
}
]
}StoryCrafter works with VISHKAR project context (project_summary + final_decisions):
āāāāāāāāāāāāāāāāāāāā
ā Vishkar Agent ā
ā (User Request) ā
āāāāāāāāāā¬āāāāāāāāāā
ā MCP Protocol
āāāāāāāāāā¼āāāāāāāāāāāāāā
ā StoryCrafter MCP ā (Next.js - This Service)
ā /api/mcp ā
āāāāāāāāāā¬āāāāāāāāāāāāāā
ā HTTP
āāāāāāāāāā¼āāāāāāāāāāāāāā
ā StoryCrafter Service ā (Python/FastAPI)
ā - Claude Sonnet 4.5 ā (Epic Structure)
ā - GPT-5 ā (Story Details)
āāāāāāāāāāāāāāāāāāāāāāāā