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:

  1. An Azion Personal Token

    • Navigate to Azion Console
    • Create a new Personal Token
    • Copy and store it securely
  2. A compatible code assistant installed


Claude Code (Terminal)

Claude Code provides native MCP support through simple CLI commands.

Installation

Terminal window
# Add Azion MCP to Claude
claude mcp add "azion-mcp" "https://mcp.azion.com" -t http -H "Authorization: Bearer YOUR_PERSONAL_TOKEN"
# Start Claude service
claude serve

Usage

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

  1. Open Cursor Settings
  2. Navigate to Tools & Integrations
  3. 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-remote package (installed automatically via npx)

Claude Desktop

Claude Desktop supports MCP through its configuration settings.

Configuration

  1. Open Claude Desktop settings
  2. Navigate to MCP configuration
  3. 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

Terminal window
npm install -g @modelcontextprotocol/inspector

Testing

  1. Run the inspector:

    Terminal window
    npx @modelcontextprotocol/inspector
  2. Configure connection:

    • Transport type: streamable-http
    • URL: https://mcp.azion.com
    • Authentication: Authorization: Bearer YOUR_PERSONAL_TOKEN
  3. Click Connect

  4. Verify:

    • Tools tab: Should show 9 available tools
    • Resources tab: Should show deployment resources

Test a tool

  1. Select search_azion_docs_and_site
  2. Enter query: "how to configure cache"
  3. Verify response contains relevant documentation

API endpoint

The Azion MCP server is available at:

https://mcp.azion.com

This endpoint provides access to all MCP tools and resources for interacting with Azion’s platform.


Security best practices

  1. Never commit tokens: Add configuration files to .gitignore
  2. Use environment variables: Store tokens in environment variables when possible
  3. Rotate tokens regularly: Create new tokens periodically
  4. Use minimal permissions: Create tokens with only necessary permissions

Next steps