16 lines
522 B
Python
16 lines
522 B
Python
from mcp.server.fastmcp import FastMCP
|
|
from mcp.server.transport_security import TransportSecuritySettings
|
|
|
|
mcp = FastMCP("requirements",
|
|
transport_security=TransportSecuritySettings(enable_dns_rebinding_protection=False))
|
|
|
|
|
|
@mcp.tool()
|
|
def generate_requirement_document(project: str, requirements: list, standard: str = "GJB438C"):
|
|
print(project, requirements, standard)
|
|
|
|
if __name__ == "__main__":
|
|
mcp.settings.host = "0.0.0.0"
|
|
mcp.settings.port = 7999
|
|
|
|
mcp.run(transport="streamable-http") |