From 500f48d1ad4948e5a975d8c78bee6f60b356a6a1 Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Mon, 11 Nov 2024 16:22:26 +0000 Subject: [PATCH] update package name in readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 16915e6d..0be8bbaf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The Model Context Protocol allows applications to provide context for LLMs in a ## Installation ```bash -uv add mcp-python +uv add mcp ``` ## Quick Start @@ -22,8 +22,8 @@ uv add mcp-python ### Creating a Client ```python -from mcp_python import ClientSession -from mcp_python.client.stdio import stdio_client +from mcp import ClientSession +from mcp.client.stdio import stdio_client async with stdio_client(command="path/to/server") as (read, write): async with ClientSession(read, write) as session: @@ -37,8 +37,8 @@ async with stdio_client(command="path/to/server") as (read, write): ### Creating a Server ```python -from mcp_python.server import Server -from mcp_python.server.stdio import stdio_server +from mcp.server import Server +from mcp.server.stdio import stdio_server # Create a server instance server = Server("example-server")