Skip to content

Commit 837309c

Browse files
authored
Merge pull request #41 from modelcontextprotocol/davidsp/readme
update package name in readme
2 parents 01e8040 + 500f48d commit 837309c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ The Model Context Protocol allows applications to provide context for LLMs in a
1414
## Installation
1515

1616
```bash
17-
uv add mcp-python
17+
uv add mcp
1818
```
1919

2020
## Quick Start
2121

2222
### Creating a Client
2323

2424
```python
25-
from mcp_python import ClientSession
26-
from mcp_python.client.stdio import stdio_client
25+
from mcp import ClientSession
26+
from mcp.client.stdio import stdio_client
2727

2828
async with stdio_client(command="path/to/server") as (read, write):
2929
async with ClientSession(read, write) as session:
@@ -37,8 +37,8 @@ async with stdio_client(command="path/to/server") as (read, write):
3737
### Creating a Server
3838

3939
```python
40-
from mcp_python.server import Server
41-
from mcp_python.server.stdio import stdio_server
40+
from mcp.server import Server
41+
from mcp.server.stdio import stdio_server
4242

4343
# Create a server instance
4444
server = Server("example-server")

0 commit comments

Comments
 (0)