Azure Container Apps Mcp Streamable Http Sample
БесплатноНе проверенAzure Container Apps Mcp Streamable Http Sample — Model Context Protocol server
Описание
Azure Container Apps Mcp Streamable Http Sample — Model Context Protocol server
README
A sample implementation of a Model Context Protocol (MCP) server for Azure Container Apps management, demonstrating HTTP streamable responses. Built with Python, UV package manager, and Ninja API framework to showcase real-time container operations.
Prerequisites
- Python 3.11+
- UV package manager
- Azure subscription
- Azure CLI
Installation
1. Clone the repository
git clone https://github.com/AyatKhraisat/azure-container-apps-mcp-streamable-http-sample.git
cd azure-container-apps-mcp-streamable-http-sample
2. Install dependencies with UV
# Install UV if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create virtual environment and install dependencies
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv sync
3. Environment Configuration
Create a .env file in the project root:
# NINJA API KEY API_KEY
API_KEY=<NINJA-API-KEY>
Available Tools & Resources
🔧 Tools
get_animal_infromation
Retrieves comprehensive information about any animal.
Parameters:
name(string): Full animal name (e.g., "Lion", "African Elephant", "Great White Shark")
Sample Response:
[
{
"name": "Lion",
"taxonomy": {
"kingdom": "Animalia",
"phylum": "Chordata",
"class": "Mammalia",
"order": "Carnivora",
"family": "Felidae"
},
"locations": ["Africa", "India"],
"characteristics": {
"prey": "Antelope, Warthog, Crocodile",
"predators": "Human",
"lifestyle": "Pack",
"diet": "Carnivore"
}
}
]
📋 Prompts
write_article
Generates structured prompts for creating informative animal articles.
Parameters:
animal(string): Name of the animal to write about
Returns: A detailed prompt template that guides content creation
📚 Resources
file://dogs.txt
Provides access to local dog information stored in text files.
MIME Type: text/plain
API Integration
API Ninjas Animals Endpoint
The server integrates with the API Ninjas Animals API:
Base URL: https://api-ninjas.com/api/animals
Authentication: Requires X-Api-Key header
Test Locally
uv run fastapi dev main.py
MCP Server: http://127.0.0.1:8000/mcp
Deploy to Azure:
az containerapp up -g <RESOURCE_GROUP_NAME> -n animals-mcp --environment mcp -l <REGION> --env-vars API_KEYS=<NINJA_API_KEY> --source .
Resources
from github.com/AyatKhraisat/azure-container-apps-mcp-streamable-http-sample
Установка Azure Container Apps Mcp Streamable Http Sample
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/AyatKhraisat/azure-container-apps-mcp-streamable-http-sampleFAQ
Azure Container Apps Mcp Streamable Http Sample MCP бесплатный?
Да, Azure Container Apps Mcp Streamable Http Sample MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Azure Container Apps Mcp Streamable Http Sample?
Нет, Azure Container Apps Mcp Streamable Http Sample работает без API-ключей и переменных окружения.
Azure Container Apps Mcp Streamable Http Sample — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Azure Container Apps Mcp Streamable Http Sample в Claude Desktop, Claude Code или Cursor?
Открой Azure Container Apps Mcp Streamable Http Sample на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Azure Container Apps Mcp Streamable Http Sample with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
