pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/modelcontextprotocol/python-sdk/commit/837309c3c8803d7ccaa5933f9d0a2798a141cb89

a="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> Merge pull request #41 from modelcontextprotocol/davidsp/readme · modelcontextprotocol/python-sdk@837309c · GitHub
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

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy