9 lines
234 B
Python
9 lines
234 B
Python
from langchain_mcp_adapters.client import MultiServerMCPClient
|
|
import json
|
|
|
|
def get_client() -> MultiServerMCPClient:
|
|
mcp_tools = json.load(open("mcp_servers.json"))
|
|
|
|
client = MultiServerMCPClient(mcp_tools)
|
|
|
|
return client |