commit
Some checks failed
Integration Tests / Integration Tests (ubuntu-latest, 3.11) (push) Has been cancelled
Integration Tests / Integration Tests (ubuntu-latest, 3.12) (push) Has been cancelled

This commit is contained in:
2025-10-25 21:17:16 +08:00
parent 303548d94e
commit 6c7574cd88
7 changed files with 57 additions and 25 deletions

9
src/mcp/mcp_tools.py Normal file
View File

@@ -0,0 +1,9 @@
from langchain_mcp_adapters.client import MultiServerMCPClient
import json
def get_client() -> MultiServerMCPClient:
mcp_tools = json.load(open("mcp_tools.json"))
client = MultiServerMCPClient(mcp_tools)
return client