Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEXUS_HOSTNoBind host.0.0.0.0
NEXUS_PORTNoBind port.8766
NEXUS_DB_DSNNoSingle PostgreSQL URI alternative to the legacy NEXUS_DB_* fields.
NEXUS_DB_HOSTNoPostgreSQL host.
NEXUS_DB_NAMENoDatabase name.
NEXUS_DB_PORTNoPostgreSQL port.5432
NEXUS_DB_USERNoDatabase user.
NEXUS_DATA_DIRNoLocal data directory for SQLite memory.~/.mcp-nexus
NEXUS_JOB_ROOTNoRoot directory on the target host for detached background jobs and captured stdout/stderr./var/tmp/mcp-nexus/jobs
NEXUS_MCP_PATHNoMCP endpoint path./mcp
NEXUS_SSH_HOSTNoTarget server hostname or IP.127.0.0.1
NEXUS_SSH_PORTNoSSH port.22
NEXUS_SSH_USERNoSSH username.root
NEXUS_LOG_LEVELNoLogging level.info
NEXUS_DB_SSLMODENoOptional PostgreSQL SSL mode for the legacy/default profile.
NEXUS_STATE_ROOTNoPersistent encrypted state for OAuth clients, bindings, access tokens, and refresh tokens.~/.mcp-nexus/state
NEXUS_DB_PASSWORDNoDatabase password.
NEXUS_DEFAULT_CWDNoDefault working directory for execution tools.
NEXUS_INTELLIGENCENoEnable/disable the intelligence layer.true
NEXUS_OAUTH_ISSUERNoOAuth authorization server issuer.NEXUS_PUBLIC_BASE_URL
NEXUS_OAUTH_SCOPESNoValid scopes exposed via OAuth metadata.nexus
NEXUS_RELEASE_ROOTNoRelease directory root on the target host for release-based deploys./opt/mcp-nexus/releases
NEXUS_SANDBOX_ROOTNoRoot directory on the target host for reusable Python sandboxes.~/.mcp-nexus/sandboxes
NEXUS_SSH_KEY_PATHNoSSH private key path.
NEXUS_SSH_PASSWORDNoSSH password.
NEXUS_ARTIFACT_ROOTNoLocal artifact directory for oversized stdout/stderr/CSV exports.~/.mcp-nexus/artifacts
NEXUS_OAUTH_ENABLEDNoEnable standards-based OAuth discovery, registration, and consent routes.true
NEXUS_SSH_POOL_SIZENoMax concurrent SSH connections.4
NEXUS_AUDIT_LOG_FILENoAudit log path; leave empty to use the default under NEXUS_DATA_DIR.~/.mcp-nexus/audit.jsonl
NEXUS_RATE_LIMIT_RPMNoRequests per minute.120
NEXUS_COMMAND_TIMEOUTNoDefault command timeout.60
NEXUS_OAUTH_CLIENT_IDNoOptional static OAuth client ID for manual Auth URL / Token URL screens.nexus-default
NEXUS_PUBLIC_BASE_URLNoPublic HTTPS origin used by ChatGPT and OAuth discovery.
NEXUS_TOOL_ALIAS_BASENoStable HTTP-style alias prefix attached to every tool./mcp-nexus
NEXUS_DB_PROFILES_JSONNoJSON object of named PostgreSQL profiles consumed by db_profiles / db_use.
NEXUS_MCP_PATH_ALIASESNoOptional comma-separated legacy/compatibility MCP paths such as /mcp.
NEXUS_RATE_LIMIT_BURSTNoBurst capacity.20
NEXUS_RESTART_COOLDOWNNoCooldown window in seconds.120
NEXUS_ERROR_LIMIT_BYTESNoStderr truncation limit.10000
NEXUS_FORWARDED_HEADERSNoForwarded headers copied into request/session metadata.forwarded,x-forwarded-for,x-forwarded-host,x-forwarded-port,x-forwarded-proto
NEXUS_WATCHDOG_INTERVALNoHealth check interval in seconds.30
NEXUS_WATCHDOG_SERVICESNoComma-separated services to monitor.
NEXUS_DB_DEFAULT_PROFILENoDefault profile when no session-bound profile is active.default
NEXUS_OAUTH_CONSENT_PATHNoConsent UI path used during ChatGPT Connect./oauth/consent
NEXUS_OUTPUT_LIMIT_BYTESNoStdout truncation limit.50000
NEXUS_ERROR_PREVIEW_BYTESNoInline stderr preview size before artifact spillover.2000
NEXUS_HOST_BRIDGE_ADDRESSNoHost bridge address used when containerized Nexus must reach host-local services such as SSH or PostgreSQL.auto-detect
NEXUS_OAUTH_CLIENT_SECRETNoOptional static OAuth client secret for manual OAuth screens.
NEXUS_CURRENT_RELEASE_LINKNoStable symlink used by release activation/rollback tools./opt/mcp-nexus/current
NEXUS_MAX_RESTART_ATTEMPTSNoMax auto-restarts per cooldown window.10
NEXUS_OAUTH_DEFAULT_SCOPESNoScopes granted by default to registered clients.nexus
NEXUS_OUTPUT_PREVIEW_BYTESNoInline stdout preview size before artifact spillover.4000
NEXUS_RUNNING_IN_CONTAINERNoForce container-runtime detection when localhost should not mean host-local execution.auto-detect
NEXUS_STATE_ENCRYPTION_KEYNoOptional Fernet key used to encrypt the persisted state file.auto-generated
NEXUS_OAUTH_TOKEN_TTL_SECONDSNoAccess token lifetime.3600
NEXUS_OAUTH_REFRESH_TTL_SECONDSNoRefresh token lifetime.2592000
NEXUS_OAUTH_CLIENT_REDIRECT_URISNoComma-separated exact callback URLs allowed for the static OAuth client.
NEXUS_ALLOW_CONTAINER_LOCALHOST_EXECNoRe-enable container-local execution if you intentionally want localhost to mean the container itself.false
NEXUS_OAUTH_AUTHORIZATION_CODE_TTL_SECONDSNoAuthorization 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources