Skip to content

Commit 768a1d1

Browse files
authored
Fixed endpoint param name in README.md (#24)
1 parent ba09b1d commit 768a1d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ make test
5555
```python
5656
from mcpd import McpdClient, McpdError
5757

58-
client = McpdClient(endpoint="http://localhost:8090")
58+
client = McpdClient(api_endpoint="http://localhost:8090")
5959

6060
# List available servers
6161
print(client.servers())
@@ -82,7 +82,7 @@ from any_agent import AnyAgent, AgentConfig
8282
from mcpd import McpdClient
8383

8484
# Assumes the mcpd daemon is running
85-
client = McpdClient(endpoint="http://localhost:8090")
85+
client = McpdClient(api_endpoint="http://localhost:8090")
8686

8787
agent_config = AgentConfig(
8888
tools=client.agent_tools(),

0 commit comments

Comments
 (0)