Max Server
FreeNot checkedConnects AI assistants to AnswerRocket's Max AI platform, enabling access to Max copilots and their skills through the Model Context Protocol.
About
Connects AI assistants to AnswerRocket's Max AI platform, enabling access to Max copilots and their skills through the Model Context Protocol.
README
A Model Context Protocol (MCP) server that connects Claude and other AI assistants to AnswerRocket's Max AI platform, enabling access to Max copilots and their skills directly from your AI conversations.
Quick Start for Claude Desktop Users (.dxt install)
Prerequisites
macOS:
- Install
uvvia Homebrew:brew install uv - If you already have
uvinstalled via another method, uninstall and reinstall with Homebrew:# Remove existing uv data and binaries uv cache clean rm -r "$(uv python dir)" rm -r "$(uv tool dir)" rm ~/.local/bin/uv ~/.local/bin/uvx # Install via Homebrew brew install uv
Windows/Linux:
- Follow the installation instructions at uv Installation Guide
Installation
Download the .dxt file: mcp-server.dxt
Install Claude Desktop if you haven't already
Double-click the .dxt file to open it with Claude Desktop
Click "Install" when prompted
Configure your Max instance:
- Max URL: Enter your Max instance URL (e.g.,
http://localhost:8080orhttps://maxai.dev.answerrocket.com)- Include the
http://orhttps://prefix - Do not include any path components
- Include the
- SDK Key: Get this from your Max instance frontend
- Agent ID: This is the copilot ID from Skill Studio
- Navigate to Skill Studio:
https://your-max-instance/apps/system/skill-studio/ - The URL pattern is:
/skill-studio/{COPILOT_ID}/skills/{SKILL_ID} - Copy the first UUID (COPILOT_ID)
- Navigate to Skill Studio:
- Max URL: Enter your Max instance URL (e.g.,
Click "Save" (keep the setup window open)
Enable the MCP server using the toggle in the upper left
Verification
Navigate back to Claude Desktop's home screen and click the tools icon. You should see "Max MCP" with a list of tools identical to those available in your Max Agent/Copilot.
Note: This feature requires Max instances on version 25.09 or above.
Web-based Usage (Coming Soon)
Support for web-based AI assistants like claude.ai and chatgpt.com is in the works.
Development Setup
Prerequisites
- Python 3.10+
- Git
- Access to a Max instance
Installation
Clone the repository:
git clone https://github.com/answerrocket/mcp-server.git cd mcp-serverInstall dependencies:
uv sync
Environment Variables
The server supports two modes: local and remote.
Local Mode (Direct API Access)
For development and testing with direct API access to Max:
export MCP_MODE=local
export AR_URL=http://superstoredev.local.answerrocket.com:1234 # or where your instance is located. It does not have to be a local Max instance.
export AR_TOKEN=arc-your-token-here
export COPILOT_ID=your-copilot-uuid
export MCP_TRANSPORT=stdio
Remote Mode (OAuth)
For production deployments with OAuth authentication:
export MCP_MODE=remote
export MCP_TRANSPORT=streamable-http
export MCP_HOST=localhost
export MCP_PORT=9090
Note: In remote mode, the AR_URL is automatically derived from incoming requests, enabling true multi-tenancy.
URL Patterns
When running in remote mode, the server accepts requests at:
http://your-server:port/mcp/agent/{COPILOT_ID}
For example:
http://superstoredev.local.answerrocket.com:1234/mcp/agent/0d91262d-e039-43c3-8022-0d285af703d4
This URL pattern is typically routed through your AnswerRocket instance's nginx configuration.
Testing with MCP Inspector
We highly recommend using the MCP Inspector for development and testing:
npx @modelcontextprotocol/inspector
Version 0.16.1 is buggy and does not play well. If that is the case, you should use version 0.16.0
npx @modelcontextprotocol/[email protected]
Local Development with Claude Desktop
You can test your local development server directly with Claude Desktop by configuring your claude_desktop_config.json:
Configuration File Location
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Example Configuration
{
"mcpServers": {
"max-mcp-dev": {
"command": "/path/to/mcp-server/.venv/bin/python",
"args": [
"/path/to/mcp-server/mcp_server/__main__.py"
],
"env": {
"AR_URL": "http://your-max-instance:port",
"AR_TOKEN": "your-sdk-token",
"COPILOT_ID": "your-copilot-uuid"
}
}
}
}
Important: Replace the example values with your actual:
- Max instance URL
- SDK token
- Copilot ID
After saving the configuration, restart Claude Desktop to apply the changes.
Remote Deployment with OAuth
For production deployments with OAuth authentication:
Max Instance Configuration
Your Max instance must have OAuth server enabled:
export ENABLE_OAUTH_SERVER=true
./overmind.sh --overlay=superstoredev,ricedemo
Multi-Tenant Testing
To test multiple tenants, configure your Max instance with multiple tenant overlays and ensure your OAuth server supports the tenant domains you want to test.
Server Deployment
Set environment variables:
export MCP_MODE=remote export MCP_TRANSPORT=streamable-http export MCP_HOST=0.0.0.0 # or your server IP export MCP_PORT=9090Run the server:
maxai-mcpor
uv run python mcp_server/__main__.py
OAuth Flow
In remote mode, the server:
- Validates OAuth tokens against the requesting domain's introspection endpoint
- Dynamically determines the Max instance URL from the request context
- Registers tools/skills specific to the requested copilot ID
- Supports multiple Max instances simultaneously without configuration changes
API Reference
Supported Transports
- stdio: For direct integration with Desktop apps
- streamable-http: For web-based integrations and production deployments
Authentication
- Local mode: Uses SDK tokens for direct API access
- Remote mode: Uses OAuth 2.0 with Bearer tokens
Dynamic Tool Registration
The server dynamically loads and registers tools based on:
- The copilot ID in the request URL
- Available skills in the specified Max copilot
- User permissions and authentication context
Install Max Server in Claude Desktop, Claude Code & Cursor
unyly install max-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add max-mcp-server -- uvx maxai-mcpFAQ
Is Max Server MCP free?
Yes, Max Server MCP is free — one-click install via Unyly at no cost.
Does Max Server need an API key?
No, Max Server runs without API keys or environment variables.
Is Max Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Max Server in Claude Desktop, Claude Code or Cursor?
Open Max Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by 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
by xuzexin-hzCompare Max Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
