Model Context Protocol (MCP) is an open standard that lets AI agents connect to external tools, data sources, and services through a standardised interface. Shob can connect to both local MCP servers (programs you run on your machine via a shell command) and remote MCP servers (hosted HTTP/SSE endpoints). All MCP servers are configured under theDocumentation 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.
mcp key in shob.json.
The mcp config block
Each key inside mcp is a server name you choose — it appears in logs and in the shob mcp list output. The value is a server configuration object whose shape depends on whether it is local or remote:
Local servers
A local server is launched by Shob as a child process and communicates over stdio. Use this for any MCP server you install as an npm package or run as a binary.Config fields
Must be
"local" for stdio-based servers.The command and its arguments to launch the server, e.g.
["npx", "-y", "@modelcontextprotocol/server-filesystem", "/tmp"].A map of extra environment variables to inject when the server process starts.
Set to
false to keep the server defined in config but prevent Shob from starting it automatically (default: true).Timeout in milliseconds for individual MCP requests to this server (default:
5000).Example
Remote servers
A remote server is accessed over HTTP (streaming via Server-Sent Events or Streamable HTTP). Shob connects to the URL you provide and optionally handles OAuth authentication automatically.Config fields
Must be
"remote" for HTTP-based servers.The full URL of the remote MCP endpoint, e.g.
https://mcp.example.com/sse.Set to
false to disable this server without removing it from the config.Extra HTTP headers to include with every request (useful for static API-key auth schemes that don’t use OAuth).
OAuth configuration for this server. Omit or leave as an empty object
{} to enable auto-detection (Shob will attempt dynamic client registration per RFC 7591). Set to false to disable OAuth entirely.Timeout in milliseconds for MCP requests (default:
5000).Example
OAuth for remote servers
Many remote MCP servers require OAuth 2.0 authentication. Shob supports the full OAuth flow — including dynamic client registration (RFC 7591) when no client ID is pre-configured.OAuth config fields
OAuth client ID. If not provided, Shob attempts dynamic client registration with the server.
OAuth client secret, if required by the authorisation server.
Space-separated OAuth scopes to request during authorisation.
OAuth redirect URI. Defaults to
http://127.0.0.1:19876/mcp/oauth/callback.OAuth example
Complete example
Managing MCP servers with the CLI
You can add, list, and authenticate MCP servers interactively without editingshob.json by hand.
Add a server interactively
local or remote), and the command or URL. For remote servers it also offers to configure OAuth. The result is written directly to the appropriate shob.json file.
List configured servers
connected, disabled, needs authentication, failed, etc.) and the command or URL for each.
Authenticate with an OAuth server
View OAuth status
authenticated, expired, or not authenticated).
Remove stored credentials
Debug an OAuth connection
MCP servers configured in the global config are available in every project. Servers in a project config (
./shob.json or ./.shob/shob.json) are only active inside that project.