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

Run Automated Setup

Open your terminal and run the setup script with your API key and coding agent:
curl -fsSL http://app.trynia.ai/api/setup-script | bash -s -- YOUR_API_KEY your-coding-agent
Replace:
  • YOUR_API_KEY with your API key from step 1
  • your-coding-agent with one of: cursor, claude-code, vscode, windsurf, continue, cline, codex
Examples:
# For Cursor
curl -fsSL http://app.trynia.ai/api/setup-script | bash -s -- nia_abc123 cursor

# For Claude Code
curl -fsSL http://app.trynia.ai/api/setup-script | bash -s -- nia_abc123 claude-code

# For VS Code
curl -fsSL http://app.trynia.ai/api/setup-script | bash -s -- nia_abc123 vscode
This script will automatically install dependencies and configure Nia MCP for your coding agent.
3

Restart Your Coding Agent

Restart your coding assistant to load the new MCP server

That’s It!

You’re ready to start using Nia MCP! Check out the Tools & Features page to explore all available capabilities.
Prefer manual setup? See the Manual Setup section below for detailed configuration instructions.

Manual Setup

If you prefer to manually configure Nia MCP or if the automated setup didn’t work for your setup, follow these detailed instructions:
1

Prerequisites

  • Python 3.8+
  • pipx (recommended) or uvx or pip
  • Your Nia API key from app.trynia.ai
2

Install the Package

# Install globally for use across all projects
pipx install nia-mcp-server
3

Configure Your MCP Client

Choose your coding agent below for specific configuration steps
4

Replace Your API Key

Get your API key from app.trynia.ai and replace YOUR_API_KEY in the configuration
5

Restart Your Client

Restart your coding assistant to load the new MCP server

Configuration by Coding Agent

  • Cursor
  • Windsurf
  • Claude Desktop
  • VS Code
  • Continue.dev
  • Claude Code
  • Codex
  • Cline
Add Nia MCP server to Cursor
1

Open MCP Configuration

Open your Cursor MCP configuration file:
  • macOS: ~/.cursor/mcp.json
  • Windows: %APPDATA%\Cursor\mcp.json
  • Linux: ~/.config/cursor/mcp.json
2

Add NIA 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/"
      }
    }
  }
}

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