mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 18:16:43 +00:00
Minor: added metadata (name, website_url) to FastMCP initialization [ci skip]
This commit is contained in:
1 parent
946fdd558f
commit
35268e87b7
1 file changed
+8
-1
+8
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user