MCP Configuration Guide
This guide provides configuration instructions for integrating Azion’s MCP server with popular code assistants.
Prerequisites
Before configuring MCP, ensure you have:
-
An Azion Personal Token
- Navigate to Azion Console
- Create a new Personal Token
- Copy and store it securely
-
A compatible code assistant installed
Claude Code (Terminal)
Claude Code provides native MCP support through simple CLI commands.
Installation
# Add Azion MCP to Claudeclaude mcp add "azion-mcp" "https://mcp.azion.com" -t http -H "Authorization: Bearer YOUR_PERSONAL_TOKEN"
# Start Claude serviceclaude serveUsage
Once configured, you can ask Claude to:
- Search Azion documentation
- Generate deployment guides
- Create Rules Engine configurations
- Build GraphQL queries
Cursor
Cursor supports MCP through its settings interface.
Configuration steps
- Open Cursor Settings
- Navigate to Tools & Integrations
- Add the following MCP configuration:
{ "mcpServers": { "azion": { "type": "streamable-http", "url": "https://mcp.azion.com", "headers": { "Authorization": "Token YOUR_PERSONAL_TOKEN" } } }}Windsurf
Windsurf requires creating a configuration file in your project.
Setup
Create the file .codeium/windsurf/mcp_config.json:
{ "mcpServers": { "azion": { "command": "npx", "args": [ "mcp-remote", "https://mcp.azion.com", "--header", "Authorization: Bearer YOUR_PERSONAL_TOKEN" ] } }}Requirements
- Node.js 18+ installed
mcp-remotepackage (installed automatically via npx)
Claude Desktop
Claude Desktop supports MCP through its configuration settings.
Configuration
- Open Claude Desktop settings
- Navigate to MCP configuration
- Add the following:
{ "mcpServers": { "azion": { "command": "npx", "args": [ "mcp-remote", "https://mcp.azion.com", "--header", "Authorization: Bearer YOUR_PERSONAL_TOKEN" ] } }}VS Code with GitHub Copilot
For VS Code users with GitHub Copilot extension supporting MCP.
Setup
Create .vscode/mcp.json in your project root:
{ "mcpServers": { "azion": { "type": "http", "url": "https://mcp.azion.com", "headers": { "Authorization": "Bearer YOUR_PERSONAL_TOKEN" } } }}MCP support in VS Code may require additional extensions. Check the marketplace for MCP-compatible extensions.
Testing your connection
Using MCP Inspector
MCP Inspector helps validate your configuration before using it with code assistants.
Installation
npm install -g @modelcontextprotocol/inspectorTesting
-
Run the inspector:
Terminal window npx @modelcontextprotocol/inspector -
Configure connection:
- Transport type:
streamable-http - URL:
https://mcp.azion.com - Authentication:
Authorization: Bearer YOUR_PERSONAL_TOKEN
- Transport type:
-
Click Connect
-
Verify:
- Tools tab: Should show 9 available tools
- Resources tab: Should show deployment resources
Test a tool
- Select
search_azion_docs_and_site - Enter query:
"how to configure cache" - Verify response contains relevant documentation
API endpoint
The Azion MCP server is available at:
https://mcp.azion.comThis endpoint provides access to all MCP tools and resources for interacting with Azion’s platform.
Security best practices
- Never commit tokens: Add configuration files to
.gitignore - Use environment variables: Store tokens in environment variables when possible
- Rotate tokens regularly: Create new tokens periodically
- Use minimal permissions: Create tokens with only necessary permissions