gpt/mcp/scripts/server.py
2025-05-22 23:53:24 +09:00

14 lines
212 B
Python

# 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()