Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
383d262
1
Parent(s): b7194d2
Update fastmcp.mdx
Browse files- docs/servers/fastmcp.mdx +1 -1
docs/servers/fastmcp.mdx
CHANGED
|
@@ -35,7 +35,7 @@ The `FastMCP` constructor accepts several arguments:
|
|
| 35 |
* `instructions`: (Optional) Description of how to interact with this server. These instructions help clients understand the server's purpose and available functionality.
|
| 36 |
* `lifespan`: (Optional) An async context manager function for server startup and shutdown logic.
|
| 37 |
* `tags`: (Optional) A set of strings to tag the server itself.
|
| 38 |
-
* `tools`: (Optional) A list of tools to add to the server. In some cases, providing tools
|
| 39 |
* `**settings`: Keyword arguments corresponding to additional `ServerSettings` configuration
|
| 40 |
|
| 41 |
## Components
|
|
|
|
| 35 |
* `instructions`: (Optional) Description of how to interact with this server. These instructions help clients understand the server's purpose and available functionality.
|
| 36 |
* `lifespan`: (Optional) An async context manager function for server startup and shutdown logic.
|
| 37 |
* `tags`: (Optional) A set of strings to tag the server itself.
|
| 38 |
+
* `tools`: (Optional) A list of tools (or functions to convert to tools) to add to the server. In some cases, providing tools programmatically may be more convenient than using the `@mcp.tool` decorator.
|
| 39 |
* `**settings`: Keyword arguments corresponding to additional `ServerSettings` configuration
|
| 40 |
|
| 41 |
## Components
|