Neurouter Hub
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | API server port. | 3000 |
| NODE_ENV | No | development, test or production (production requires an https PUBLIC_URL and OIDC). | production |
| PUBLIC_URL | Yes | Public https URL of the server (required in production). | |
| HASH_PEPPER | Yes | HMAC pepper for API keys and OAuth tokens; changing it invalidates every API key and OAuth token. | |
| OIDC_ISSUER | No | OIDC issuer URL (required in production). | |
| DATABASE_URL | No | Main database URL; SQLite or Postgres (Postgres 16+ with the vector extension for production). | sqlite:./data/neurouter.db |
| AUTH_DEV_LOGIN | No | Enable development login; refused outside development. | |
| OIDC_CLIENT_ID | No | OIDC client ID (required in production). | |
| MIGRATE_ON_START | No | Apply database migrations on server start. | |
| AUDIT_ARCHIVE_URL | No | Audit retention archive URL (file:, s3://, gs://, azblob://). | |
| OIDC_ADMIN_GROUPS | No | IdP groups that grant the admin role. | |
| OTEL_SDK_DISABLED | No | Set to false to enable OpenTelemetry export. | |
| AUDIT_DATABASE_URL | No | Optional separate audit database URL; defaults to DATABASE_URL. | |
| EMBEDDINGS_ENABLED | No | Enable semantic tool search embeddings (default true). | |
| OIDC_CLIENT_SECRET | No | OIDC client secret (required in production). | |
| MCP_ALLOWED_ORIGINS | No | Allowed Origin values for the /mcp endpoint, checked against PUBLIC_URL. | |
| OIDC_AUDITOR_GROUPS | No | IdP groups that grant the auditor role. | |
| BOOTSTRAP_ADMIN_EMAIL | No | Email of the bootstrap admin user for development login. | |
| NEUROUTER_MASTER_KEYS | Yes | KEKs (id:base64-32-bytes, comma-separated) that wrap the data keys encrypting upstream credentials, upstream OAuth tokens and the audit checkpoint MAC key. | |
| EMBEDDINGS_ALLOW_REMOTE | No | Allow remote embedding model access; set to false to use the baked-in model without network egress. | |
| NEUROUTER_ACTIVE_KEY_ID | Yes | Which KEK wraps new DEKs. | |
| OUTBOUND_ALLOW_PRIVATE_NETWORKS | No | Whether outbound requests may target private networks. | |
| UPSTREAM_ALLOW_PRIVATE_NETWORKS | No | Whether upstream requests may target private networks; cloud metadata ranges are always denied. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Neurouter Hub is a self-hosted MCP gateway; this stdio endpoint only describes its tools. Deploy the gateway and connect agents to its /mcp endpoint over HTTP: https://hub.neurouter.com/docs
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_toolsA | Find tools you are allowed to use across all connected servers. Returns the best matches with their input schemas. Call a result with call_tool. |
| call_toolA | Execute a tool returned by search_tools. Pass the exact name and arguments matching its inputSchema. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have clearly separate roles: search_tools discovers tools and their schemas, while call_tool executes a selected tool. There is no overlap or ambiguity between discovery and execution.
Both names follow a consistent verb_noun snake_case pattern: search_tools and call_tool. The convention is predictable and readable.
Two tools are minimal but sufficient for a router whose job is discovery plus execution. It is slightly under the typical 3-15 range, but each tool clearly earns its place.
The surface covers the essential lifecycle: find an allowed tool, inspect its input schema, then call it. Minor gaps exist around explicitly listing all available tools or servers, but core workflows are supported.