Private beta, by invitation. It may change without warning. While the beta lasts, some paid features are free. See pricing

trumlyspec GitHub
Try trumly

← Packs

mcp

VerifiedEnrichment0.1.2

Use when: When an agent will call into the system, or the system calls out to MCP servers, and you need to say what it can do, to what, and under whose authority.

How a system is offered to AI agents over the Model Context Protocol: the servers, the tools, resources and prompts each one offers, the clients that connect, and how access is granted. Rules ask that every remote server authenticates, every tool belongs to one server and does something real, and destructive tools are confirmed.

Add it

Open it in trumly cloud to start a project with this pack already in. In an existing project, open the editor's Packs tab, choose mcp, then Add. Nodes you change after adding are kept when the pack is upgraded.

From a known source. Reviewed by us, and the publisher is known.

Explore is a read-only demo in your browser: nothing to sign in to, and nothing is saved.

Namespace
mcp--
Size
24 nodes
Needs
core@^1.0.0
Works with
api@^0.3.0, links@^1.0.0
Enriches
component, external, capability, requirement
Publisher
trumly
Versions
0.1.2·0.1.1·0.1.0
Checksum
99f885a15ea200bb…

Examples 1

  • The ops API for agentsA starting point

    An MCP server that lets an agent list jobs, with a tool, a resource and a prompt, OAuth with a read scope, and the client that connects. It realises the existing ops API component.

    21 nodes19 typesneeds core

    Show the 21 nodes
    • Jobs listedacceptance-criterionacceptance-criterion-jobs-listed
    • Ops staffactoractor-ops-staff
    • View job statuscapabilitycapability-view-job-status
    • Ops APIcomponentcomponent-ops-api
    • Ops dbdatastoredatastore-ops-db
    • Productionenvironmentenvironment-production
    • Timely ops visibilitygoalgoal-timely-visibility
    • Live job statusincrementincrement-live-status
    • OAuthmcp-authmcp-auth-oauth
    • Ops assistantmcp-clientmcp-client-assistant
    • triage_failed_jobsmcp-promptmcp-prompt-triage
    • jobmcp-resourcemcp-resource-job
    • opsmcp-servermcp-server-ops
    • list_jobsmcp-toolmcp-tool-list-jobs
    • Job status agemetricmetric-status-freshness
    • Ops APIoverviewoverview
    • List jobsrequirementrequirement-list-jobs
    • Devteamteam-dev
    • Platformteamteam-platform
    • Build status APIwork-packagework-package-build-status-api
    • Provision databasework-packagework-package-provision-database

Patterns 1

Small fragments you lift into a project of your own. In the editor or through an agent, insert one under its root node.

  • Starter MCP serverA remote MCP server with one read tool, OAuth and one client. Add it for each server, then rename the tool, set the scopes and link the server to the component it realises.Hangs from a server.

Planes 2

  • Surface
  • Access

Types 6

  • mcp-authUse for how a server lets a client in: no login, an API key, OAuth or mutual TLS, and the scopes it grants.
  • mcp-clientUse for an application that connects to MCP servers on an agent's behalf, such as a desktop assistant, an IDE or your own agent.
  • mcp-promptUse for a ready-made instruction a server offers, which the person picks and the client fills in, such as triage_failed_jobs.
  • mcp-resourceUse for data a server lets an agent read by address, such as jobs://{id}. A resource is read, never run.
  • mcp-serverUse for one MCP server, the thing an agent connects to. It offers tools, resources and prompts, and is built or run by a component you own, or by someone else.
  • mcp-toolUse for one action an agent can ask a server to perform, such as list_jobs or cancel_job. Title it with the exact tool name.

Link types 4

  • authenticated-bymcp-server → mcp-authUse to say how a server lets a client in.
  • callsmcp-tool, mcp-resource → api-endpoint, component, datastore, queue, externalUse to say what a tool or resource acts on: an API endpoint, a component, a datastore, a queue or an external service.
  • offersmcp-server → mcp-tool, mcp-resource, mcp-promptUse to say what a server offers an agent.
  • talks-tomcp-client → mcp-serverUse to say which server a client connects to.

Calculated values 1

  • tool-handlemcp__{^offers/title}__{title}The name a client shows for a tool, built from its server and its own title.

Rules 11

  • WarningEvery MCP client connects to at least one server
  • WarningEvery destructive tool says who confirms it, and it is not no one
  • ErrorEvery tool, resource and prompt is offered by exactly one server
  • WarningEvery OAuth setup lists its scopes
  • ErrorEvery remote MCP server says how it authenticates callers
  • WarningEvery MCP server offers at least one tool, resource or prompt
  • WarningEvery MCP server details a component or an external service
  • WarningEvery third-party MCP server has been reviewed
  • WarningEvery tool and resource says what it acts on
  • WarningA tool's name as a client shows it is at most 64 characters
  • WarningEvery tool satisfies a requirement or details a capability