s

smithery-ai-cookbook-python-quickstart

@smithery/smithery-ai-cookbook-python-quickstart
Hosted
0 Stars 10 次浏览 smithery 更新于 2026-08-23

A simple MCP server built with FastMCP and python

该服务暂未提供标准配置,请参考 README 手动接入

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

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/cli to 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

  1. Clone this repository:

    git clone https://github.com/smithery-ai/smithery-cookbook.git
    cd smithery-cookbook
    
  2. Choose an example and follow its README:

    cd servers/python/quickstart
    #  Follow the README.md instructions
    
  3. Test with Smithery Playground:

    npx @smithery/cli playground - -port 8081
    

    Note: Replace 8081 with the port your server is running on

  4. 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

# # TypeScript Servers

# Development Workflow

Build and distribute your MCP servers with Smithery:

  1. Build your MCP server using the language and framework of your choice
  2. Test interactively with npx @smithery/cli playground
  3. Debug with real-time request/response inspection
  4. Deploy to Smithery's hosted platform - Deploy here
  5. 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?

If you have ideas for new examples or guides, share them on the issues page.

# License

MIT License

相关 MCP 服务