Skip to main content
Add an MCP server from the official MCP Registry, npm, or a remote URL.

Usage

ultra add <server|url> [flags]

Arguments

ArgumentRequiredDescription
server or urlYesServer name/package or HTTP(S) URL

Flags

FlagShortDefaultDescription
--nameDerived from packageCustom name for the server
--disabledfalseAdd server in disabled state
--yes-yfalseAccept defaults without prompting

Examples

# Add the official filesystem server
ultra add @modelcontextprotocol/server-filesystem

# Add by short name (searches registries)
ultra add filesystem

# Add with a custom name
ultra add @modelcontextprotocol/server-filesystem --name myfiles

# Add without prompts (use defaults)
ultra add filesystem --yes

# Add a remote server by URL
ultra add https://mcp.slack.com/mcp

# Add a remote server with a custom name
ultra add https://remote.example.com/mcp --name myserver

Registry Lookup

When you pass a package name:
  • Full name (contains / or starts with @) — Direct lookup in registries
  • Short name — Searches registries and presents matching results for selection
If multiple results are found, Ultra shows an interactive selector (up to 9 results).

URL Mode

When you pass an HTTP(S) URL:
  • Ultra derives a server name from the hostname (e.g., https://mcp.slack.comslack)
  • Tests the connection and detects authentication requirements
  • For OAuth servers, authorization happens at runtime
  • For token-based auth, prompts for the token during setup

Connection Testing

For both registry and URL servers, Ultra tests the connection:
  • Stdio servers — Probes the server with the MCP handshake. If the default args fail, automatically tries common fixes (e.g., appending --stdio)
  • HTTP servers — Tests connectivity and detects auth requirements (OAuth, Bearer token, API key)

Configuration

Added servers are written to Ultra’s config file. Environment variables and auth tokens are collected during the interactive flow or can be set later:
ultra config set-token my-server YOUR_TOKEN