wreiske:meteor-wormhole

v0.1.0Published 2 hours ago

meteor-wormhole

A cosmic bridge connecting Meteor methods to AI agents through MCP

This Meteor package exposes your Meteor.methods as MCP (Model Context Protocol) tools so AI agents can discover and invoke them.

Install

meteor add wreiske:meteor-wormhole

Usage

1import { Wormhole } from 'meteor/wreiske:meteor-wormhole';
2
3// All-in mode (default): auto-expose all methods
4Wormhole.init({ mode: 'all' });
5
6// Opt-in mode: selectively expose methods
7Wormhole.init({ mode: 'opt-in' });
8Wormhole.expose('myMethod', {
9  description: 'Does something useful',
10  inputSchema: {
11    type: 'object',
12    properties: { name: { type: 'string' } },
13    required: ['name']
14  }
15});

See the main README for full documentation.