Skip to content

Connect MCP servers ​

Connect an MCP server to give the agent tools for a service, database, browser, or other external system. You need the server’s launch command or URL and any credentials it requires. Enable only servers you trust; a subprocess is not an OS sandbox.

Add a server ​

  1. Open Settings → MCP. Choose Browse servers for a listed integration, or Add your own (Add server once at least one server is connected).
  2. For a server that Runs on this computer, enter its command and arguments. The command must be available on the machine running protoAgent. For a Web address, enter the server URL; localhost refers to that machine, not your browser. If the provider says the server uses the older SSE connection, open Advanced and set Connection type to Older servers (SSE).
  3. If the provider supplies configuration, choose Paste JSON. It accepts a standard mcpServers object or a single server definition. Include required environment values or headers in the supplied configuration.
  4. Submit, then check that the server appears with its tool count. Changes apply without a restart. A connected server does not prove every tool can access its target service.
  5. Ask for a small read-only task using that integration and inspect the tool result. Names are prefixed with the server name, such as weather__forecast.

For filesystem access, prefer the built-in work-folder tools. For npx servers on desktop, install Node from the missing-runtime card when prompted, or use the coding-agent runtime guidance.

Settings shows the demo stdio MCP server connected with one discovered tool.
A connected server lists its discovered tools. Verify a small read-only call separately; discovery alone does not prove a tool works.

Fix a connection or failed call ​

  • Command missing: check its installation and the server process’s PATH; an absolute command path can remove ambiguity.
  • URL or authentication error: confirm the endpoint and credentials in the server definition. Check access from protoAgent’s machine.
  • Connected, but no useful tools: inspect the tool count and configured include/exclude filters. A subagent also needs the tool in its allowlist.
  • Tool timeout: narrow the task or increase that server’s call timeout when the work legitimately needs longer. Discovery and invocation have separate timeouts; see MCP reference.

Keep the error message. A missing server may have failed discovery; inspect the agent’s log before repeatedly adding it. Remote OAuth sign-in is not handled by this connector; use the server’s supported static headers where applicable.

Stop using a server ​

Use its remove button in Settings → MCP. For a config-managed server, set enabled: false on its entry and reload configuration to retain the definition without connecting. Plugin-managed servers must be disabled through the plugin or its configuration, otherwise the plugin can contribute them again.

Configuration and extension paths ​

Earlier advanced sections are in MCP reference, plugin authoring, and ACP migration guidance.

Part of the protoLabs autonomous development studio.