@violentmonkey/mcp-client
v0.1.1
Published
Lightweight client for connecting Violentmonkey to @violentmonkey/mcp
Readme
@violentmonkey/mcp-client
Tiny, dependency-free client that Violentmonkey uses to connect to @violentmonkey/mcp and implement its tools.
import { createClient } from '@violentmonkey/mcp-client';
const client = createClient({ port, token, info: { name: 'Violentmonkey', version } });
client.handle('scripts_list', async () => ({ scripts: [] }));
client.connect();The client does no runtime validation; the server validates params and results. See the development guide.
