We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66fa21a commit 96ba75eCopy full SHA for 96ba75e
docs/mcp/client.md
@@ -54,7 +54,7 @@ Then we can create the client:
54
from pydantic_ai import Agent
55
from pydantic_ai.mcp import MCPServerStreamableHTTP
56
57
-server = MCPServerStreamableHTTP('http://localhost:8000/mcp') # (1)!
+server = MCPServerStreamableHTTP(url='http://localhost:8000/mcp') # (1)!
58
agent = Agent('openai:gpt-4o', toolsets=[server]) # (2)!
59
60
async def main():
0 commit comments