MCP.so
ログイン

MCP Server Fastapi

@Dhiraj123-star

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

Dhiraj123-star

MCP Server Fastapi について

概要はまだありません

MCP Server Fastapi の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

MCP Server Fastapi のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

What are the requirements to run the server?

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

2

How do I install the dependencies?

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

3

How do I start the server?

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

4

How do I test or debug a tool locally?

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

5

What runtime environment does the server use?

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

コメント

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