MCP servers expose external tools. Connection and permission are separate: saving a server does not grant it to every agent.
Add a preset
- Open Skills & Tools or the MCP section in Settings.
- Select Add MCP Server.
- Filter the preset gallery and select a server.
- Replace every
<PLACEHOLDER>in Args. - Fill required environment variables.
- Mark credentials as secret and prefer
env:NAMEreferences. - Select Test.
- Review the discovered tools and save.
Package-based stdio presets may require npx or uvx on the host.
Add a custom server
Choose Custom setup:
- stdio: enter Name, Command, Args, and environment values.
- HTTP: enter Name, URL, and required environment/auth configuration.
Arguments are split on whitespace. Avoid embedding secrets in command arguments or URLs.
Assign it to an agent
- Edit the agent.
- Open Tools → Advanced tool access → MCP Servers.
- Confirm the server has a green connected indicator.
- Review the tool names and enable the server.
- Save.
- Ask the agent to perform a harmless read.
The stored tool ID uses mcp:<server-id>. Pipeline step and schedule overrides must explicitly include it if they replace the agent’s normal tools.
Troubleshoot
- Command not found: install or expose the required launcher to the Hive process.
- Placeholder error: replace every angle-bracket placeholder.
- Disconnected: edit and retest the server.
- Credential failure: verify the environment variable exists in the Hive launch environment.
- Tool absent in chat: assign the MCP server to the actual agent and save.
- Network failure in a sandbox: MCP runs and sandbox networking are different boundaries; review where the server executes before changing
HIVE_SANDBOX_NETWORK.