Skip to content

Commit 0440443

Browse files
committed
Fix FastMCP initialization - remove unsupported capabilities parameter
1 parent bb65937 commit 0440443

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/server.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@
2828
from mcp.server.fastmcp import FastMCP, Context, Image
2929
from mcp.server.stdio import stdio_server
3030
import mcp.types as types
31-
mcp = FastMCP("Hass-MCP", capabilities={
32-
"resources": {},
33-
"tools": {},
34-
"prompts": {}
35-
})
31+
mcp = FastMCP("Hass-MCP")
3632

3733
def async_handler(command_type: str):
3834
"""

0 commit comments

Comments
 (0)