riotplan-mcp-http

riotplan-mcp-http

An HTTP-based Model Context Protocol server for RiotPlan that exposes comprehensive planning tools, resources, and prompts for AI agents. It enables full plan lifecycle management, including ideation, shaping, execution tracking, and retrospective generation.

Category
Visit Server

README

@kjerneverk/riotplan-mcp-http

HTTP MCP server for RiotPlan.

This package is the network-facing surface of RiotPlan. It exposes every plan operation as an MCP tool, resource, or prompt over HTTP using Hono and the MCP SDK's StreamableHTTPTransport. Clients like Cursor, VS Code extensions, and any MCP-compatible agent connect here.

What lives here

Server (src/server-hono.ts)

The Hono application that wires up MCP transport, session management, cloud sync, RBAC authentication, plan download/upload routes, and the /health endpoint. This is the main runtime entry point.

Tools (src/tools/)

Every riotplan_* MCP tool definition. Each file exports a tool object with a name, Zod schema, description, and execute function. Tools cover the full plan lifecycle:

  • idea -- create plans, add notes/constraints/questions/evidence/narrative
  • shaping -- start shaping, add approaches, compare, select
  • build -- prepare caller-side generation instructions from plan artifacts
  • build-write -- validate and persist generated plan artifacts and steps
  • step -- start, complete, add, remove, move steps
  • status -- read plan status
  • transition -- move between lifecycle stages
  • history -- checkpoints and timeline
  • catalyst -- manage catalyst associations
  • evidence -- structured evidence writer
  • reflect -- step reflections
  • retrospective -- generate plan retrospectives
  • context -- read plan context for LLM consumption
  • project -- bind plans to projects, resolve project context
  • switch -- list plans, switch active plan, rename, delete
  • generate -- server-side AI plan generation (legacy)
  • validate -- plan validation

Resources (src/resources/)

MCP resource handlers for read-only access to plan data (plan metadata, status, steps, individual step content, idea, shaping, evidence, timeline, checkpoints, artifacts, prompts).

Prompts (src/prompts/)

MCP prompt templates for guided workflows (create plan, explore idea, shape approach, develop plan, execute step, execute plan, track progress, generate retrospective).

Session (src/session/)

Session management for multi-connection MCP server operation.

Other

  • rbac.ts -- role-based access control engine (API key auth, user/role lookup, route-level enforcement).
  • bin-http.ts -- CLI entry point for starting the HTTP server.
  • heartbeat.ts -- health/liveness utilities.
  • types.ts -- MCP-specific type definitions (McpTool, ToolResult, ToolExecutionContext, resource types, prompt types).
  • uri.ts -- riotplan:// URI parser.

Dependencies

Package Role
@kjerneverk/riotplan Plan operations, types, AI artifact loading, config, status generation, step mutations, reflection writer, plan loader, plan categories
@kjerneverk/riotplan-core Core service composition (lifecycle, status, idea, build helpers) -- used by a subset of tools
@kjerneverk/riotplan-format SQLite provider for direct plan file/step/timeline access

The dependency on @kjerneverk/riotplan is currently broad -- tools import from subpaths like @kjerneverk/riotplan/ai/artifacts and @kjerneverk/riotplan/config. A future goal is to narrow this so the MCP server depends only on well-defined service interfaces rather than reaching into riotplan internals.

Development

During development, use npm link to resolve sibling packages:

cd ../riotplan && npm link
cd ../riotplan-core && npm link
cd ../riotplan-mcp-http && npm link @kjerneverk/riotplan @kjerneverk/riotplan-core @kjerneverk/riotplan-format

Status

Extraction in progress. Source code is real (copied from riotplan/src/mcp/ with imports rewritten to use package paths). The identical source still exists in riotplan/src/mcp/ and is tested through the riotplan test suite. Standalone build, tests, and npm publishing are not yet configured.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured