A simple MCP server built with FastMCP and python
The Smithery Cookbook provides code examples and guides designed to help developers build MCP (Model Context Protocol) servers and clients, offering copy-able code snippets that you can easily integrate into your own projects.
To make the most of the examples in this cookbook, you'll need:
npm install -g @smithery/cli to access the interactive playground and development toolsClone this repository:
git clone https://github.com/smithery-ai/smithery-cookbook.git
cd smithery-cookbookChoose an example and follow its README:
cd servers/python/quickstart
# Follow the README.md instructionsTest with Smithery Playground:
npx @smithery/cli playground --port 8081Note: Replace 8081 with the port your server is running on
Deploy to Smithery (optional): Ready to share your MCP server? Deploy it here to host it on Smithery's platform.
Build and distribute your MCP servers with Smithery:
npx @smithery/cli playgroundsmithery.ai/server/{name} for others to discover and useLooking for more resources to enhance your MCP development experience?
If you have ideas for new examples or guides, share them on the issues page.
MIT License