Managed proxy sessions, health, rotation, usage, and spend controls for AI agents.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add nexalayer --env NEXALAYER_API_KEY='<NEXALAYER_API_KEY>' -- npx -y @nexalayer/mcp~/.codex/config.toml
[mcp_servers.nexalayer]
command = "npx"
args = ["-y", "@nexalayer/mcp"]
env = { NEXALAYER_API_KEY = "<NEXALAYER_API_KEY>" }
# codex mcp add nexalayer --env NEXALAYER_API_KEY='<NEXALAYER_API_KEY>' -- npx -y @nexalayer/mcp~/.cursor/mcp.json
{
"mcpServers": {
"nexalayer": {
"command": "npx",
"args": [
"-y",
"@nexalayer/mcp"
],
"env": {
"NEXALAYER_API_KEY": "<NEXALAYER_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"nexalayer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nexalayer/mcp"
],
"env": {
"NEXALAYER_API_KEY": "<NEXALAYER_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nexalayer": {
"command": "npx",
"args": [
"-y",
"@nexalayer/mcp"
],
"env": {
"NEXALAYER_API_KEY": "<NEXALAYER_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"nexalayer": {
"command": "npx",
"args": [
"-y",
"@nexalayer/mcp"
],
"env": {
"NEXALAYER_API_KEY": "<NEXALAYER_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"nexalayer": {
"command": "npx",
"args": [
"-y",
"@nexalayer/mcp"
],
"env": {
"NEXALAYER_API_KEY": "<NEXALAYER_API_KEY>"
}
}
}
}Environment variables
NEXALAYER_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.