Initial commit: homelab configs, Docker, Neo4j, voice control, Gitea
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from mcp.server import FastMCP
|
||||
import inspect
|
||||
|
||||
# Check FastMCP API
|
||||
print("FastMCP methods with 'tool':")
|
||||
for name in dir(FastMCP):
|
||||
if 'tool' in name.lower():
|
||||
print(f" {name}")
|
||||
|
||||
# Check if it has a tool decorator
|
||||
if hasattr(FastMCP, 'tool'):
|
||||
print("\nFastMCP.tool is a decorator!")
|
||||
print(inspect.signature(FastMCP.tool))
|
||||
Reference in New Issue
Block a user