Skip to main content
Glama
akream

Python MCP Cat Facts

by akream

Python MCP Cat の豆知識

Server-Sent Events (SSE) トランスポートを使用してモデル コンテキスト プロトコル (MCP) を実装し、cat ファクトを提供する FastAPI サーバー。

特徴

  • ランダムに猫の豆知識を1つ入手

  • 10秒ごとに配信される猫の豆知識のストリームを購読してください

  • リアルタイム通信のためのSSE(サーバー送信イベント)

  • 自動 OpenAPI ドキュメントを備えた FastAPI フレームワーク

Related MCP server: Skemati.ca MCP SSE Server

要件

  • Python 3.12以上

  • 依存関係:

    • ファスタピ

    • mcp[cli]

    • ウビコーン

    • cmake

インストール

リポジトリをクローンする

git clone <repository-url>
cd python-mcp

仮想環境を作成する

python -m venv venv
source venv/bin/activate  # On Windows, use: venv\Scripts\activate

依存関係をインストールする

pip install -e .

SSEモードでサーバーを起動する

uv run コマンドを使用してサーバーを起動します。

uv run start

サーバーが稼働すると、次の場所で利用できるようになります:

VSコード統合

この MCP サーバーを VS Code で使用するには、 mcp.jsonファイルに次の構成を追加する必要があります。

{
    "servers": {
        "mcp-sse": {
            "type": "sse",
            "url": "http://0.0.0.0:8000/sse"
        }
    }
}

この構成は、SSE トランスポートを使用して MCP サーバーに接続する方法を VS Code に指示します。

Cat Facts APIの使用

猫に関する事実:

SSEエンドポイントに接続し、猫に関する情報を1つリクエストします。レスポンスは常に「Hi!」で始まります。

APIエンドポイント

  • GET / : ホームページ

  • GET /about : アプリケーションに関する情報

  • GET /status : 現在のサーバーステータス

  • GET /sse : MCP通信用のSSEエンドポイント

  • GET /docs : API ドキュメント (Swagger UI)

  • GET /redoc : 代替 API ドキュメント (ReDoc)

ライセンス

マサチューセッツ工科大学

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A Server-Sent Events implementation using FastAPI framework that integrates Model Context Protocol (MCP), allowing AI models to access external tools and data sources like weather information.
    51
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server implementation built with FastAPI that enables AI agent interactions. Provides a structured foundation for building AI-powered applications with proper data validation and modern Python tooling.
  • A
    license
    Not graded
    quality
    D
    maintenance
    A FastAPI MCP server that uses Server-Sent Events as a transport layer, providing echo functionality through tools, resources, and prompts.
    12
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

  • AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akream/mcppython'

If you have feedback or need assistance with the MCP directory API, please join our Discord server