fix mcp
This commit is contained in:
13
mcp/scripts/server.py
Normal file
13
mcp/scripts/server.py
Normal file
@ -0,0 +1,13 @@
|
||||
# server.py
|
||||
from fastmcp import FastMCP
|
||||
|
||||
mcp = FastMCP(
|
||||
name="aigpt-agent",
|
||||
host="127.0.0.1",
|
||||
port=5000,
|
||||
timeout=30
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("Starting MCP server...")
|
||||
mcp.run()
|
Reference in New Issue
Block a user