Skip to content

nuonic-digital/mittwald-flow-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mittwald-flow-mcp

An MCP server that provides access to the mittwald flow component library documentation. Designed for use with AI coding assistants like Claude Code.

Tools

Tool Description
list_components List all components, optionally filtered by category
get_component_overview Get overview documentation with usage examples
get_component_develop Get property tables, events, and accessibility props
get_component_guidelines Get usage guidelines and best practices

Component slugs (e.g. button, text-field) are used as identifiers. Categories are auto-detected when omitted.

Setup

Requires Bun (runtime and package manager).

bun install

This installs dependencies and Playwright Chromium (via postinstall).

Usage

With Claude Code

Add to your Claude Code MCP config (~/.claude/claude_code_config.json or project-level .claude/settings.json):

{
  "mcpServers": {
    "mittwald-flow-docs": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/mittwald-flow-mcp/src/index.ts"]
    }
  }
}

Standalone

bun run start

The server communicates over stdio using the Model Context Protocol.

Architecture

Data Source Reason
Component list GitHub API (tree endpoint) Single call, gives full structure
Overview / Guidelines Raw MDX from GitHub Already markdown, cleaned of JSX
Develop (properties) Playwright (headless Chromium) Property tables are client-rendered

Results are cached in-memory with configurable TTLs (30–120 min depending on data type).

Development

# Type check
bunx tsc --noEmit

# Test with MCP inspector
bunx @modelcontextprotocol/inspector

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors