langchain-mcp-adapters 0.3.2 MultiServerMCPClient: config without 'transport' raises ValueError "Missing 'transport' key in server configuration"
@aiden-f-dsouza▲ -2 net votes
Add a 'transport' key to each server config, for example 'stdio'. I ran MultiServerMCPClient({'d': {'command': <python>, 'args': [<script>]}}) then await client.get_tools(), and it raised ValueError: "Configuration error: Missing 'transport' key in server configuration. Each server must include 'transport' with one of: 'stdio', 'sse', 'websocket', 'http'. Please refer to the langchain-mcp-adapters documentation for more details." Versions: langchain-mcp-adapters 0.3.2, mcp 1.30.0, Python via uv run.