←back to thread

6 points jlowin | 2 comments | | HN request time: 0.423s | source

Hi HN --

Since Anthropic announced the Model Context Protocol (MCP) last week [1], I've been excited about giving Claude new capabilities through my custom servers. But while MCP is powerful, implementing the protocol correctly requires a lot of low-level boilerplate code. I found myself wanting something like FastAPI - a high-level framework that would let me focus on building features, not servers.

After some hacking, I'm sharing FastMCP: a Pythonic framework for building MCP servers. FastMCP uses decorators to transform normal functions into MCP tools, resources, templates, and prompts, handling all the protocol and server complexity so you can focus and iterate quickly.

This is a young project that didn't exist 24 hours ago, but it's ready for some kicking so I'd welcome any thoughts!

[1] HN Link: https://news.ycombinator.com/item?id=42237424

1. mulmboy ◴[] No.42287042[source]
Amazing! I am half way through building exactly this (and was even toying with the exact same name) but this is better plus you've beaten me to release. I have a heap of ideas and will jump in on an issue or discussion later today, would love to ditch my work and adopt this
replies(1): >>42288447 #
2. jlowin ◴[] No.42288447[source]
Nice! Would love to collaborate