MCP.so
登录
服务器

Documentation MCP Server with Python SDK

@Shivansh12t

概览

What is Documentation MCP Server with Python SDK?

Documentation MCP Server with Python SDK is a Model Context Protocol (MCP) server that provides documentation-related tools to MCP clients. It integrates with the Python MCP SDK and uses the Serper API for search functionality. It is designed for developers using Claude Desktop, VSCode Copilot, or any MCP-compatible client.

How to use Documentation MCP Server with Python SDK?

Install the MCP Python SDK with uv add "mcp[cli]" (or pip install "mcp[cli]"), clone the repository, install dependencies, and set your SERPER_API_KEY in a .env file. Then add the server to your MCP client’s configuration (e.g., Claude Desktop’s claude_desktop_config.json or VSCode’s .vscode/mcp.json) with the command uv run main.py from the project directory.

Key features of Documentation MCP Server with Python SDK

  • Python SDK integration via mcp[cli]
  • Serper-based search tool (free account, no credit card required)
  • Compatible with Claude Desktop and VSCode Copilot Agent Mode
  • Easy installation using uv or pip
  • MCP Inspector support for testing

Use cases of Documentation MCP Server with Python SDK

  • Enabling documentation search within Claude Desktop chat
  • Adding documentation tools to VSCode Copilot Agent Mode
  • Testing and debugging MCP tools with the MCP Inspector
  • Providing a search tool for any MCP-compatible client

FAQ from Documentation MCP Server with Python SDK

What are the prerequisites?

You need the uv package manager (recommended), an MCP client like Claude Desktop or Cursor, and a Serper account (free, no credit card required) for the search tool.

How do I install the MCP Python SDK?

Run uv add "mcp[cli]" in your Python project. Alternatively, use pip install "mcp[cli]".

How do I configure it for Claude Desktop?

Open Claude Desktop settings (Shift + ,), edit configurations, and add the server to claude_desktop_config.json with the command uv --directory <absolute_path> run main.py.

How do I configure it for VSCode Copilot?

Edit .vscode/mcp.json in your project, update the args to the absolute path to the MCP server, and use Agent Mode.

How can I test the server?

Run npx @modelcontextprotocol/inspector uv run main.py to start the MCP Inspector for testing.

来自「记忆与知识」的更多内容