Skip to content

scanner: donkey scan derives a deterministic scan model of agents, tools and MCP servers #217

Closed

Description

@amirkhan-ak-sf

Summary

donkey scan walks a repository statically, finds every agent entry point,
@donkey.tool marker and MCP server definition, and produces one deterministic
scan model. That model is the single input to both publish targets: direct
Exchange publish (#218) and the self-managed scanner service bundles (#1104
agent, #1105 MCP server, published via #1106).

$ donkey scan
  found 1 agent   support-triage  (main.py:build)
  found 6 tools   @donkey.tool    lookup_crm, issue_refund, …
  found 1 mcp     rag-server      (server.py, streamable-http)
  2 issues        issue_refund: tautological description
$ donkey scan --json > scan.json   # diffable in CI

Positioning

MuleSoft's Agent Scanners discover agents from Agentforce, Bedrock, Vertex AI
and Copilot Studio at runtime. donkey scan is the design-time / CI source
for agents built in plain Python that no cloud scanner can see. It feeds the
platform rather than competing with it: its output becomes the service bundles the
Anypoint self-managed scanner ingests (#1102), so code-defined agents land in the
same registry through the platform's own ingestion path. BG §2.5; the BG
do-not-build list rules out re-implementing Agent Scanners.

Current behavior (verified)

Proposal

Acceptance criteria

Cross-surface impact

Out of scope

Depends on

Related

Not gated by #1101 (scanner GA): scan is useful on its own and for #218.

Activity

  1. added
    enhancementNew feature or request
    priority/p1Must-have: blocks a real adapter or CI gate
    size/l3+ days, cross-layer or verification sign-off
    area:scannerdonkey scan / publish and the GitHub Action (2.5)
    on Sep 4, 2026
  2. changed the title [-]scanner: fabric scan walks the repo and writes fabric.yaml + agent-card.json[/-] [+]scanner: donkey scan walks the repo and writes donkey.yaml + agent-card.json[/+] on Sep 11, 2026
  3. tbolis-at-mulesoft commented on Oct 12, 2026

    @tbolis-at-mulesoft
    Collaborator

    Related: #1102 — scan output feeds the self-managed scanner service bundles (#1104 agent, #1105 MCP).

  4. changed the title [-]scanner: donkey scan walks the repo and writes donkey.yaml + agent-card.json[/-] [+]scanner: donkey scan derives a deterministic scan model of agents, tools and MCP servers[/+] on Oct 20, 2026
  5. tbolis-at-mulesoft commented on Oct 20, 2026

    @tbolis-at-mulesoft
    Collaborator

    Rescoped: #217 now emits a typed scan model (no donkey.yaml, per #730) that feeds both publish targets, #218 and the self-managed scanner bundles #1104/#1105. Blocked by #503 so service identity and tool attribution are decided before scan bakes them in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:scannerdonkey scan / publish and the GitHub Action (2.5)enhancementNew feature or requestpriority/p1Must-have: blocks a real adapter or CI gatesize/l3+ days, cross-layer or verification sign-off

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions