From d6e5cefe3f67d673aa28cf3a4e7bccfa5e8e9447 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:28:13 -0500 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ```