VS Code Setup¶
Configure the F5XC API MCP Server with VS Code using Cline or Continue extensions.
Prerequisites
- VS Code installed
- Node.js 24+ installed (for npx)
- Cline or Continue extension installed
Option 1: Cline Extension¶
Cline provides Claude integration with MCP support.
Installation¶
- Install Cline from VS Code Marketplace
- Open VS Code Settings (
Cmd/Ctrl + ,) - Search for "Cline MCP"
Configuration¶
Add to Cline's MCP settings:
{
"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"
}
}
}
Usage¶
- Open Cline panel (
Cmd/Ctrl + Shift + P→ "Cline: Open") - Ask about F5XC resources:
"List HTTP load balancers in the production namespace"
Option 2: Continue Extension¶
Continue is an open-source AI coding assistant with MCP support.
Installation¶
- Install Continue from VS Code Marketplace
- Open Continue configuration
Configuration¶
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"
}
}
}
}
Usage¶
- Open Continue panel
- Use the chat to interact with F5XC:
"Create an origin pool with servers at 10.0.0.1 and 10.0.0.2"
Workspace Configuration¶
For project-specific configuration, create .vscode/mcp.json:
Environment Variables¶
Secure Credentials
Store credentials in a .env file to avoid committing secrets.
-
Create
.envin your workspace: -
Add
.envto.gitignore -
Reference in configuration:
Troubleshooting¶
Extension Not Finding MCP Server¶
- Reload VS Code window (
Cmd/Ctrl + Shift + P→ "Reload Window") - Check extension logs in Output panel
- Verify Node.js is in PATH
Permission Issues¶
On macOS/Linux, ensure npx is executable:
If not found, add Node.js to your shell profile.
Configuration Not Loading¶
- Check JSON syntax
- Ensure file is in correct location
- Look for typos in server name
Tips¶
Inline Documentation
Ask about F5XC resources:
"What are the valid options for this load balancer's advertise setting?"
API Examples¶
Ask Claude to help with F5XC API operations:
"Show me the CURL command to create an HTTP load balancer for api.example.com with WAF enabled"