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.

コメント

「開発者ツール」の他のコンテンツ