Docs Packages
@procedures/bundle-assistant
The opt-in tools of the personal assistant for an MCP host. The bundle has the procedures of @procedures/ics, @procedures/mail, @procedures/geo, @procedures/weather and @procedures/exif.
Use#
The dev-tools server of @procedures/mcp-dev-tools loads the bundles of MCP_BUNDLES. Add this bundle to the default bundle:
MCP_BUNDLES=@procedures/bundle-mcp,@procedures/bundle-assistant mark mcp
The tools#
| Tool | What it does |
|---|---|
ics.parse, ics.occurrences | They read a calendar file and its repeated events. They are pure. |
ics.write | It writes a calendar file from events. It is pure. |
mail.parse | It reads the headers and the text of a message. It is pure. |
geo.geocode, geo.route, geo.soilAtPoint | They read one public service each. geo.soilAtPoint sends a POST that only reads, and only to Soil Data Access. |
geo.distanceKm, geo.geohash | They give the distance between two points and the geohash of a point. They are pure. |
geo.distance | It gives the same distance as geo.distanceKm with radiusKm: 6371. It is deprecated: use geo.distanceKm. |
weather.forecast | It reads one public service. |
exif.read | It reads the date and the place of a photo on the host. |
The dev-tools server sends the requests of geo.geocode, geo.route, geo.osmFeatures, geo.arcgisFeatures, weather.forecast and ics.fetch through the default host policy of @procedures/http. The policy refuses a baseUrl or a feed on a loopback, private or link-local address.
weather.forecastuses the policy in each registry.- The export
mcpHostModulesgivesgeoandicswith the policy. Thefetchofgeoalso takes the POST ofgeo.soilAtPoint, and only for the hostsdmdataaccess.sc.egov.usda.gov(the optionreadOnlyPostofcreateHostFetch()). The dev-tools server gives them tocreateRegistry()before the bundle, so they replace the default modules. - The bundle keeps the default modules of
geoandics. Thusmarkand the site load the bundle next to the packagesgeoandics.
Another host does the same:
import bundleAssistantModule, { mcpHostModules } from "@procedures/bundle-assistant/module";
const registry = createRegistry(...mcpHostModules, bundleAssistantModule);
These procedures are not tools:
ics.fetchfetches any URL, so a tool call can carry data out in the URL.geo.arcgisFeaturesreads a layer of any host, for the same reason.geo.osmFeaturescan give megabytes of features for one box. That is too large for a tool result.mail.headersreads a private mailbox.- The other procedures of
geoManifestare pure, but each tool adds approximately 386 tokens to the tool list of each session. The bundle has them, so a call in process can use them. notify.send,restic.runandtailscale.runare not in the bundle. The first one posts to any topic of a public server, and the others run destructive commands.
A test pins the list of tools. Each tool changes nothing.