diff --git a/agent.py b/agent.py index 0b205d3..ca478f0 100644 --- a/agent.py +++ b/agent.py @@ -2,12 +2,14 @@ import json from llm.base import LLMBase from mcp.client import MCPClient +from config import MCP_URL + class Agent: def __init__(self, llm: LLMBase): self.llm = llm - self.mcp = MCPClient() + self.mcp = MCPClient(MCP_URL) self.tools = [] self.messages = [