We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
clean_close.test.ts•505 B
import child_process from "child_process";
// Simple standalone scripts that just a UDF then close can keep Node.js
// process running from timers or the WebSocket connection not closing.
describe("JavaScript client closes cleanly", () => {
test("Node.js subprocess exits quickly", () => {
const p = child_process.spawnSync("node", ["clean_close_script.mjs"], {
encoding: "utf-8",
timeout: 5000,
});
expect(p.stderr).toEqual("");
expect(p.stdout).toEqual("[]\n");
});
});