streamable-httpMITupdated 11mo ago
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.
This repository was archived by its owner. It still works, but it is not receiving updates.
What can you do with smithery ai cookbook python quickstart?
Smithery Cookbook
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.
Prerequisites
To make the most of the examples in this cookbook, you'll need:
- Smithery CLI: Install with
npm install -g @smithery/clito access the interactive playground and development tools - Programming language runtimes for the examples you want to explore (Python 3.12+, Node.js 18+, etc.)
- Basic understanding of the Model Context Protocol (MCP)
Quick Start
-
Clone this repository:
git clone https://github.com/smithery-ai/smithery-cookbook.git cd smithery-cookbook -
Choose an example and follow its README:
cd servers/python/quickstart # Follow the README.md instructions -
Test with Smithery Playground:
npx @smithery/cli playground --port 8081Note: Replace
8081with 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.
Table of Recipes
Python Servers
- FastMCP Quickstart - Basic server with greeting tool
- FastMCP Advanced - Server with session configuration
- Migrate STDIO to HTTP - Server with custom Docker container
TypeScript Servers
- TypeScript Quickstart - Simple server with character counting tool
- TypeScript Session Config - Server with session configuration
- Migrate STDIO to HTTP - Smithery CLI - Server using Smithery CLI
- Migrate STDIO to HTTP - Custom Container - Server with custom Docker container
Development Workflow
Build and distribute your MCP servers with Smithery:
- Build your MCP server using the language and framework of your choice
- Test interactively with
npx @smithery/cli playground - Debug with real-time request/response inspection
- Deploy to Smithery's hosted platform - Deploy here
- Distribute your server gets its own page at
smithery.ai/server/{name}for others to discover and use
Explore Further
Looking for more resources to enhance your MCP development experience?
- Smithery Documentation - Complete guides and API reference
- Deploy Your MCP Server - Host your server on Smithery's platform
- Model Context Protocol Specification - Official MCP documentation
- Smithery Discord Community - Get help and share your projects
If you have ideas for new examples or guides, share them on the issues page.
License
MIT License
Install
Add smithery ai cookbook python quickstart to your client. Pick the one you use.
claude mcp add --transport http smithery-ai-cookbook-python-quickstart https://server.smithery.ai/@smithery-ai/cookbook-python-quickstart/mcpcodex mcp add smithery-ai-cookbook-python-quickstart --url https://server.smithery.ai/@smithery-ai/cookbook-python-quickstart/mcp{
"mcpServers": {
"smithery-ai-cookbook-python-quickstart": {
"url": "https://server.smithery.ai/@smithery-ai/cookbook-python-quickstart/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"smithery-ai-cookbook-python-quickstart": {
"type": "http",
"url": "https://server.smithery.ai/@smithery-ai/cookbook-python-quickstart/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"smithery-ai-cookbook-python-quickstart": {
"url": "https://server.smithery.ai/@smithery-ai/cookbook-python-quickstart/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"smithery-ai-cookbook-python-quickstart": {
"serverUrl": "https://server.smithery.ai/@smithery-ai/cookbook-python-quickstart/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
Score
39 / 100
Incomplete
- Documentation18/25
- Maintenance4/25
- Trust16/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 343 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.13.1Latest | Sep 10, 2025 |