Skip to content

nexus serve ​

Run Nexus as a local MCP server.

Usage ​

bash
nexus serve [options]

Options ​

OptionDescription
--port <n>HTTP port (default: none, uses stdio)
--host <host>Host to bind (default: localhost)
--verboseVerbose logging

Examples ​

bash
# Run with stdio (for MCP clients)
nexus serve

# Run with HTTP server
nexus serve --port 3000

# Verbose mode
nexus serve --verbose

Usage with AI Clients ​

Add to your MCP configuration:

json
{
  "mcpServers": {
    "nexus": {
      "command": "nexus",
      "args": ["serve"]
    }
  }
}

Environment Variables ​

VariableDescription
NEXUS_API_URLAPI endpoint (default: https://api.nexus.yogan.dev)
NEXUS_VERBOSEEnable verbose logging

Released under the MIT License.