Bridges & misc
MCP
Model Context Protocol guard.
Inspects MCP tool-call requests, resource fetches, and prompts. Wrap any MCP server or client to make BonkLM a layer in the protocol.
Install
pnpm add @blackunicorn/bonklm-mcpMinimal example
import { Server } from '@modelcontextprotocol/sdk/server/index.js'
import { wrapMcpServer } from '@blackunicorn/bonklm-mcp'
const safeServer = wrapMcpServer(new Server({ name: 'my-tools' }), {
validators: ['tool-call-args'],
})Related connectors