settings.yaml keys, including mcp_servers, see Settings file reference.
When to use an MCP server
Use an MCP server when you want agents to:- Invoke external tools or services
- Call APIs or interact with third-party systems
- Integrate with internal or custom tooling
- Perform specialized or domain-specific operations
- Static instructions or repeatable workflows. Use skills instead.
- Broad agent behavior that should apply to every task. Use AGENTS.md instructions instead.
- Operations that cannot be safely constrained by permissions and approvals.
Connection types
Each MCP server uses a single connection type, which determines how tools run and how Poolside communicates with them.- Use Stdio (Local Process) to run an MCP server as a local process. This connection type is useful for local tools, scripts, or filesystem access.
- Use Streamable HTTP or Server-Sent Events (SSE) to connect to MCP servers over a URL. These connection types are typically used for hosted or remote services.
Add a personal MCP server
Personal MCP servers are defined in your Poolside settings file. Add them by editingsettings.yaml directly or by using pool mcp add.
Prerequisites
- You have the server details:
- For a Stdio (Local Process) server, the command that starts the server.
- For a Streamable HTTP or Server-Sent Events (SSE) server, the server URL and any required credentials.
- The
poolcommand is installed, if you plan to usepool mcp add. See Install Poolside Agent CLI.
-
Add the server definition.
- Edit the settings file
- Use the CLI
Add anmcp_serversblock to~/.config/poolside/settings.yaml. This file stores personal MCP servers available across all your projects.For a Stdio (Local Process) server, specify the command that starts the server:For example:For a Streamable HTTP or Server-Sent Events (SSE) server, specify the server URL:For example:For all available options, see MCP server configuration options. -
Use the server from
poolorpool exec. Personal MCP servers from your settings file are available topoolandpool exec. Example interactive session:Example one-shot prompt:For availablepool mcpcommands, see CLI reference.
MCP server configuration options
You can use the following configuration options in the settings file. Some options apply only to Stdio (Local Process) servers or only to Streamable HTTP or Server-Sent Events (SSE) servers.Authentication
Some MCP servers require authentication in addition to the connection settings above. Depending on the server, authentication might involve API keys, tokens, environment variables, or OAuth-based sign-in. For HTTP and SSE servers, configure authentication values in the server definition, such as withheaders or env. For local stdio servers, the server process runs with the permissions and environment available to the local agent host or sandbox.
Access and security
MCP servers run with the permissions of their execution environment, so only connect servers that you trust. Permissions and approvals limit what agents can use, but they do not isolate or sandbox MCP server execution by themselves. Approval behavior depends on the MCP server connection type and on whether the agent runs in a sandbox:- Stdio MCP servers run inside the sandbox when the agent runs in a sandbox. In interactive
pooland ACP sessions, stdio MCP tool calls are auto-approved when the session uses a sandbox. - HTTP and SSE servers run outside the sandbox and require explicit approval even when the agent runs in a sandbox.
With unsafe auto-allow mode on, approvals for HTTP and SSE MCP servers may be granted automatically.