Spaces:
Runtime error
Runtime error
apple muncy
commited on
Commit
·
2db6175
1
Parent(s):
6b1c707
Signed-off-by: apple muncy <[email protected]>
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ from typing import Any
|
|
4 |
mcp = FastMCP(
|
5 |
name = "Test FastMCP Server",
|
6 |
instructions="This server allows testing of tools",
|
7 |
-
|
|
|
8 |
# Implement your server's tools
|
9 |
@mcp.tool()
|
10 |
async def example_tool(param1: str, param2: int) -> str:
|
@@ -32,6 +33,4 @@ def review_code(code: str) -> str:
|
|
32 |
return f"Please review this code:\n\n{code}"
|
33 |
|
34 |
if __name__=="__main__":
|
35 |
-
mcp.run(transport="sse",
|
36 |
-
host='0.0.0.0',
|
37 |
-
)
|
|
|
4 |
mcp = FastMCP(
|
5 |
name = "Test FastMCP Server",
|
6 |
instructions="This server allows testing of tools",
|
7 |
+
host='0.0.0.0',
|
8 |
+
)
|
9 |
# Implement your server's tools
|
10 |
@mcp.tool()
|
11 |
async def example_tool(param1: str, param2: int) -> str:
|
|
|
33 |
return f"Please review this code:\n\n{code}"
|
34 |
|
35 |
if __name__=="__main__":
|
36 |
+
mcp.run(transport="sse", )
|
|
|
|