MCP Nexus
by farukalpay
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NEXUS_HOST | No | Bind host. | 0.0.0.0 |
| NEXUS_PORT | No | Bind port. | 8766 |
| NEXUS_DB_DSN | No | Single PostgreSQL URI alternative to the legacy NEXUS_DB_* fields. | |
| NEXUS_DB_HOST | No | PostgreSQL host. | |
| NEXUS_DB_NAME | No | Database name. | |
| NEXUS_DB_PORT | No | PostgreSQL port. | 5432 |
| NEXUS_DB_USER | No | Database user. | |
| NEXUS_DATA_DIR | No | Local data directory for SQLite memory. | ~/.mcp-nexus |
| NEXUS_JOB_ROOT | No | Root directory on the target host for detached background jobs and captured stdout/stderr. | /var/tmp/mcp-nexus/jobs |
| NEXUS_MCP_PATH | No | MCP endpoint path. | /mcp |
| NEXUS_SSH_HOST | No | Target server hostname or IP. | 127.0.0.1 |
| NEXUS_SSH_PORT | No | SSH port. | 22 |
| NEXUS_SSH_USER | No | SSH username. | root |
| NEXUS_LOG_LEVEL | No | Logging level. | info |
| NEXUS_DB_SSLMODE | No | Optional PostgreSQL SSL mode for the legacy/default profile. | |
| NEXUS_STATE_ROOT | No | Persistent encrypted state for OAuth clients, bindings, access tokens, and refresh tokens. | ~/.mcp-nexus/state |
| NEXUS_DB_PASSWORD | No | Database password. | |
| NEXUS_DEFAULT_CWD | No | Default working directory for execution tools. | |
| NEXUS_INTELLIGENCE | No | Enable/disable the intelligence layer. | true |
| NEXUS_OAUTH_ISSUER | No | OAuth authorization server issuer. | NEXUS_PUBLIC_BASE_URL |
| NEXUS_OAUTH_SCOPES | No | Valid scopes exposed via OAuth metadata. | nexus |
| NEXUS_RELEASE_ROOT | No | Release directory root on the target host for release-based deploys. | /opt/mcp-nexus/releases |
| NEXUS_SANDBOX_ROOT | No | Root directory on the target host for reusable Python sandboxes. | ~/.mcp-nexus/sandboxes |
| NEXUS_SSH_KEY_PATH | No | SSH private key path. | |
| NEXUS_SSH_PASSWORD | No | SSH password. | |
| NEXUS_ARTIFACT_ROOT | No | Local artifact directory for oversized stdout/stderr/CSV exports. | ~/.mcp-nexus/artifacts |
| NEXUS_OAUTH_ENABLED | No | Enable standards-based OAuth discovery, registration, and consent routes. | true |
| NEXUS_SSH_POOL_SIZE | No | Max concurrent SSH connections. | 4 |
| NEXUS_AUDIT_LOG_FILE | No | Audit log path; leave empty to use the default under NEXUS_DATA_DIR. | ~/.mcp-nexus/audit.jsonl |
| NEXUS_RATE_LIMIT_RPM | No | Requests per minute. | 120 |
| NEXUS_COMMAND_TIMEOUT | No | Default command timeout. | 60 |
| NEXUS_OAUTH_CLIENT_ID | No | Optional static OAuth client ID for manual Auth URL / Token URL screens. | nexus-default |
| NEXUS_PUBLIC_BASE_URL | No | Public HTTPS origin used by ChatGPT and OAuth discovery. | |
| NEXUS_TOOL_ALIAS_BASE | No | Stable HTTP-style alias prefix attached to every tool. | /mcp-nexus |
| NEXUS_DB_PROFILES_JSON | No | JSON object of named PostgreSQL profiles consumed by db_profiles / db_use. | |
| NEXUS_MCP_PATH_ALIASES | No | Optional comma-separated legacy/compatibility MCP paths such as /mcp. | |
| NEXUS_RATE_LIMIT_BURST | No | Burst capacity. | 20 |
| NEXUS_RESTART_COOLDOWN | No | Cooldown window in seconds. | 120 |
| NEXUS_ERROR_LIMIT_BYTES | No | Stderr truncation limit. | 10000 |
| NEXUS_FORWARDED_HEADERS | No | Forwarded headers copied into request/session metadata. | forwarded,x-forwarded-for,x-forwarded-host,x-forwarded-port,x-forwarded-proto |
| NEXUS_WATCHDOG_INTERVAL | No | Health check interval in seconds. | 30 |
| NEXUS_WATCHDOG_SERVICES | No | Comma-separated services to monitor. | |
| NEXUS_DB_DEFAULT_PROFILE | No | Default profile when no session-bound profile is active. | default |
| NEXUS_OAUTH_CONSENT_PATH | No | Consent UI path used during ChatGPT Connect. | /oauth/consent |
| NEXUS_OUTPUT_LIMIT_BYTES | No | Stdout truncation limit. | 50000 |
| NEXUS_ERROR_PREVIEW_BYTES | No | Inline stderr preview size before artifact spillover. | 2000 |
| NEXUS_HOST_BRIDGE_ADDRESS | No | Host bridge address used when containerized Nexus must reach host-local services such as SSH or PostgreSQL. | auto-detect |
| NEXUS_OAUTH_CLIENT_SECRET | No | Optional static OAuth client secret for manual OAuth screens. | |
| NEXUS_CURRENT_RELEASE_LINK | No | Stable symlink used by release activation/rollback tools. | /opt/mcp-nexus/current |
| NEXUS_MAX_RESTART_ATTEMPTS | No | Max auto-restarts per cooldown window. | 10 |
| NEXUS_OAUTH_DEFAULT_SCOPES | No | Scopes granted by default to registered clients. | nexus |
| NEXUS_OUTPUT_PREVIEW_BYTES | No | Inline stdout preview size before artifact spillover. | 4000 |
| NEXUS_RUNNING_IN_CONTAINER | No | Force container-runtime detection when localhost should not mean host-local execution. | auto-detect |
| NEXUS_STATE_ENCRYPTION_KEY | No | Optional Fernet key used to encrypt the persisted state file. | auto-generated |
| NEXUS_OAUTH_TOKEN_TTL_SECONDS | No | Access token lifetime. | 3600 |
| NEXUS_OAUTH_REFRESH_TTL_SECONDS | No | Refresh token lifetime. | 2592000 |
| NEXUS_OAUTH_CLIENT_REDIRECT_URIS | No | Comma-separated exact callback URLs allowed for the static OAuth client. | |
| NEXUS_ALLOW_CONTAINER_LOCALHOST_EXEC | No | Re-enable container-local execution if you intentionally want localhost to mean the container itself. | false |
| NEXUS_OAUTH_AUTHORIZATION_CODE_TTL_SECONDS | No | Authorization code lifetime. | 600 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues