Azure Wiki Search MCP Server for AI Agents
Enable AI agents to search Azure wiki with this MCP server implementing the MCP specification for fast, reliable knowledge retrieval.
Overview
This MCP (Model Context Protocol) server exposes Azure wiki content as a searchable knowledge source for AI agents. Implementing the MCP specification, the server provides a small set of tools that let agents discover related wiki pages and retrieve the raw contents of a specific wiki path. Using this server improves agent responses by enabling retrieval of authoritative documentation, troubleshooting notes, and internal guides from the configured Azure wiki project.
The server is designed to be lightweight and easy to run locally or in a developer environment. It integrates with common developer workflows (VS Code, Python virtual environments) and is intended for use as a fast, reliable knowledge retrieval backend for agent frameworks that support MCP.
Features
- Implements the MCP specification so AI agents can call search and retrieval tools.
- Search Edge Wiki for relevant content by query.
- Retrieve full wiki content by providing a wiki path.
- Simple local deployment with uv (ultra-virtual) runner and Python 3.10+.
- Optional VS Code configuration to register the server as an MCP endpoint for agents in-editor.
Installation / Configuration
Prerequisites:
- Python 3.10+
- Git
- VS Code (optional, for integrated development)
- uv runner (used to create and run the virtual environment and launch the server)
Install uv:
- Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- macOS / Linux (bash)
|
Clone and set up the project:
Create and activate the virtual environment:
- Windows
uv venv
.venv/Scripts/activate
- macOS / Linux
VS Code integration (optional) Add the following JSON to your User Settings (JSON) or to .vscode/mcp.json in the workspace. Replace Running the server The server will start and expose MCP-compatible tool endpoints for agent consumption. The server exposes two primary MCP tools. Below is a quick reference. Example tool call payloads (MCP-style JSON examples): Responses return structured JSON with the relevant content and metadata suitable for agent consumption. Concrete example workflow:
Available Tools
Tool name Purpose Inputs Outputs search_wiki Find wiki pages related to a free-text query query (string) List of search results (title, path, snippet, score) get_wiki_by_path Retrieve full wiki content by path path (string) Page content (markdown/plain text), metadata
Use Cases
Notes and Tips