Minor: added metadata (name, website_url) to FastMCP initialization [ci skip]

This commit is contained in:
Michael Panchenko committed 2026-04-08 09:57:11 +02:00
1 parent 946fdd558f
commit 35268e87b7
1 file changed
+8 -1
+8 -1
View File
@@ -332,7 +332,14 @@ class SerenaMCPFactory:
# retain only FASTMCP_ prefix for already set environment variables.
Settings.model_config = SettingsConfigDict(env_prefix="FASTMCP_")
instructions = self._get_initial_instructions()
mcp = FastMCP(lifespan=self.server_lifespan, host=host, port=port, instructions=instructions)
mcp = FastMCP(
name="Serena",
lifespan=self.server_lifespan,
website_url="https://oraios.github.io/serena",
host=host,
port=port,
instructions=instructions,
)
return mcp
@asynccontextmanager