## TL;DR

Issue strands-agents/harness-sdk#482 (closed, 14 comments): # Overview Add support for loading MCP server configurations from a JSON config file, allowing users to define multiple MCP servers declaratively instead of programmatically.

## Steps

1. Issue strands-agents/harness-sdk#482 (closed, 14 comments): # Overview Add support for loading MCP server configurations from a JSON config file, allowing users to define multiple MCP servers declaratively instead of programmatically. This extends the existing experimental `agent_config.py` to support an `mcp_servers` field that creates and manages `MCPClient` instances automatically. **Note:** Multiple MCP servers and automatic lifecycle management already work programmatically (see `tests_integ/mcp/test_mcp_tool_provider.py::test_mcp_client_multiple_servers`). This feature request is specifically about **configuration file support**.

2. [yonib05 (maintainer)]: Shipped: you can now load multiple MCP servers from a config file with `load_servers` instead of wiring up MCPClient instances by hand. It is in both SDKs (Python PR #3053, TypeScript PR #2947). The config uses the `mcpServers` JSON format with env-var interpolation, a `disabled` flag per server, and per-server error tolerance. Docs: mount the host path https at container path //strandsagents.com/latest/documentation/docs/user-guide/concepts/tools/mcp-tools/

## When to use

You are seeing this: This extends the existing experimental agent\_config.py to support an mcp\_servers field that creates and manages MCPClient instances automatically. Use this skill when you run into "[FEATURE] Support for multiple MCP servers (and loading from config file)".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Edge cases

- Note: Multiple MCP servers and automatic lifecycle management already work programmatically (see tests\_integ/mcp/test\_mcp\_tool\_provider.py::test\_mcp\_client\_multiple\_servers).
