14 lines
212 B
Python
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()
|