December 1, 2024

Introducing FastMCP 🚀

Because life's too short for boilerplate

123 21 12
Introducing FastMCP 🚀

Comments

Join the conversation by posting on social media.

hikerell HN
MCP is a bit cumbersome, and compared to the official HTTP examples, I prefer the routing definition method of FastAPI. I am interested in taking a look at your project.
Sergi de Pablos 's avatar Sergi de Pablos BSky
Way easier to create a MCP server 🙏 Does MCP in your desktop require the Claude Desktop app? At the end of the day it's only an Electron app. Asking because there's no Linux app so far (
2
Jeremiah Lowin's avatar Jeremiah Lowin BSky
Today it does, though I understand they will relax that soon
1
Sergi de Pablos 's avatar Sergi de Pablos BSky
A pity! I'd love to try it, but it implies virtualboxing a Windows and I'm too lazy
David Soria Parra's avatar David Soria Parra BSky
mulmboy HN
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
jlowin HN
Nice! Would love to collaborate
Ethan Holz's avatar Ethan Holz BSky
This is super cool and exactly what I was looking for! Thanks for the excellent package!
1 1
Jeremiah Lowin's avatar Jeremiah Lowin BSky
Awesome! It's super early so let me know how it works!
1
Ethan Holz's avatar Ethan Holz BSky
I have a project in mind, hopefully I can give it a shot this week!
Jeremiah Lowin's avatar Jeremiah Lowin BSky
This is the entirety of a FastMCP echo server
David Soria Parra's avatar David Soria Parra BSky
I love it. We have a similar abstraction internally but opted for a more low level SDK. I think this FastAPi approach is much nicer for most people. Keep up the good work!
1
David Soria Parra's avatar David Soria Parra BSky
Maybe we should chat if this approach should have a place in the official sdk or if we keep it as is.
1
Jeremiah Lowin's avatar Jeremiah Lowin BSky
High level and low level tools tend to have very different tolerances for velocity, breaking changes, etc. but would love to explore. Wasn’t able to DM you before - will connect!
Martin Klepsch's avatar Martin Klepsch BSky
Very cool blog man! (And FastMCP also!)
1
Jeremiah Lowin's avatar Jeremiah Lowin BSky
Thank you!
1
Martin Klepsch's avatar Martin Klepsch BSky
I saw you're using Astro — did you start with a template? Would love to refresh my blog a bit
1
Jeremiah Lowin's avatar Jeremiah Lowin BSky
I'm a fan of Astro! No template here, just me and Cursor working nights. ...anything broken is Cursor's fault.
1
Martin Klepsch's avatar Martin Klepsch BSky
Awesome, might borrow some ideas! And I’ll email cursor about that password protected post then 😁
1
Jeremiah Lowin's avatar Jeremiah Lowin BSky
😆 added that yesterday
Artem's avatar Artem BSky
Does this thing work on linux machines? Haven't tried it yet seeing only mac/win binaries on their website. Thanks for packaginng
1
Jeremiah Lowin's avatar Jeremiah Lowin BSky
MCP Servers should work fine on linux, and I would guess the devtools do too, but I think Claude Desktop doesn't have a Linux version yet, so would have to wait for that OR support for remote servers (supposed to be coming soon)
Peter Szalai's avatar Peter Szalai BSky
📌
Timo Dechau's avatar Timo Dechau BSky
Awesome stuff. Really looking forward to testing it out.
Chris Davis's avatar Chris Davis BSky
🔥🔥