Python MCP Cat Facts
Datos sobre el gato MCP de Python
Un servidor FastAPI que implementa el Protocolo de contexto de modelo (MCP) utilizando el transporte de eventos enviados por el servidor (SSE) para proporcionar datos de gato.
Características
Obtenga un solo dato aleatorio sobre gatos
Suscríbete a un flujo de datos sobre gatos cada 10 segundos.
SSE (eventos enviados por el servidor) para comunicación en tiempo real
Marco FastAPI con documentación automática de OpenAPI
Related MCP server: Skemati.ca MCP SSE Server
Requisitos
Python 3.12+
Dependencias:
Fastapi
mcp[cli]
uvicornio
cmake
Instalación
Clonar el repositorio
git clone <repository-url>
cd python-mcpCrear un entorno virtual
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activateInstalar dependencias
pip install -e .Iniciar el servidor en modo SSE
Inicie el servidor utilizando el comando uv run:
uv run startUna vez que el servidor esté en funcionamiento, estará disponible en:
Documentación de la API: http://localhost:8000/docs
Integración de VS Code
Para utilizar este servidor MCP con VS Code, debe agregar la siguiente configuración a su archivo mcp.json :
{
"servers": {
"mcp-sse": {
"type": "sse",
"url": "http://0.0.0.0:8000/sse"
}
}
}Esta configuración le dice a VS Code cómo conectarse a su servidor MCP usando el transporte SSE.
Uso de la API de Cat Facts
Obtenga un dato sobre un solo gato:
Conéctese al punto final de SSE y solicite un dato de gato. La respuesta siempre comenzará con "¡Hola!".
Puntos finales de API
GET /: Página de inicioGET /about: Información sobre la aplicaciónGET /status: Estado actual del servidorGET /sse: punto final SSE para la comunicación MCPGET /docs: Documentación de la API (interfaz de usuario de Swagger)GET /redoc: Documentación de API alternativa (ReDoc)
Licencia
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceA 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.Last updated51MIT
- Flicense-quality-maintenanceA Model Context Protocol (MCP) server implementation that uses Server-Sent Events (SSE) to enable real-time, server-pushed updates between AI models and tools over HTTP connections.Last updated1
- Flicense-qualityDmaintenanceA 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.Last updated
- Alicense-qualityDmaintenanceA FastAPI MCP server that uses Server-Sent Events as a transport layer, providing echo functionality through tools, resources, and prompts.Last updated12MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP (Model Context Protocol) server for Appwrite
A Model Context Protocol server for Wix AI tools
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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