MCP Server
MCP Доказательство концепции
Этот репозиторий содержит простой сервер Model Context Protocol (MCP), реализованный с помощью FastAPI . Цель состоит в том, чтобы предоставить данные о стаде через обнаруживаемый, версионный API, который может быть развернут в AWS Fargate.
Работает локально
Установить зависимости:
Путь к базе данных можно настроить через переменную среды
DATABASE_PATH. Если не задано, по умолчанию используетсяmcp.dbвнутри рабочего каталога.pip install -r requirements.txtЗаполнение базы данных SQLite:
python -m app.seedЗапустите API-сервер:
uvicorn app.main:app --reloadПри вызове API выполните аутентификацию с помощью токена
fake-super-secret-token.
Файл обнаружения MCP доступен по адресу model_context.yaml .
Related MCP server: MCP REST API Server
Использование агента
Пакет agent предоставляется для взаимодействия с сервером MCP. После запуска сервера вы можете вывести список данных стада следующим образом:
python -m agent http://localhost:8000 --token fake-super-secret-tokenАгент считывает model_context.yaml , чтобы обнаружить путь API, и возвращает ответ JSON с сервера. Для полной поддержки YAML установите необязательную зависимость PyYAML ; в противном случае используется ограниченный встроенный парсер.
Проведение тестов
pytest -qКонтейнер
Для запуска сервера в контейнере предоставляется Dockerfile . Сборка с помощью:
docker build -t mcp .Терраформировать
Каталог terraform содержит минимальную конфигурацию, показывающую, как контейнер может быть развернут в AWS (например, Fargate). Он создает репозиторий ECR для образа.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Model Context Protocol server for Studex tools, notifications, and profile integrations
Public, read-only MCP server for FarmNeural company facts, packages, and capabilities.
Guarded MCP server for agent-readable business truth, provenance, readiness, and discovery.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA FastAPI-based implementation of the Model Context Protocol that enables standardized interaction between AI models and development environments, making it easier for developers to integrate and manage AI tasks.10MIT
- FlicenseNot gradedqualityDmaintenanceA server implementation of the Model Context Protocol (MCP) that provides REST API endpoints for managing and interacting with MCP resources.-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables real-time communication using Server-Sent Events (SSE), providing standardized model management and resource templating capabilities.-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server implementation built with Python and FastAPI for educational purposes. Demonstrates MCP server functionality through a books API interface.MIT
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/DPoitrast/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server