Merge pull request #343 from jlowin/docs

Update fastmcp.mdx
This commit is contained in:
Jeremiah Lowin 2025-05-06 13:46:04 -04:00 committed by GitHub
commit 7ce2953498
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,10 @@ mcp = FastMCP(name="MyAssistantServer")
# You can also add instructions for how to interact with the server
mcp_with_instructions = FastMCP(
name="HelpfulAssistant",
instructions="This server provides data analysis tools. Call get_average() to analyze numerical data."
instructions="""
This server provides data analysis tools.
Call get_average() to analyze numerical data.
"""
)
```