What is MCP
Think of MCP as a USB C port on a laptop. With it, you can charge your laptop, perform data transfer, connect to other displ...
For further actions, you may consider blocking this person and/or reporting abuse
Open the terminal and navigate to your working environment.
Run the command:
If prompted, install the CLI by pressing ‘y’ or do it manually, then rerun the command.
Some people might get stuck here, but don’t worry—I’m here to help! Just replace server.py with calculator.py, and you’re good to go. 🚀
Thanks for the addition, it will help many
"Traditional API" -> What would be a traditional API?
Are you referring to the HTTP protocol? MCP is a protocol and Http is another. An api can share the same interface, adaptable for any of these protocols. This is what I have done on my MCP server, with clean architecture: github.com/alioshr/memory-bank-mcp
Yes HTTP Protocols / Custom API we design for products.
I will check the repo. Thanks for sharing 🙏
Can FastMCP be used on a flask server?
Same question.
Answered in previous comment
FastMCP isn’t designed to be used directly within a Flask server.
However you can run them as separate services and facilitate communication between them to achieve the desired integration.
Thanks for your reply, now I converted the flask app to an asgi app via WsgiToAsgi and then mounted the asgi_flask app to the MCP's sse_app (s se_app is a Starlette app)
Great
Read the better formatted version at Composio Blogs- Harsh
Thank you very much, I will try it for sure :-)
Amazing article! But what about creating our own MCP Client?
For MCP client you can use Cursor, WindSurf, Warp, Composio. In case you want to create your own using mcp-client SDK. I will cover that in another blog:)