Create a basic hello world MCP server using COBOL. It can be httpStreamable or STDIO.
It must:
- Have a Dockerfile and work in a container
- Have all documentation to build and run stored in a README.md
- compile with gnucobol (cobc)
- Create a "test.sh" script that can launch a built docker container on port 8090 and test it for proper MCP server JSON responses
A Web Server in gnucobol: https://github.com/jmsdnns/webbol.git A python MCP server: https://github.com/jlowin/fastmcp.git
- hint: review Python implementation and convert to COBOL MCP Transport documentation with requirements:
- https://modelcontextprotocol.io/specification/2025-03-26/basic/transports
- https://mcp-framework.com/docs/Transports/http-stream-transport/
Should handle connect session (often a POST to / or /mcp) Should advertise a "hello world" tool that takes in a single string Tool should then reply with "hello $string"