Skip to content

Commit 96ba75e

Browse files
docs(docs/mcp/client.md): Changes argunments for MCPServerStreamableHTTP example
1 parent 66fa21a commit 96ba75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mcp/client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Then we can create the client:
5454
from pydantic_ai import Agent
5555
from pydantic_ai.mcp import MCPServerStreamableHTTP
5656

57-
server = MCPServerStreamableHTTP('http://localhost:8000/mcp') # (1)!
57+
server = MCPServerStreamableHTTP(url='http://localhost:8000/mcp') # (1)!
5858
agent = Agent('openai:gpt-4o', toolsets=[server]) # (2)!
5959

6060
async def main():

0 commit comments

Comments
 (0)