MCP.so
登录

MCP_server_fastapi

@Dhiraj123-star

关于 MCP_server_fastapi

暂无概览

基本信息

分类

开发工具

运行时

python

传输方式

stdio

发布者

Dhiraj123-star

配置

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

{
  "mcpServers": {
    "MCP_server_fastapi": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "pyproject.toml"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is MCP_server_fastapi?

MCP_server_fastapi is a Model Context Protocol (MCP) server that exposes tools (such as a weather tool) for AI assistants to call. It is built for developers who want to integrate MCP tools into their applications using a Python stack.

How to use MCP_server_fastapi?

Install dependencies with uv pip install -r pyproject.toml. Run the server via python src/server.py or uv run start. Test and debug tools locally using the MCP Inspector: mcp dev ./src/weather.py.

Key features of MCP_server_fastapi

  • Dependency management with uv for faster installation
  • Supports both Python and uv run commands
  • Debugging with MCP Inspector
  • Requires Python 3.12+
  • Includes a weather tool (indicated by weather.py)

Use cases of MCP_server_fastapi

  • Providing weather data to AI assistants via MCP
  • Building custom MCP tools with Python and testing locally
  • Integrating MCP tools into LLM applications

FAQ from MCP_server_fastapi

What are the requirements to run the server?

Python 3.12+, uv installed, and the mcp CLI installed.

How do I install the dependencies?

Run uv pip install -r pyproject.toml in the project root.

How do I start the server?

You can run python src/server.py or uv run start.

How do I test or debug a tool locally?

Use the MCP Inspector with mcp dev ./src/weather.py.

What runtime environment does the server use?

The server runs on Python and uses uv for package management.

评论

开发工具 分类下的更多 MCP 服务器