Skip to content

Sharing MCP tools

A capability runs exactly one MCP tool, with its schema pinned. Once one tool of a server is set up (connected, signed in if it uses OAuth, and pinned), its other tools can be shared together:

Terminal window
bnw share tools <CAPABILITY_ID> # the server's tools
bnw share tools <CAPABILITY_ID> fetch summarize --access contacts --mode ask
bnw share tools <CAPABILITY_ID> --all --access account --mode auto
# File them under categories and tags, so people can find them among many
bnw share tools <CAPABILITY_ID> --all --category finance --tag invoices
  • What each tool gets:
    • its own tool.mcp capability, named and described after the tool, with the input schema the server listed;
    • the same connection and remote-execution consent, with the discovered schema pinned;
    • the same OAuth sign-in: the node keeps one set of tokens for the server, so rotating refresh tokens stay valid;
    • the chosen audience, mode, and per-person limit, and a renewing offer;
    • optionally, up to 3 categories and 8 tags (--category, --tag, or the web form’s category chips), plus a server-<name> tag grouping the server’s tools. Categorized tools use descriptor profile v2, which nodes before schema 35 cannot read, so leave categories out to reach them. bnw rest share takes the same options.
  • Consent for remote servers. A remote server receives nothing decrypted until you allow it. Until then, discovery and checks work but calls fail. Allow it on the capability’s Autopilot panel, or with bnw mcp allow-remote <CAPABILITY_ID> (--revoke to stop). Consent covers every capability of this node on that server, and leaves the connection and pinned tools as they are.
  • Limits. Only tools from the server’s most recent discovery can be shared, at most 32 at a time. A tool already shared from the same server is updated, not published again.
  • Joining. --join <TOOL>=<CAPABILITY_ID> provides another publisher’s tool.mcp capability with this server’s tool instead of publishing one, when that capability published exactly the tool’s input schema (the same content ID). The web form offers it, as the default, for each chosen tool that matches one. bnw rest share --join <OPERATION>=<CAPABILITY_ID> does the same for REST operations. Names alone never match: two tools pool only when their schemas are identical, and nothing proves they behave alike.
  • Tools published without their schema. A tool shared through an earlier descriptor-first setup has no input schema, so requesters can’t see what to send. Sharing it again publishes it once more with its schema, as a new capability under the same name, connection, sign-in, audience, and mode. The old capability’s offer is withdrawn, and it leaves this node’s list (its manifest stays valid, as signed objects do).
  • Readiness first. Tools shared to run on approval or unattended need the server’s consent, their secrets, and any sign-in. These are checked before anything is published, so a refused share leaves nothing behind.
  • In the web client. After discovering the server’s tools on a capability’s setup page, Share more tools from this server does the same. A capability published without its schema shows Republish with schema next to its pinned tool.