{"_id":"@dzackgarza/mcp-shim","name":"@dzackgarza/mcp-shim","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dzackgarza/mcp-shim","version":"1.0.0","type":"module","description":"Shared TypeScript shim for MCP tool execution","main":"run-tool.ts","scripts":{"test":"bun test","typecheck":"tsc --noEmit"},"devDependencies":{"@types/bun":"latest","typescript":"^5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dzackgarza/mcp-shim.git"},"keywords":["opencode","plugin"],"gitHead":"72385abe4c33bf652c8c64f7f0e47dc90a47fa3f","_id":"@dzackgarza/mcp-shim@1.0.0","bugs":{"url":"https://github.com/dzackgarza/mcp-shim/issues"},"homepage":"https://github.com/dzackgarza/mcp-shim#readme","_nodeVersion":"25.6.1","_npmVersion":"11.9.0","dist":{"integrity":"sha512-d1PqETlwlb19gfSgKsmWcxg7i4URn5rGaLIBgXVi/dbimv8MBtvOqFk3iGxkUlqOlH5qdvFjRcuPtdKY3xnJyQ==","shasum":"824548b4d62d9758e2fcd85cec6473a008f309ca","tarball":"https://registry.npmjs.org/@dzackgarza/mcp-shim/-/mcp-shim-1.0.0.tgz","fileCount":9,"unpackedSize":16742,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFWAXZnqa7YZ0Cj7xv1ei4uCz3XRTDH3ePiUDDSkBr4aAiB5hZx+Iu0gBW1ZSaa+bFTGtyshOumLEyMHmutOhjflOw=="}]},"_npmUser":{"name":"dzackgarza","email":"dzackgarza@gmail.com"},"directories":{},"maintainers":[{"name":"dzackgarza","email":"dzackgarza@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-shim_1.0.0_1773137217886_0.35152838809408893"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-10T10:06:57.738Z","1.0.0":"2026-03-10T10:06:58.060Z","modified":"2026-03-10T10:06:58.350Z"},"maintainers":[{"name":"dzackgarza","email":"dzackgarza@gmail.com"}],"description":"Shared TypeScript shim for MCP tool execution","homepage":"https://github.com/dzackgarza/mcp-shim#readme","keywords":["opencode","plugin"],"repository":{"type":"git","url":"git+https://github.com/dzackgarza/mcp-shim.git"},"bugs":{"url":"https://github.com/dzackgarza/mcp-shim/issues"},"readme":"[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/I2I57UKJ8)\n\n# mcp-shim\n\n`mcp-shim` provides a shared TypeScript helper for invoking plugin tools from FastMCP wrappers.\n\nThis package remains internal and exposes no tool names to agents.\n\n## Installation\n\n```bash\ncd /home/dzack/opencode-plugins/mcp-shim\njust install\n```\n\n## Public Interface\n\n- `executeTool(pluginEntrypoint, toolName, args)`\n- `resolvePluginFactory(pluginModule)`\n- Command-line interface:\n\n```bash\nbun run run-tool.ts /abs/path/to/plugin.ts tool-name '{\"arg\":\"value\"}'\n```\n\n## Requirements\n\n- Runtime: Bun\n- Development: TypeScript, `@types/bun`\n\n## Validation\n\n```bash\njust typecheck\njust test\n```\n","readmeFilename":"README.md","_rev":"1-17e73e6ee24951c1d43c03b7746c6fc7"}