edoigtrd/SymjaMCP ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Java app that runs as a Model Context Protocol server and exposes Symja as math tools.
I want it to listen over streamable HTTP on an embedded Jetty server, with one MCP endpoint I can point Claude Code or another MCP client at. It should support tools for evaluating expressions, simplifying, factoring, expanding, solving equations, differentiating, integrating, limits, and numeric evaluation.
Please make each request run in a fresh Symja evaluator so state does not leak between calls, and add a timeout so a bad expression cannot hang the server. I’d like sensible defaults for host, port, and endpoint through environment variables, plus a simple way to run it locally and in Docker.
If anything is unclear, look up the current MCP and Symja docs online and keep the implementation clean and minimal. I mainly want a working server I can build, run, and connect to right away.
Are you gonna build this?
make sure you review the code using coderabbit