mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
commit
50329ea8ae
8 changed files with 8 additions and 5 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 794 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
3
docs/assets/favicon.svg
Normal file
3
docs/assets/favicon.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="344" height="250" viewBox="0 0 344 250" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M317.594 60H178.438C158.407 60 140.309 71.9543 132.448 90.3779L123.789 111.3C129.321 110.442 134.957 109.998 140.653 109.998H297.593L272.593 169.999H140.653C123.17 169.999 100.093 177.499 88.0928 198.999L69.4229 242.662L66.5 249.726H0L77.2617 66.8311C94.5556 26.299 134.37 3.8525e-06 178.438 0H343.594L317.594 60Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 445 B |
Binary file not shown.
|
Before Width: | Height: | Size: 486 KiB |
|
|
@ -212,7 +212,7 @@ FastMCP 2.8.0 introduces powerful new ways to customize and control your MCP ser
|
|||
The highlight of this release is first-class [**Tool Transformation**](/patterns/tool-transformation), a new feature that lets you create enhanced variations of existing tools. You can now easily rename arguments, hide parameters, modify descriptions, and even wrap tools with custom validation or post-processing logic—all without rewriting the original code. This makes it easier than ever to adapt generic tools for specific LLM use cases or to simplify complex APIs. Huge thanks to [@strawgate](https://github.com/strawgate) for partnering on this, starting with [#591](https://github.com/jlowin/fastmcp/discussions/591) and [#599](https://github.com/jlowin/fastmcp/pull/599) and continuing offline.
|
||||
|
||||
### Component Control
|
||||
This release also gives you more granular control over which components are exposed to clients. With new [**tag-based filtering**](/servers/fastmcp#tag-based-filtering), you can selectively enable or disable tools, resources, and prompts based on tags, perfect for managing different environments or user permissions. Complementing this, every component now supports being [programmatically enabled or disabled](/servers/tools#disabling-tools), offering dynamic control over your server's capabilities.
|
||||
This release also gives you more granular control over which components are exposed to clients. With new [**tag-based filtering**](/servers/server#tag-based-filtering), you can selectively enable or disable tools, resources, and prompts based on tags, perfect for managing different environments or user permissions. Complementing this, every component now supports being [programmatically enabled or disabled](/servers/tools#disabling-tools), offering dynamic control over your server's capabilities.
|
||||
|
||||
### Tools-by-Default
|
||||
Finally, to improve compatibility with a wider range of LLM clients, this release changes the default behavior for OpenAPI integration: all API endpoints are now converted to `Tools` by default. This is a **breaking change** but pragmatically necessitated by the fact that the majority of MCP clients available today are, sadly, only compatible with MCP tools. Therefore, this change significantly simplifies the out-of-the-box experience and ensures your entire API is immediately accessible to any tool-using agent.
|
||||
|
|
|
|||
|
|
@ -56,4 +56,4 @@ We review submissions regularly and feature projects that provide value to the F
|
|||
|
||||
## Further Reading
|
||||
|
||||
- [Contrib Modules](/integrations/contrib) - Community-contributed modules that are distributed with FastMCP itself
|
||||
- [Contrib Modules](/patterns/contrib) - Community-contributed modules that are distributed with FastMCP itself
|
||||
|
|
@ -21,8 +21,8 @@
|
|||
},
|
||||
"description": "The fast, Pythonic way to build MCP servers and clients.",
|
||||
"favicon": {
|
||||
"dark": "/assets/favicon.ico",
|
||||
"light": "/assets/favicon.ico"
|
||||
"dark": "/assets/favicon.svg",
|
||||
"light": "/assets/favicon.svg"
|
||||
},
|
||||
"footer": {
|
||||
"socials": {
|
||||
|
|
|
|||
|
|
@ -125,5 +125,5 @@ fastmcp run my_server.py:mcp
|
|||
Note that FastMCP *does not* require the `__main__` block in the server file, and will ignore it if it is present. Instead, it looks for the server object provided in the CLI command (here, `mcp`). If no server object is provided, `fastmcp run` will automatically search for servers called "mcp", "app", or "server" in the file.
|
||||
|
||||
<Tip>
|
||||
We pointed our client at the server file, which is recognized as a Python MCP server and executed with `python my_server.py` by default. This executes the `__main__` block of the server file. There are other ways to run the server, which are described in the [server configuration](/servers/fastmcp#running-the-server) guide.
|
||||
We pointed our client at the server file, which is recognized as a Python MCP server and executed with `python my_server.py` by default. This executes the `__main__` block of the server file. There are other ways to run the server, which are described in the [server configuration](/servers/server#running-the-server) guide.
|
||||
</Tip>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue