Enables Large Language Models to programmatically interact with MCP tools using JavaScript.
Jsmcp is designed for scenarios where AI agents require more sophisticated interaction with MCP tools than a single, isolated call. While traditional MCP clients excel at individual tool invocations, jsmcp addresses the limitations when tasks involve several related calls, conditional logic, loops, retries, or data aggregation. It achieves this by exposing approved MCP tools as JavaScript namespaces, empowering models to discover available functionalities and then write JavaScript code to leverage these tools programmatically, treating them more like a small programmable API surface. This allows agents to combine results, script complex workflows, make in-code decisions, and maintain constrained access to tools via configurable presets.
