Skip to main content
Set tokens, headers, and view configuration details.

Usage

ultra config <subcommand> [flags]

Subcommands

set-token

Set an authentication token (PAT, API key) for an MCP server. The token is stored as an Authorization: Bearer header.
ultra config set-token <server-name> [token]
If the token is not provided as an argument, you’ll be prompted to enter it securely (hidden input).
FlagShortDefaultDescription
--interactive-ifalseForce interactive token input
# Set token interactively (recommended)
ultra config set-token github-mcp-server

# Set token directly (less secure — appears in shell history)
ultra config set-token github-mcp-server ghp_xxxxxxxxxxxx

set-header

Set a custom HTTP header for an MCP server.
ultra config set-header <server-name> <header-name> <header-value>
# Set a custom API key header
ultra config set-header my-server X-API-Key abc123

# Set an authorization header manually
ultra config set-header my-server Authorization "Bearer xyz"

path

Show the configuration file path.
ultra config path

Examples

# Set a token for a server
ultra config set-token github-mcp-server YOUR_TOKEN

# Set a custom header
ultra config set-header linear "X-API-Key" YOUR_API_KEY

# Show current config path
ultra config path