@dzackgarza/mcp-shim
v1.0.0
Published
Shared TypeScript shim for MCP tool execution
Downloads
23
Readme
mcp-shim
mcp-shim provides a shared TypeScript helper for invoking plugin tools from FastMCP wrappers.
This package remains internal and exposes no tool names to agents.
Installation
cd /home/dzack/opencode-plugins/mcp-shim
just installPublic Interface
executeTool(pluginEntrypoint, toolName, args)resolvePluginFactory(pluginModule)- Command-line interface:
bun run run-tool.ts /abs/path/to/plugin.ts tool-name '{"arg":"value"}'Requirements
- Runtime: Bun
- Development: TypeScript,
@types/bun
Validation
just typecheck
just test