mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 21:14:17 +02:00
Update fastmcp.mdx
This commit is contained in:
parent
05c87d9f89
commit
7ac2c79ad9
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ The `FastMCP` constructor accepts several arguments:
|
|||
* `instructions`: (Optional) Description of how to interact with this server. These instructions help clients understand the server's purpose and available functionality.
|
||||
* `lifespan`: (Optional) An async context manager function for server startup and shutdown logic.
|
||||
* `tags`: (Optional) A set of strings to tag the server itself.
|
||||
* `tools`: (Optional) A list of tools to add to the server. In some cases, providing tools as a list of functions may be more convenient than using the `@mcp.tool` decorator.
|
||||
* `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.
|
||||
* `**settings`: Keyword arguments corresponding to additional `ServerSettings` configuration
|
||||
|
||||
## Components
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue