Connect MCP servers
The Model Context Protocol lets an agent use tools from other programs: documentation search, issue trackers, databases, browsers. Dial connects to local and remote MCP servers, signs in with OAuth where they need it, and asks before running their tools.
Browse and install
/extensions is the one place to find MCP servers and skills. On the MCP servers tab, press / to search the catalogs, v for a server's details, and Enter or i to install. Tags show up front whether a server needs an API key; auth unknown means the listing doesn't say.
Nothing installs without your confirmation. A server that needs settings asks for them in a form; one that needs an account is saved and Dial tells you to sign in. New servers take effect in the next session, or run /mcp reconnect.
Configure a local server
Add a stdio server, a program Dial starts, to ~/.dial/config.toml:
[mcp.docs]
program = "npx"
args = ["-y", "@modelcontextprotocol/server-everything"]
cwd = "." # optional; relative to the project
# env = { API_TOKEN = "..." }Its tools appear to the model as mcp__docs__TOOLNAME. The program is trusted: it runs outside the sandbox with your permissions, so only configure servers you'd run yourself.
Remote servers and sign-in
A remote server takes url instead of program (https, or http on localhost):
[mcp.tracker]
url = "https://mcp.example.com/mcp"
bearer_env = "TRACKER_TOKEN" # or sign in with OAuth
# transport = "sse" # only for legacy HTTP+SSE serversFor OAuth, run /mcp login tracker and finish in the browser, then /mcp reconnect. The grant is tied to that exact URL, so changing the URL means signing in again. Redirects are refused, so configure the final endpoint.
Approvals for MCP tools
Every MCP tool asks for approval, like any other tool that can change things. To let read-only tools run freely, mark the server as trusted for that:
[mcp.docs]
trust_read_only_hint = trueThen tools that declare readOnlyHint run without asking, and read-only subagents may use them. Only do this for servers you trust to label their tools honestly. See approvals.
Check and manage servers
| Command | What it does |
|---|---|
/mcp | Status of every server |
/mcp test NAME | Check that one server starts and answers |
/mcp reconnect | Reconnect after a change or sign-in |
/mcp login NAME, /mcp logout NAME | OAuth sign-in and sign-out |
/mcp prompt SERVER NAME key=value | Put a server's prompt into the input for you to review; it isn't sent |
/mcp list hides URLs and arguments, since either can contain credentials. Servers stay connected when you change unrelated settings. The full reference is in extensions and project context.