Search Azion docs with the MCP server
Ask a coding agent connected to the Azion docs MCP server to search the Azion documentation, code samples, CLI commands, and Terraform provider docs.
You can search the Azion documentation, Azion code samples, and the references of the Azion CLI and the Azion Terraform Provider by asking a coding agent connected to the docs server of the Azion MCP servers. The docs server has one search tool per source, and each tool returns the documents closest to your question. For the inputs of every tool, refer to Tools and resources.
Prerequisites
- A coding agent connected to the docs server,
https://docs-mcp.azion.com/mcp. To connect one, refer to MCP server quickstart.
Search with your agent
Each search tool reads one source. The table pairs four of them with a question each one answers and the kind of document it returns. For the tool that searches the Azion API reference, refer to Tools and resources.
| Question | Tool | Documents it returns |
|---|---|---|
| ”How do I configure DDoS protection?” | search_azion_docs_and_site | Pages of the Azion documentation and website |
| ”Show me Next.js deployment examples” | search_azion_code_samples | Code samples and code libraries |
| ”What CLI commands manage functions?” | search_azion_cli_commands | References of the Azion CLI commands |
| ”How do I create Terraform resources?” | search_azion_terraform | Documentation of the Azion Terraform Provider |
To search with your agent:
Name the product and the task in the question, as the questions in the table do.
The tool returns one text item that holds a JSON object with a results array of documents. Each document carries title, content, and source, which names the page or file the document comes from, plus the similarity, search_type, and relevance_score of the match.
A search tool returns five documents by default. To get a different number, ask the agent to set docsAmount.
Your agent has the documents closest to the question, and the source of each one points to the full page or file. If the documents do not match the question, refer to A search returns documents that do not match the query.
Get relevant results
Four practices help the search tools return the documents you need:
- Be specific: give context about your project type and your requirements.
- Refine the question: start with a simple question and add detail gradually.
- Combine tools: use several MCP tools together to complete a task.
- Save what works: keep the configurations that work, and reuse them.