Skip to main content
1

Complete Onboarding

Visit app.trynia.ai and complete the onboarding process. Your API key will be automatically created.
You’ll get 3 free index jobs to start - no credit card required!
2

Configure Your IDE

Choose your coding agent below and follow the configuration instructions.
3

Restart Your Coding Agent

Restart your coding assistant to load the new MCP server.

Client-Specific Installation

Choose your coding agent below for detailed configuration instructions. Each section includes both Remote Server (Recommended) and Local Server options.
Remote Server is recommended - no dependencies, no local process, always up-to-date.
Prerequisites for Local Server:
  • Python 3.8+
  • pipx (recommended) or uvx
  • Your Nia API key from app.trynia.ai
Go to: Settings → Cursor Settings → MCP → Add new global MCP serverIn Cursor 1.0 and later, manually edit ~/.cursor/mcp.json:
  • macOS: ~/.cursor/mcp.json
  • Windows: %APPDATA%\Cursor\mcp.json
  • Linux: ~/.config/cursor/mcp.json
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Open your VS Code MCP configuration:
  • Run MCP: Open User Configuration from the Command Palette
  • Or manually edit:
    • macOS/Linux: ~/.config/Code/User/mcp.json
    • Windows: %APPDATA%\Code\User\mcp.json
Remote Server (Recommended):
{
  "servers": {
    "nia": {
      "type": "http",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "servers": {
    "nia": {
      "type": "stdio",
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Remote Server (Recommended):
claude mcp add --transport http nia https://apigcp.trynia.ai/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
Local Server:
# For current project only (default)
claude mcp add nia -e NIA_API_KEY=YOUR_API_KEY -e NIA_API_URL=https://apigcp.trynia.ai/ -- pipx run --no-cache nia-mcp-server

# For global installation (all projects)
claude mcp add nia -e NIA_API_KEY=YOUR_API_KEY -e NIA_API_URL=https://apigcp.trynia.ai/ --scope user -- pipx run --no-cache nia-mcp-server
Use --scope user if you want Nia available across all your projects.
Open your Windsurf MCP configuration:
  • macOS: ~/.windsurf/mcp.json
  • Windows: %APPDATA%\Windsurf\mcp.json
  • Linux: ~/.config/windsurf/mcp.json
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "serverUrl": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "url": "https://apigcp.trynia.ai/mcp",
      "type": "streamableHttp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Edit your ~/.continue/config.json file.Remote Server (Recommended):
{
  "experimental": {
    "modelContextProtocolServer": {
      "transport": {
        "type": "http",
        "url": "https://apigcp.trynia.ai/mcp",
        "headers": {
          "Authorization": "Bearer YOUR_API_KEY"
        }
      }
    }
  }
}
Local Server:
{
  "models": [],
  "mcpServers": [
    {
      "name": "nia",
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  ]
}
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "serverUrl": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Edit your Claude Desktop configuration:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Open ~/.gemini/settings.json and add:Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "httpUrl": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY",
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Open ~/.vibe/config.toml and add:Remote Server (Recommended):
[[mcp_servers]]
name = "nia"
transport = "streamable-http"
url = "https://apigcp.trynia.ai/mcp"

[mcp_servers.headers]
Authorization = "Bearer YOUR_API_KEY"
Mistral Vibe CLI uses TOML format for configuration. The configuration should be added to your existing config file at:
  • macOS/Linux: ~/.vibe/config.toml
  • Windows: %USERPROFILE%\.vibe\config.toml
Add to your Zed settings.json:Local Server:
{
  "context_servers": {
    "nia": {
      "source": "custom",
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Codex requires extended timeout settings for NIA to work properly.
Local Server:
tool_output_token_limit = 25000

[mcp_servers.nia]
command = "pipx"
args = ["run", "--no-cache", "nia-mcp-server"]
startup_timeout_sec = 30
tool_timeout_sec = 360

[mcp_servers.nia.env]
NIA_API_KEY = "YOUR_API_KEY"
NIA_API_URL = "https://apigcp.trynia.ai/"
Windows: Use full paths if you encounter timeout errors.
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "type": "streamable-http",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Via UI:
  1. Open Kilo Code → Settings icon → MCP Servers
  2. Click Add Server → Choose HTTP Server (Streamable HTTP Transport)
  3. Enter URL: https://apigcp.trynia.ai/mcp
  4. Add Header - Key: Authorization, Value: Bearer YOUR_API_KEY
  5. Click Save
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "type": "streamable-http",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      },
      "disabled": false
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      },
      "disabled": false
    }
  }
}
  1. Go to Settings → Tools → AI Assistant → Model Context Protocol (MCP)
  2. Click + Add
  3. Select As JSON from the dropdown
  4. Add configuration:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
  1. Click Apply
  1. Navigate to Kiro → MCP Servers
  2. Click + Add
  3. Add configuration:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
Go to Program → Install → Edit mcp.json:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Remote Server (Recommended):
{
  "servers": {
    "nia": {
      "type": "http",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcp": {
    "servers": {
      "nia": {
        "type": "stdio",
        "command": "pipx",
        "args": ["run", "--no-cache", "nia-mcp-server"],
        "env": {
          "NIA_API_KEY": "YOUR_API_KEY",
          "NIA_API_URL": "https://apigcp.trynia.ai/"
        }
      }
    }
  }
}
Open Settings → Plugins, then add:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
  1. Open the Qodo Gen chat panel
  2. Click Connect more tools
  3. Click + Add new MCP
Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Open ~/.qwen/settings.json and add:Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "httpUrl": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY",
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
  1. Navigate to Perplexity → Settings → Connectors
  2. Click Add Connector → Advanced
  3. Server Name: Nia
  4. Add configuration:
{
  "args": ["run", "--no-cache", "nia-mcp-server"],
  "command": "pipx",
  "env": {
    "NIA_API_KEY": "YOUR_API_KEY",
    "NIA_API_URL": "https://apigcp.trynia.ai/"
  }
}
  1. Navigate to Settings → AI → Manage MCP servers
  2. Click + Add
  3. Add configuration:
{
  "nia": {
    "command": "pipx",
    "args": ["run", "--no-cache", "nia-mcp-server"],
    "env": {
      "NIA_API_KEY": "YOUR_API_KEY",
      "NIA_API_URL": "https://apigcp.trynia.ai/"
    },
    "working_directory": null,
    "start_on_launch": true
  }
}
Add to: Repository → Settings → Copilot → Coding agent → MCP configurationRemote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "type": "http",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "type": "stdio",
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Open ~/.copilot/mcp-config.json and add:Remote Server (Recommended):
{
  "mcpServers": {
    "nia": {
      "type": "http",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "mcpServers": {
    "nia": {
      "type": "local",
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
{
  "mcpServers": {
    "nia": {
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Remote Server (Recommended):
{
  "mcp": {
    "nia": {
      "type": "remote",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      },
      "enabled": true
    }
  }
}
Local Server:
{
  "mcp": {
    "nia": {
      "type": "local",
      "command": ["pipx", "run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      },
      "enabled": true
    }
  }
}
Remote Server (Recommended):
{
  "$schema": "https://charm.land/crush.json",
  "mcp": {
    "nia": {
      "type": "http",
      "url": "https://apigcp.trynia.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Local Server:
{
  "$schema": "https://charm.land/crush.json",
  "mcp": {
    "nia": {
      "type": "stdio",
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  }
}
Remote Server Only:
amp mcp add nia --header "Authorization=Bearer YOUR_API_KEY" https://apigcp.trynia.ai/mcp
Factory’s droid supports MCP servers through its CLI.Remote Server (Recommended):
droid mcp add nia https://apigcp.trynia.ai/mcp --type http --header "Authorization: Bearer YOUR_API_KEY"
Local Server:
droid mcp add nia "pipx run --no-cache nia-mcp-server" --env NIA_API_KEY=YOUR_API_KEY --env NIA_API_URL=https://apigcp.trynia.ai/
Once configured, Nia tools will be available in your droid sessions. Type /mcp within droid to manage servers.
Via UI:
  1. Hamburger menu → Settings → Tools
  2. Click + Add MCP
  3. Enter command: pipx run --no-cache nia-mcp-server
  4. Name: Nia
Manual Configuration:
"augment.advanced": {
  "mcpServers": [
    {
      "name": "nia",
      "command": "pipx",
      "args": ["run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      }
    }
  ]
}
On Windows, configuration differs slightly. Use cmd with /c:
{
  "mcpServers": {
    "nia": {
      "command": "cmd",
      "args": ["/c", "pipx", "run", "--no-cache", "nia-mcp-server"],
      "env": {
        "NIA_API_KEY": "YOUR_API_KEY",
        "NIA_API_URL": "https://apigcp.trynia.ai/"
      },
      "disabled": false
    }
  }
}

Automated Setup Script

Don’t want to configure manually? Use our automated setup script.
curl -fsSL https://app.trynia.ai/api/setup-script | bash -s -- YOUR_API_KEY IDE_NAME --remote
Supported IDEs: cursor, vscode, windsurf, cline, antigravity, trae, continue, roo-code, kilo-code, gemini-cli, vibe, opencode, qodo-gen, qwen-coder, visual-studio, crush, copilot-agent, copilot-cli, claude-code, factory, amp

Local Setup

curl -fsSL https://app.trynia.ai/api/setup-script | bash -s -- YOUR_API_KEY IDE_NAME
Supported IDEs: cursor, vscode, windsurf, cline, antigravity, trae, continue, roo-code, kilo-code, gemini-cli, opencode, qodo-gen, qwen-coder, visual-studio, crush, copilot-agent, copilot-cli, claude-code, factory, codex, zed, augment, jetbrains, kiro, lm-studio, bolt-ai, perplexity, warp, amazon-q, claude-desktop

Python CLI Alternative

# Remote
pipx run nia-mcp-server setup YOUR_API_KEY --ide IDE_NAME --remote

# Local
pipx run nia-mcp-server setup YOUR_API_KEY --ide IDE_NAME
Not fully automated: zencoder and rovo-dev require manual UI setup - the script prints the config for you to copy.

Need Help? Join our community or reach out through app.trynia.ai for support and updates.