- Home
- API MCP Server
- IDE Setup
IDE Setup
Claude Desktop
Section titled “Claude Desktop”Config File Location
Section titled “Config File Location”| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Documentation Mode
Section titled “Documentation Mode”No credentials required - explore APIs, view schemas, get CURL examples:
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"] } }}Execution Mode
Section titled “Execution Mode”Add credentials to execute API calls directly:
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "env": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "your-api-token" } } }}Multiple Servers
Section titled “Multiple Servers”{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"] }, "filesystem": { "command": "npx", "args": ["@modelcontextprotocol/server-filesystem", "/path/to/dir"] } }}Claude Code CLI
Section titled “Claude Code CLI”Quick Install
Section titled “Quick Install”claude mcp add f5xc-api \ --env F5XC_API_URL=https://your-tenant.console.ves.volterra.io \ --env F5XC_API_TOKEN=your-api-token \ -- npx @robinmordasiewicz/f5xc-api-mcpScope Options
Section titled “Scope Options”| Scope | Flag | Storage | Use Case |
|---|---|---|---|
| Local | --scope local | ~/.claude.json (project-scoped) | Default, private to you |
| Project | --scope project | .mcp.json (in project root) | Share with team |
| User | --scope user | ~/.claude.json (global) | All projects |
Management Commands
Section titled “Management Commands”claude mcp list # List all serversclaude mcp get f5xc-api # Get server detailsclaude mcp remove f5xc-api # Remove serverManual Configuration
Section titled “Manual Configuration”Create .mcp.json in your project root:
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "env": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "your-api-token" } } }}Global Configuration
Section titled “Global Configuration”For system-wide availability, add to ~/.claude/settings.local.json.
claude # Interactive modeclaude -p "List F5XC tools" # Direct commandclaude --mcp-debug # Debug modeVS Code
Section titled “VS Code”VS Code supports MCP through Cline or Continue extensions.
Option 1: Cline
Section titled “Option 1: Cline”- Install Cline
- Open Cline panel -> Click gear icon -> MCP Servers -> Add
- Or edit the config file directly:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json |
| Windows | %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json |
| Linux | ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json |
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "env": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "your-api-token" } } }}Option 2: Continue
Section titled “Option 2: Continue”- Install Continue
- Edit
~/.continue/config.json:
{ "models": [], "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "env": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "your-api-token" } } }}Workspace Configuration
Section titled “Workspace Configuration”Create .vscode/mcp.json for project-specific settings:
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "envFile": "${workspaceFolder}/.env" } }}Cursor
Section titled “Cursor”Configuration
Section titled “Configuration”- Open Cursor Settings (
Cmd/Ctrl + ,) - Navigate to MCP section
- Add configuration:
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "env": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "your-api-token" } } }}Project Configuration
Section titled “Project Configuration”Create .cursor/mcp.json with environment variable references:
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "env": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "${env:F5XC_API_TOKEN}" } } }}Composer Integration
Section titled “Composer Integration”Use Cursor’s Composer (Cmd/Ctrl + I) for multi-resource generation:
“Create a complete F5XC setup with HTTP load balancer, origin pool, and WAF”
OpenCode
Section titled “OpenCode”Config File Location
Section titled “Config File Location”| Scope | Path |
|---|---|
| Project | opencode.json in project root |
| Global | ~/.config/opencode/opencode.json |
Configuration
Section titled “Configuration”{ "$schema": "https://opencode.ai/config.json", "mcp": { "f5xc-api": { "type": "local", "command": ["npx", "@robinmordasiewicz/f5xc-api-mcp"], "environment": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "your-api-token" } } }}Field Reference
Section titled “Field Reference”| Field | Required | Description |
|---|---|---|
type | Yes | Must be "local" for stdio-based servers |
command | Yes | Array format: ["npx", "package"] |
environment | No | Environment variables object |
enabled | No | Load on startup (default: true) |
timeout | No | Response timeout in ms (default: 5000) |
Environment Variable References
Section titled “Environment Variable References”{ "environment": { "F5XC_API_URL": "{env:F5XC_API_URL}", "F5XC_API_TOKEN": "{env:F5XC_API_TOKEN}" }}Docker Configuration
Section titled “Docker Configuration”Pass credentials with -e flags:
{ "mcpServers": { "f5xc-api": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "F5XC_API_URL=https://your-tenant.console.ves.volterra.io", "-e", "F5XC_API_TOKEN=your-api-token", "ghcr.io/robinmordasiewicz/f5xc-api-mcp" ] } }}With Volume Mounts
Section titled “With Volume Mounts”For P12 certificate authentication:
{ "mcpServers": { "f5xc-api": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "F5XC_API_URL", "-e", "F5XC_API_TOKEN", "-v", "/Users/username/certs:/certs:ro", "ghcr.io/robinmordasiewicz/f5xc-api-mcp" ], "env": { "F5XC_API_URL": "https://your-tenant.console.ves.volterra.io", "F5XC_API_TOKEN": "your-api-token" } } }}Environment Files
Section titled “Environment Files”Use envFile to load credentials from a .env file instead of inline values:
{ "mcpServers": { "f5xc-api": { "command": "npx", "args": ["@robinmordasiewicz/f5xc-api-mcp"], "envFile": "${workspaceFolder}/.env" } }}With .env:
F5XC_API_URL=https://your-tenant.console.ves.volterra.ioF5XC_API_TOKEN=your-api-tokenLOG_LEVEL=infoVariable Substitution
Section titled “Variable Substitution”Some clients support variable substitution in configuration values:
| Variable | Description |
|---|---|
${workspaceFolder} | Current workspace root |
${env:VAR_NAME} | System environment variable |
${userHome} | User’s home directory |
Example:
{ "envFile": "${workspaceFolder}/.env", "env": { "F5XC_API_TOKEN": "${env:F5XC_API_TOKEN}" }}MCP Configuration Schema
Section titled “MCP Configuration Schema”The standard MCP configuration schema used by Claude Desktop, Claude Code, Cline, Continue, and Cursor:
{ "mcpServers": { "<server-name>": { "command": "<executable>", "args": ["<arg1>", "<arg2>"], "env": { "<VAR_NAME>": "<value>" }, "cwd": "<working-directory>", "envFile": "<path-to-env-file>" } }}Field Descriptions
Section titled “Field Descriptions”| Field | Required | Description |
|---|---|---|
command | Yes | Executable to run (npx, node, docker) |
args | Yes | Array of command-line arguments |
env | No | Environment variables passed to the server |
cwd | No | Working directory for the server process |
envFile | No | Path to environment file |
Configuration File Locations
Section titled “Configuration File Locations”| Application | Location |
|---|---|
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop (Windows) | %APPDATA%\Claude\claude_desktop_config.json |
| Claude Desktop (Linux) | ~/.config/Claude/claude_desktop_config.json |
| Claude Code (Project) | .mcp.json in project root |
| Claude Code (Global) | ~/.claude/mcp.json |
| OpenCode (Project) | opencode.json or opencode.jsonc in project root |
| OpenCode (Global) | ~/.config/opencode/opencode.json |
| VS Code (Cline) | Cline extension settings |
| VS Code (Continue) | ~/.continue/config.json |
| Cursor | Cursor settings or .cursor/mcp.json |