Skip to content

Commit aa3b550

Browse files
committed
docs: Update FastMCP import paths and dependencies
1 parent dad0194 commit aa3b550

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Connections between clients and servers are established through transports like
7676
The fastest way to build MCP servers is with FastMCP, which provides a high-level, Pythonic interface:
7777

7878
```python
79-
from fastmcp import FastMCP
79+
from mcp.server.fastmcp import FastMCP
8080

8181
mcp = FastMCP("Demo")
8282

@@ -93,7 +93,7 @@ def get_greeting(name: str) -> str:
9393

9494
FastMCP handles all the complex protocol details and server management, so you can focus on building great tools. It's designed to be high-level and Pythonic - in most cases, decorating a function is all you need.
9595

96-
For more information about FastMCP, see the [FastMCP documentation](https://github.com/jlowin/fastmcp).
96+
FastMCP was originally developed by Jeremiah Lowin at [jlowin/fastmcp](https://github.com/jlowin/fastmcp). We are grateful for his contribution in developing this excellent framework that has now been integrated into MCP.
9797

9898
### Low-Level Implementation
9999

examples/fastmcp/memory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# /// script
2-
# dependencies = ["pydantic-ai-slim[openai]", "asyncpg", "numpy", "pgvector", "fastmcp"]
2+
# dependencies = ["pydantic-ai-slim[openai]", "asyncpg", "numpy", "pgvector"]
33
# ///
44

5-
# uv pip install 'pydantic-ai-slim[openai]' asyncpg numpy pgvector fastmcp
5+
# uv pip install 'pydantic-ai-slim[openai]' asyncpg numpy pgvector
66

77
"""
88
Recursive memory system inspired by the human brain's clustering of memories.

examples/fastmcp/text_me.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# /// script
2-
# dependencies = ["fastmcp"]
2+
# dependencies = []
33
# ///
44

55
"""

0 commit comments

Comments
 (0)