Gabriele Karra

mcp-anything - One command to turn any codebase into an MCP server

byβ€’
mcp-anything turns any codebase into a fully working MCP server with one command and zero boilerplate. Works with FastAPI, Flask, Spring Boot, Express, Rails, Go, Rust, CLI apps, and OpenAPI specs. It analyzes your code, extracts endpoints, and generates a production-ready MCP server. Includes streamable HTTP, prompts, dynamic docs, AGENTS.md, OpenTelemetry, and Docker β€” all auto-generated.

Add a comment

Replies

Best
Gabriele Karra
Maker
πŸ“Œ
Hey everyone! πŸ‘‹ I built mcp-anything because I was spending more time writing MCP servers than actually using them. Every time I wanted to connect a new API or CLI tool to Claude, I had to read the docs, write tool definitions, map parameters, handle auth, write tests, package it… and then do it all over again for the next project. So I built mcp-anything. It does all of that in one command. Point it at a codebase, and it will: Analyze the source code with AST parsing Detect endpoints, parameters, types, and auth Generate a complete MCP server with tools, tests, docs, and packaging It works with: - FastAPI - Flask - Spring Boot - OpenAPI specs - CLI apps (Click, Typer, argparse) It’s fully open source and MIT licensed. I’d love your feedback: what frameworks or languages should I support next? πŸš€