fix: StdioServerParameters import

This commit is contained in:
Jan Häusler 2025-07-03 00:49:19 +02:00
parent 30244b942d
commit ee7a4d716e

View file

@ -26,10 +26,8 @@ except ImportError:
print("Warning: python-dotenv package not found. Install with: pip install python-dotenv") print("Warning: python-dotenv package not found. Install with: pip install python-dotenv")
# MCP imports # MCP imports
from mcp import ClientSession from mcp import ClientSession, StdioServerParameters, types
from mcp.client.stdio import stdio_client from mcp.client.stdio import stdio_client
from mcp.client.param.stdio import StdioServerParameters
class LLMProcessor: class LLMProcessor:
"""Processes text through LLM and executes MCP tools.""" """Processes text through LLM and executes MCP tools."""