Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/shobcoder/shob/llms.txt

Use this file to discover all available pages before exploring further.

shob mcp manages your Model Context Protocol (MCP) server configuration. MCP servers extend the agent’s toolset by exposing additional capabilities — such as file systems, databases, APIs, or custom tools — over a standardised protocol. Shob supports both local MCP servers (launched as a subprocess via a command) and remote MCP servers (connected over HTTP, with optional OAuth).

Usage

shob mcp <subcommand>

shob mcp add

Launches an interactive wizard to add a new MCP server to your configuration. You will be prompted for:
  1. Location — whether to save the server to the current project (shob.json in the repo) or globally (~/.config/shob/shob.json)
  2. Name — a unique identifier for the server
  3. Typelocal (runs a command) or remote (connects to a URL)
  4. For local servers: the command to run
  5. For remote servers: the URL and optional OAuth settings (client ID and secret)
shob mcp add
The wizard writes directly to your shob.json or shob.jsonc configuration file using jsonc-parser, so existing comments are preserved.

shob mcp list

Lists all configured MCP servers along with their current connection status.
shob mcp list
# alias: shob mcp ls

Status indicators

IconStatusMeaning
connectedServer is reachable and ready
needs authenticationRemote server requires OAuth login
failed / needs client registrationConnection failed or client ID is missing
not initialized / disabledServer is configured but not yet started

Example output

◆ MCP Servers

●  github ✓ connected
    shob x @modelcontextprotocol/server-github

●  my-api ⚠ needs authentication
    https://api.example.com/mcp

●  filesystem ✓ connected (OAuth)
    shob x @modelcontextprotocol/server-filesystem

◆ 3 server(s)

shob mcp auth

Authenticate with an OAuth-enabled remote MCP server. When called without a name, displays a selection list of all OAuth-capable servers with their current auth status.
shob mcp auth [name]

Arguments

name
string
Optional name of the MCP server to authenticate with. If omitted, an interactive selection prompt is shown.
Shob opens your browser to complete the OAuth flow. If the browser cannot be opened automatically, it prints the authorization URL so you can open it manually.

shob mcp auth list

Lists all OAuth-capable MCP servers and their current authentication status.
shob mcp auth list
# alias: shob mcp auth ls

Auth status icons

IconStatus
authenticated — credentials are valid
expired — credentials exist but have expired
not authenticated — no credentials stored

shob mcp logout

Remove stored OAuth credentials for an MCP server. When called without a name, shows a selection prompt for all servers that have stored credentials.
shob mcp logout [name]

Arguments

name
string
Optional name of the MCP server to log out from. If omitted, an interactive selection prompt is shown.

shob mcp debug

Run a detailed OAuth connection diagnostic for a remote MCP server. Useful for troubleshooting authentication failures, discovering server metadata, and inspecting stored tokens.
shob mcp debug <name>

Arguments

name
string
required
The name of the remote MCP server to debug. Must be configured in shob.json.
The debug command:
  • Displays stored token info (expiry, refresh token presence, client ID)
  • Sends a raw HTTP initialize request to the server and shows the response status
  • Checks for WWW-Authenticate headers indicating the OAuth discovery endpoint
  • Attempts the OAuth client connect flow and reports the outcome
shob mcp debug my-api
shob mcp debug only works with servers configured as type: "remote" that have OAuth enabled. It exits early if the server is local or has oauth: false.

Build docs developers (and LLMs) love