Azure AI Search Server
БесплатноНе проверенEnables AI assistants to search, query, and manage Azure AI Search indexes using full-text, semantic, and vector search, alongside index and document operations
Описание
Enables AI assistants to search, query, and manage Azure AI Search indexes using full-text, semantic, and vector search, alongside index and document operations.
README
An MCP (Model Context Protocol) server that exposes Azure AI Search functionality as tools for AI assistants.
Features
- Full-text search - Search documents using Azure AI Search
- Semantic/vector search - Perform semantic search with reranking
- Index management - List indexes and get schema information
- Document retrieval - Get documents by key or count documents
Available Tools
| Tool | Description |
|---|---|
search |
Full-text search with filters and field selection |
vector_search |
Semantic search with reranking scores |
list_indexes |
List all available search indexes |
get_index_schema |
Get fields and schema of an index |
get_document |
Retrieve a specific document by key |
get_document_count |
Count documents in an index |
Setup
Prerequisites
- Python 3.10+
- Azure AI Search service
- Azure Search API key or Azure credentials
Installation
Clone the repository:
git clone <repository-url> cd aisearch-mcpInstall dependencies:
pip install -r requirements.txtConfigure environment variables:
cp .env.example .env # Edit .env with your Azure Search credentials
Configuration
Set the following environment variables in your .env file:
| Variable | Description | Required |
|---|---|---|
AZURE_SEARCH_ENDPOINT |
Azure Search service URL (e.g., https://mysearch.search.windows.net) |
Yes |
AZURE_SEARCH_API_KEY |
Azure Search admin or query key | Yes* |
AZURE_SEARCH_INDEX |
Default search index name | Yes |
MCP_PORT |
Server port (default: 9000) | No |
*If not provided, the server will use DefaultAzureCredential for authentication.
Running the Server
Local
python server.py
The server will start on http://0.0.0.0:9000 with the following endpoints:
- SSE Transport:
GET /sse(establish connection),POST /messages(send messages) - Streamable HTTP:
POST /mcp
Docker
Build and run with Docker:
# Build the image
docker build -t azure-search-mcp .
# Run with environment variables
docker run -p 9000:9000 \
-e AZURE_SEARCH_ENDPOINT=https://your-search.search.windows.net \
-e AZURE_SEARCH_API_KEY=your-api-key \
-e AZURE_SEARCH_INDEX=your-index \
azure-search-mcp
# Or run with .env file
docker run -p 9000:9000 --env-file .env azure-search-mcp
Connecting MCP Clients
VS Code / Claude Desktop (SSE)
Add to your MCP configuration:
{
"mcpServers": {
"azure-search": {
"url": "http://localhost:9000/sse"
}
}
}
Streamable HTTP Clients
{
"mcpServers": {
"azure-search": {
"url": "http://localhost:9000/mcp"
}
}
}
Stdio (Local Process)
For clients that support stdio transport, run directly:
{
"mcpServers": {
"azure-search": {
"command": "python",
"args": ["/path/to/server.py"]
}
}
}
Example Usage
Once connected, you can use the tools through your MCP client:
- Search for hotels: "Search for hotels with pool in Seattle"
- Get index schema: "What fields are in the hotels-sample-index?"
- Count documents: "How many documents are in the index?"
License
MIT
Установка Azure AI Search Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/nagendramishr/aisearch-mcpFAQ
Azure AI Search Server MCP бесплатный?
Да, Azure AI Search Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Azure AI Search Server?
Нет, Azure AI Search Server работает без API-ключей и переменных окружения.
Azure AI Search Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Azure AI Search Server в Claude Desktop, Claude Code или Cursor?
Открой Azure AI Search Server на 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 AI Search Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
