@@ -20,11 +20,11 @@ Assuming you are using [uv](https://github.com/astral-sh/uv), include it in your
20
20
21
21
``` toml
22
22
[tool .uv .sources ]
23
- mcpd_sdk = { path = " ../mcpd-sdk " , editable = true }
23
+ mcpd = { path = " ../mcpd" , editable = true }
24
24
25
25
[project ]
26
26
dependencies = [
27
- " mcpd_sdk "
27
+ " mcpd "
28
28
]
29
29
```
30
30
@@ -67,7 +67,7 @@ make test
67
67
## Quick Start
68
68
69
69
``` python
70
- from mcpd_sdk import McpdClient, McpdError
70
+ from mcpd import McpdClient, McpdError
71
71
72
72
client = McpdClient(endpoint = " http://localhost:8090" )
73
73
@@ -93,14 +93,14 @@ Generate dynamic functions suitable for AI agents:
93
93
94
94
``` python
95
95
from any_agent import AnyAgent, AgentConfig
96
- from mcpd_sdk import McpdClient
96
+ from mcpd import McpdClient
97
97
98
98
# Assumes the mcpd daemon is running
99
99
client = McpdClient(endpoint = " http://localhost:8090" )
100
100
101
101
agent_config = AgentConfig(
102
102
tools = client.agent_tools(),
103
- model_id = " gpt-4.1-nano" , # Requires OPENAI_API_KEY to be set
103
+ model_id = " gpt-4.1-nano" , # Requires OPENAI_API_KEY to be set
104
104
instructions = " Use the tools to answer the user's question."
105
105
)
106
106
agent = AnyAgent.create(" mcpd-agent" , agent_config)
@@ -125,7 +125,7 @@ please refer to the relevant example for execution details.
125
125
### Initialization
126
126
127
127
``` python
128
- from mcpd_sdk import McpdClient
128
+ from mcpd import McpdClient
129
129
130
130
# Initialize the client with your mcpd API endpoint.
131
131
# api_key is optional and sends an 'MCPD-API-KEY' header.
0 commit comments