Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
9bf27c2
1
Parent(s): 57edc1b
Update fastmcp.mdx
Browse files- docs/servers/fastmcp.mdx +4 -1
docs/servers/fastmcp.mdx
CHANGED
|
@@ -22,7 +22,10 @@ mcp = FastMCP(name="MyAssistantServer")
|
|
| 22 |
# You can also add instructions for how to interact with the server
|
| 23 |
mcp_with_instructions = FastMCP(
|
| 24 |
name="HelpfulAssistant",
|
| 25 |
-
instructions="
|
|
|
|
|
|
|
|
|
|
| 26 |
)
|
| 27 |
```
|
| 28 |
|
|
|
|
| 22 |
# You can also add instructions for how to interact with the server
|
| 23 |
mcp_with_instructions = FastMCP(
|
| 24 |
name="HelpfulAssistant",
|
| 25 |
+
instructions="""
|
| 26 |
+
This server provides data analysis tools.
|
| 27 |
+
Call get_average() to analyze numerical data.
|
| 28 |
+
"""
|
| 29 |
)
|
| 30 |
```
|
| 31 |
|