Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update README.md

Jeremiah Lowind6e5cefe3f67
diff --git a/README.md b/README.md
index b462fdc62..9afcef05b 100644
--- a/README.md
+++ b/README.md
@@ -98,6 +98,8 @@ pip install fastmcp
Let's create a simple MCP server that exposes a calculator tool and some data:
```python
+# server.py
+
from fastmcp import FastMCP
@@ -119,14 +121,12 @@ def get_greeting(name: str) -> str:
return f"Hello, {name}!"
```
-To use this server, you have two options:
-
-1. Install it in [Claude Desktop](https://claude.ai/download):
+You can install this server in [Claude Desktop](https://claude.ai/download) and interact with it right away by running:
```bash
fastmcp install server.py
```
-2. Test it with the MCP Inspector:
+Alternatively, you can test it with the MCP Inspector:
```bash
fastmcp dev server.py
```