MCP.so
登录

MCP Python SDK Documentation

@aidecentralized

基本信息

分类

记忆与知识

传输方式

stdio

作者

aidecentralized

关于 MCP Python SDK Documentation

Read the docs Documentation for the MIT decentralized AI, MCP hackathon

MCP Python SDK Documentation 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "MCP_Hackathon_docs": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

MCP Python SDK Documentation 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Python SDK Documentation?

This repository contains the documentation for the Model Context Protocol (MCP) Python SDK, built with Sphinx and the Read the Docs theme. It helps developers understand core MCP concepts, build servers (including with FastMCP), create clients, and explore advanced topics.

How to use MCP Python SDK Documentation?

To build locally, install dependencies (e.g., pip install -r requirements.txt) then run make html; the output is placed in _build/html/. For a live preview with auto‑reload, run sphinx-autobuild . _build/html. To host on GitHub Pages, use the provided GitHub Actions workflow (recommended) or manually deploy to a gh-pages branch.

Key features of MCP Python SDK Documentation

  • Comprehensive coverage of FastMCP, a high‑level Pythonic MCP server interface
  • Guides for building MCP servers and clients
  • Advanced topics and best practices
  • Full API reference
  • Multiple deployment options: local build, live preview, GitHub Pages

Use cases of MCP Python SDK Documentation

  • Learning the Model Context Protocol and its core concepts
  • Building MCP servers with minimal boilerplate using FastMCP
  • Creating MCP clients to connect to MCP servers
  • Contributing improvements to the official SDK documentation

常见问题

1

What is FastMCP and how is it related to the SDK?

FastMCP is a high‑level, Pythonic interface for building MCP servers. Originally a standalone project, it has been integrated into the official MCP Python SDK.

2

How do I build the documentation locally?

First install dependencies (`pip install -r requirements.txt`) then run `make html` from the repository root. The built HTML will appear in `_build/html/`.

3

How can I host the documentation on GitHub Pages?

You can either use the included GitHub Actions workflow (recommended) or manually deploy to a `gh-pages` branch. Both processes are described in the README.

4

What dependencies are required to build the documentation?

Python, Sphinx, and the packages listed in `requirements.txt`. Using a virtual environment or conda is recommended.

5

What resources are linked from the documentation?

The README lists the official MCP website, the Python SDK GitHub repository, the MCP specification, a list of officially supported servers, and the legacy FastMCP GitHub repository.

评论

记忆与知识 分类下的更多 MCP 服务器