@yaaif/platform-mcp
Provides integration with IntelliJ IDEA, enabling the YAAIF plugin and MCP bridge to work within the IntelliJ IDEA IDE.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@yaaif/platform-mcp install the YAAIF plugin for Cursor and sign me in"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@yaaif/platform-mcp
Stdio MCP bridge and Node installer for the YAAIF Cursor, VS Code, IntelliJ IDEA, Claude Code, Codex, and OpenCode plugins.
Plugin contract 1.7.0. This package 1.7.0. Each IDE keeps its own login state and OIDC client.
--install writes the platform profile and (for Cursor) copies plugin files. It does not register the plugin in the IDE. Finish in Cursor / Claude / Codex after the CLI exits.
YAAIF terminal CLI
The same package installs yaaif, a terminal/CI client with separate state in ~/.yaaif/cli and the public yaaif-cli OIDC client. It does not replace yaaifctl or yaaif-demo host lifecycle commands.
npm install -g @yaaif/platform-mcp@1.7.0
yaaif setup --yaaif-url https://platform.yaaif.local --device
yaaif tenant list
yaaif doctor --json
yaaif features --json
yaaif agents list --limit 10
yaaif wiki search "release policy" --scope common
yaaif wiki rebuilds latest
yaaif updates status
yaaif updates jobs list --limit 5
yaaif tools list credential
yaaif tools describe yaaif_credential_create
yaaif tools call yaaif_credential_list --args '{}'yaaif tools call invokes the exact registered MCP tools and schemas used by every IDE. Use --args @request.json or --args - for secret-bearing arguments instead of placing values in shell history. Common read-only resource commands are conveniences over those same tools.
Default text output is unchanged. Add --table for compact tables from feature maps, catalog items, doctor checks and scalar statuses, or --json for stable automation output; the two options are mutually exclusive.
Enable shell completion:
# Bash
source <(yaaif completion bash)
# Zsh
source <(yaaif completion zsh)
# Fish
yaaif completion fish | sourceWiki tools cover pages, graph, Common status, proposals and rebuild inspection. Platform-update tools cover current status and release jobs. Both families are read-only: page/proposal decisions, rebuild start/cancel, release checks, job cancellation and upgrades remain in their authorized Admin UI or installer surfaces. OpenCode exposes a bounded subset of these reads to respect its tool budget.
yaaif_features probes agents, Scenarios, Credentials, Wiki and platform updates with GET-only requests. available means the route and caller access work, permission_denied means the backend supports the feature but the caller lacks its named permission, unavailable means the backend needs an upgrade, and error indicates a transport/service failure. Doctor includes the same feature_* checks.
Plugin lifecycle commands are yaaif plugins list, check, install, and update. Use --plugin-src for a source override or offline install; marketplace-managed IDEs report their native update action. plugins check --online additionally compares npm metadata, while offline checks inspect local manifests and launch commands.
For an existing platform, provision the CLI's PKCE/device-grant client with scripts/keycloak/ensure-yaaif-ide-client.sh cli. Fresh realm imports already include it.
IDE | Plugin repo | Marketplace | Plugin ID | State directory | OIDC client |
Cursor |
|
|
|
| |
Claude Code |
|
|
|
| |
Codex |
|
|
|
|
Related MCP server: opencode-mcp
Dependencies
Install these on the same OS as the IDE (do not mix WSL Node with Windows Cursor).
Dependency | Requirement | Who |
Node.js | ≥ 20 ( | All |
npm package |
| All |
Git | Optional local development checkout or marketplace source | Optional; npx downloads tagged sources automatically |
Java | 21+ for the IntelliJ build; Gradle wrapper is included | IntelliJ only |
| Installs the generated VSIX; otherwise use the printed manual path | VS Code optional |
Browser | OIDC PKCE sign-in | All |
Cursor Desktop | Plugins + MCP | Cursor |
Claude Code | Desktop and/or | Claude |
Codex | App/CLI with local marketplaces | Codex |
YAAIF user | Platform | All |
Network | npm, GitHub, and the YAAIF host | All |
Operator (once per environment): enable public Keycloak clients yaaif-cursor, yaaif-claude, and yaaif-codex (PKCE, no client secret).
Not required: Go/Python/Docker, native .pkg / .msi / .deb installers, S2S secrets, desktop connection keys, or AI-gateway keys.
Run npx from your home directory, not from a checkout of this repo (that path fails with yaaif-platform-mcp: command not found).
cd ~Shared installer
The CLI asks you to choose hosted https://platform.yaaif.ai or another YAAIF URL. Cursor, Claude Code, Codex, VS Code, and IntelliJ automatically download the plugin source tagged v1.7.0, matching the platform and bridge versions. VS Code builds/installs a VSIX; IntelliJ builds/installs a jar with its bundled Gradle wrapper.
npx -y @yaaif/platform-mcp@1.7.0 --install --client cursor|vscode|intellij|claude|codex|opencodeNon-interactive:
npx -y @yaaif/platform-mcp@1.7.0 --install --client claude --yaaif-url https://your.yaaif.host
npx -y @yaaif/platform-mcp@1.7.0 --install --client cursor --profile hosted--no-login skips the browser. The installer stages the self-contained bridge under ~/.yaaif/<client>/bridge/, so Cursor does not pin a temporary npx-cache path and --cli-path is only an optional override. Claude/Codex managed sources stay under ~/.yaaif/<client>/plugin/ for native local registration.
Source controls: --plugin-src DIR uses a local checkout without downloading; --plugin-ref REF selects another tag/branch/commit; --plugin-sha256 HEX verifies the archive; --plugin-source-base-url URL selects an enterprise mirror. --offline requires --plugin-src and uses absolute node + staged bridge. --force overwrites a newer Cursor destination. Native controls: --build-only skips IDE installation and cleanup, --code-path overrides the VS Code CLI, --gradle-path overrides the IntelliJ wrapper, and --jetbrains-plugins-dir selects the IntelliJ installation target.
After a successful update, superseded Cursor staging directories, Claude/Codex version caches, VSIX artifacts, and IntelliJ backup jars are removed from their active locations and moved to ~/.yaaif/<client>/plugin-backups/plugin-cleanup-*. The current version and unrelated plugins are preserved. Use --keep-old-versions to retain old installations instead. Cleanup runs only after install verification succeeds.
Updates are transactional: if installation or verification fails, the installer restores the previous plugin files, MCP launcher configuration, managed source, VSIX, and IntelliJ jar where backups exist, rather than leaving a partially upgraded installation. Rollback errors are reported without hiding the original failure.
Use --dry-run with plugins install or plugins update to print the current/target versions, source, launcher, build/install actions, and cleanup policy as JSON. Dry-run returns before downloads, profile writes, builds, cleanup, or IDE installation.
Air-gap
On a machine with npm: npm pack @yaaif/platform-mcp@1.7.0. Copy the .tgz plus the plugin clone.
npm install -g ./yaaif-platform-mcp-1.7.0.tgz
yaaif-platform-mcp --install --client cursor|claude|codex --plugin-src <dir> --offlineCursor — end to end
Install profile and copy plugin files
cd ~ npx -y @yaaif/platform-mcp@1.7.0 --install --client cursorChoose hosted or your YAAIF URL and complete browser login.
Dest:
~/.cursor/plugins/local/yaaif(Windows:%USERPROFILE%\.cursor\plugins\local\yaaif).Register in Cursor (required)
Cursor → Plugins → + Add → Add local plugin → that path → Developer: Reload Window.Verify
/yaaif-loginthen/yaaif-doctoruntilready: true.
Marketplace alternative (when published): install yaaif from Cursor Marketplace, configure plugin variables if needed, reload, then /yaaif-login and /yaaif-doctor.
Claude Code — end to end
Install profile and managed plugin source
cd ~ npx -y @yaaif/platform-mcp@1.7.0 --install --client claudeAdd marketplace and install plugin (required)
claude plugin marketplace add yaaif/claude-plugin claude plugin install yaaif-platform@yaaifOr Customize → Plugins → Add → GitHub
yaaif/claude-plugin→ installyaaif-platform. Do not search foryaaif/yaaif-platform.Managed local source:
claude --plugin-dir ~/.yaaif/claude/pluginor add that directory as a local marketplace.New session
Quit Claude Code, open a new session, optionally/plugin configure yaaif-platform@yaaif, then/yaaif-platform:yaaif-loginand/yaaif-platform:yaaif-doctor.
MCP start command: npx -y @yaaif/platform-mcp@1.7.0 --client claude.
Codex — end to end
Install profile and managed plugin source
cd ~ npx -y @yaaif/platform-mcp@1.7.0 --install --client codexAdd marketplace and install plugin (required)
In Codex, add
~/.yaaif/codex/pluginas a local marketplace namedyaaif, install YAAIF (yaaif-platform), then start a new task.Verify
$yaaif-loginthen$yaaif-doctor. Codex has nouserConfigand nocommands/; short names are alias skills.
MCP start command: npx -y @yaaif/platform-mcp@1.7.0 --client codex.
VS Code — native install
npx -y @yaaif/platform-mcp@1.7.0 --install --client vscodeThe installer downloads the matching source, runs npm ci and npm run package, and calls code --install-extension on the generated VSIX. If code is unavailable, install the printed path under ~/.yaaif/vscode/packages/ manually or set --code-path. Use --build-only to skip IDE modification, then reload VS Code and run YAAIF: Configure MCP Bridge.
IntelliJ IDEA — native install
Requires Java 21 or later; no system Gradle is needed because the plugin includes its wrapper.
npx -y @yaaif/platform-mcp@1.7.0 --install --client intellijThe installer builds yaaif-jetbrains-1.7.0-base.jar, backs up any previous yaaif-jetbrains.jar, and installs into the newest detected IntelliJ plugins directory. Set --jetbrains-plugins-dir for a different IDE or --gradle-path for another Gradle executable. Use --build-only to skip installation, then restart IntelliJ and run YAAIF: Configure MCP Bridge.
File generation and editing (all IDEs and OpenCode)
Four tools call the platform's file generator and manipulator, so a prompt such as "turn this table into an Excel file", "merge these two PDFs" or "fill the invoice template" produces a real, styled file (a download card in the session) without hand-writing bytes. They map to the agent-service local tools of the same name and are on the OpenCode allowlist.
Tool | Arguments | Result |
|
| A new file |
|
| csv⇄xlsx, md→docx/pptx/html/pdf, docx/xlsx/pptx→pdf, any document→md/txt |
|
| Edited copy (filter, sort, compute, group, join; PDF merge/split/extract/rotate; docx/md section replace; xlsx cell edits) |
|
| Filled copy of a docx/xlsx/md template with |
Pass the arguments inside arguments and call yaaif_dev_session_ensure first so the files land in your authoring
session. Source files are read with the caller's file permissions; the original is never modified (mode: "new_version"
stores the result as the next version of the same artifact). Full reference: agent-service/docs/file-generation.md.
File workflows (all IDEs and OpenCode)
Two tools build and install file workflows: ambient workflows that run when an uploaded file finishes
extraction (file.ready, file.failed, file.review_decided), optionally load the extracted text or
tables, run your own tool steps and reply to where the file came from (chat, Teams, Lark, email). They are
registered for every client (cursor, vscode, intellij, claude, codex, opencode) and are on the
OpenCode allowlist.
Tool | What it does |
| Builds the workflow definitions (one workflow + trigger rule per event) and returns the event / payload reference. Installs nothing. |
| Installs them under an ambient agent ( |
Options (both tools): name, events, agent_id or filter_contains (scope), load_content,
load_tables, steps[] (tool_name, input bindings, output_key), reply, message_binding, enabled.
Rules are per tenant and match source file exactly; the workflow runs as the uploader.
Ask your assistant, for example:
Create a file workflow on ambient agent
<id>: when a PDF from chat agent<id>finishes extraction, load its tables, callerp_post_price_changeswith them and tell the uploader the result.
Cursor, Claude Code and Codex also ship the yaaif-create-file-workflow skill (command
yaaif-new-file-workflow) that walks through the questions and the test. Full flow and payload reference:
agent-service/docs/file-workflows.md in the YAAIF repository; example pack:
examples/workflow-packs/file-intake-workflow-pack/.
Profiles
Profile | When |
Hosted |
|
Custom URL | Customer host, e.g. |
| All APIs on |
| OIDC on |
Optional YAAIF_EXTRA_CA_FILE for a local/corporate CA. Each server profile has an isolated session in ~/.yaaif/<ide>/profile-sessions/<profile-id>/session.json (0600), with one-time migration from the legacy single session.json. Switching profiles restores that server's login and tenant when present and never reuses another server's token. Do not commit the state directory.
yaaif profile list shows safe authentication and tenant status for every server. yaaif profile clone SOURCE_ID DEST_ID copies only endpoint/TLS configuration, not credentials. yaaif copy scenario SPEC_ID --from SOURCE --to DEST previews a cross-server draft copy; rerun with --yes after review. Conflicting slugs fail safely unless --new-slug is provided. Bindings, release history, provenance, tenant IDs, credentials, and tokens are excluded.
Move configurations between machines with yaaif profile export --out profiles.json and yaaif profile import profiles.json. Import previews first; apply with --yes and optionally --activate ID. Bundles contain endpoint/TLS configuration only—never sessions, tokens, or secret contents—and refuse to overwrite existing profiles. MCP equivalents are yaaif_platform_bundle_export and yaaif_platform_bundle_import.
Copy complete skill packs with yaaif copy skill SKILL_ID --from SOURCE --to DEST. The preview lists remapped files and excluded credential/private-key material. Apply with --yes; destination conflicts require --new-id. Agent mappings, Scenario bindings, and sessions are not copied. MCP equivalent: yaaif_skill_copy.
Copy ambient workflows with yaaif copy workflow WORKFLOW_ID --from SOURCE --to DEST. The destination ambient agent must already exist (override with --ambient-agent-id). Graph logic is preserved, but server-specific credentials, approval strategy IDs, Scenario bindings, and run history are removed. New workflows are installed disabled with async execution and approval requirements off for review. MCP equivalent: yaaif_ambient_workflow_copy.
Copy external MCP connections with yaaif copy mcp-server SERVER_ID --from SOURCE --to DEST. Only endpoint metadata and non-secret header mappings are copied. Credential IDs, profiles, mappings, literal headers, and tool refresh calls are excluded. The result lists required credential rebinding and refresh_required: true. Use --new-name or --new-endpoint to avoid conflicts. MCP equivalent: yaaif_mcp_server_copy.
Copy agent definitions with yaaif copy agent AGENT_ID --from SOURCE --to DEST. Prompt, description, and agent type are preserved; skill mappings, Scenario bindings, and activation state are not. The destination agent is created disabled and lists required skill IDs for explicit remapping. MCP equivalent: yaaif_agent_copy.
Migrate selected resources together with yaaif copy catalog --from SOURCE --to DEST --mcp-servers IDS --skills IDS --agents IDS --ambient-agents IDS --workflows IDS --scenarios IDS. The plan covers every selected resource and conflict before applying in dependency order: MCP connections, skills, agents, ambient agents, workflows, then Scenarios. Any conflict aborts before writes. Sessions, credentials, bindings, and run history are excluded. MCP equivalent: yaaif_catalog_copy.
Local development
npm install
npm test
npm run build
node dist/cli.js --client cursor
node dist/yaaif-cli.js --help--setup detect|profile|login|whoami|all remains available after install.
License
Apache-2.0
Tenant governance
yaaif-governance gathers authorized tenant business context, interviews for missing requirements, diagnoses failures, and prepares guardrail/harness policy changes. It starts with effective permissions and uses a preview → explicit confirmation → apply workflow. It never grants permissions or treats tenant documents as authorization. Retention is inspection only; infrastructure, data purges and run controls are excluded.
OpenCode: /yaaif-governance. Cursor/Claude Code: the yaaif-governance command or skill. Codex: $yaaif-governance. VS Code/JetBrains: YAAIF: Governance Agent (JetBrains copies the bundled instructions for AI Assistant).
Requires a bridge and backend containing the governance tools, validation routes and conditional-write middleware. Prepare and test the packages together before publishing; do not point a live install at an unpublished version. A saved configuration does not by itself prove runtime enforcement.
Governance tool contract
yaaif_governance_capabilities: resolve the signed-in subject, tenant and effective permissions; list supported resources and actions. Permission discovery errors stop configuration.yaaif_governance_inspect: typed, paginated resource reads, including individual policies, overrides, rollouts and evaluation candidates.dry_runevaluates supplied samples;replay_startcreates an evaluation job andreplayreads its status. These evaluations do not change live policies.yaaif_governance_preview: prepare up to 20 typed operations, with one operation per target. Store the immutable owner-bound proposal under the client's privategovernance-proposalsdirectory. Return before/requested values, field diffs, validation results, baseline, review digest and rollback guidance. Presets resolve into a concrete policy update before review. Harness validation uses the backend's update normalizer. Lifecycle commands explicitly report that derived effects are verified at apply rather than simulated.yaaif_governance_apply: requires proposal ID, review digest andconfirm=trueafter the user reviews that proposal. Recheck access before every step, serialize application with an exclusive proposal lock, and send backend preconditions. Applied operations never replay. A lost response records anuncertainstep and stops; inspect current state before proposing a remedy.yaaif_governance_proposal_get: retrieve status and verification within the original identity/profile/platform/tenant boundary and current permissions. Interruptedapplyingproposals require inspection; do not delete their lock file while another process might still be running.
Backend additions include policy/harness validation, single-record reads and GET /api/{guardrails,harness,agents}/governance-state. Conditional management writes send X-Governance-If-Match and return X-Governance-Version; existing policy/exception If-Match checks are forwarded too. API-server forwards governance preconditions and correlation headers. Management HTTP writes serialize per tenant across PostgreSQL replicas with advisory locks; the pool must permit at least two connections. Busy requests fail without applying. Fingerprints include persisted configuration, assignments and evaluation feedback, so unrelated changes within that tenant may conservatively require another preview. Direct background/database writers do not take the HTTP management lock; existing resource-level validation and version checks still apply.
Audit records use authenticated actor identity, proposal/request correlation, requested field names, body digest and outcome. Full before snapshots remain in private client state and existing policy revision storage. Read-back reports saved settings separately from runtime enforcement. Applying configuration does not prove that a representative workload passed.
Prepared versions: bridge 1.7.0, Cursor/Codex/Claude plugins 1.7.0, VS Code/JetBrains 1.7.0. Publish the bridge before installing plugin configurations that reference its new npm pin. No release is published by building this checkout.
For isolated MCP transport smoke tests after building:
YAAIF_GOVERNANCE_SMOKE=1 node --import tsx --test src/integration/governanceBridge.integration.test.tsThese six-client tests use fresh unauthenticated state. Signed-in tenant and native IDE interaction smoke tests remain release checks.
IDE skill scans, diagnostics, fixes and improvements
All IDE clients share yaaif_skill_security:
action | behavior |
| Read the bundled offline SkillSpector SOP; optional |
| Read plugin state, readiness, policy and history. |
| Queue a saved-branch scan; optional |
| Read a specific asynchronous job using |
| Validate saved skills and optionally combine one matching-branch scan; paginate/filter normalized issues. |
| Add a repair/improvement outline and affected-file list; |
| Preview or conditionally update one existing file using its exact |
Start with authentication and the requested tenant. Pass the same branch
through diagnostics, file reads, repairs and rescans. Read a file first with
yaaif_skill_read_file and retain its content etag. fix defaults to a dry
run; application requires dry_run:false and allow_mutating:true. The server
checks If-Match atomically, protecting edits made after the preview. By default
an applied repair is followed by branch validation. A validation error after an
update returns applied:true; an ambiguous transport failure returns
applied:"unknown" and must be reconciled by reading the file before retrying.
{"action":"diagnose","branch":"main","severity":"ERROR","limit":20}{"action":"fix","branch":"main","path":"example/SKILL.md","content":"reviewed replacement","if_match":"W/\"content-etag\"","dry_run":true}Plans use real validation/security evidence; they do not generate or apply LLM rewrites. IDE agents author the replacement content. Evidence whose workspace fingerprint differs is explicitly historical. Neither the repair nor scan tools change policy, accept findings, activate snapshots, publish, enable, or map skills. Skill Security activation is required to scan, but structural validation works independently. Read/report tools preserve structured API error codes, file paths and bounded diagnostics rather than discarding them into truncated HTTP strings.
yaaif_skill_security_scan and yaaif_skill_security_report remain compatible
for existing clients. OpenCode exposes the unified tool within its existing
120-tool budget. File tree/read/write/validate tools and local lifecycle aliases
now accept branch; the write tool also accepts if_match.
SkillSpector SOP for IDE repairs
Use yaaif_skill_security with action: "guide" for bundled offline guidance,
or select a topic: overview, triage, repair, troubleshooting, sources.
The SOP entry point explains the source attribution,
version scope, and per-finding or whole-scan Fix with IDE workflow. This uses
the existing tool slot, including in OpenCode.
Available Tools
203 toolsyaaif_agent_createC
Create a chat or workflow agent definition.
Inputs: name (required), description (required), goal_prompt (required), enabled, +4 more.
yaaif_agent_getB
Get one agent definition by id (includes skill_ids).
Inputs: agent_id (required).
yaaif_agent_listC
List agent definitions in the tenant (chat and workflow).
Inputs: q, limit, agent_type.
yaaif_agent_spec_activation_overrideD
Exceptional activation only. Requires the dedicated permission and a durable reason recorded in the Scenario audit log.
Inputs: spec_id (required), override_reason (required), expected_version (required), idempotency_key, +1 more.
yaaif_agent_spec_adoptA
Apply a previously reviewed adoption preview. Existing authored Scenario prose is preserved and a baseline revision is published.
Inputs: spec_id (required), expected_version (required).
yaaif_agent_spec_adoption_previewC
Preview the selected existing bindings, their current live baseline, and authored fields preserved by adoption.
Inputs: spec_id (required).
yaaif_agent_spec_bindC
Bind a live catalog entity to a Scenario architecture slot. Default source is agent_spec (created/maintained from this scenario).
Inputs: spec_id (required), slot_key (required), entity_id (required), expected_version (required), +4 more.
yaaif_agent_spec_conflict_resolveB
Resolve one conflict: accept_object copies the live field into the Scenario, keep_spec retains the Scenario value, and merge sets merged_value.
Inputs: spec_id (required), resolution (required), conflict_id (required), expected_version (required), +1 more.
yaaif_agent_spec_conflictsA
List unresolved field-level Scenario/catalog conflicts, including severity and the two competing values.
Inputs: spec_id (required).
yaaif_agent_spec_coverageC
Check Scenario slot coverage against the live tenant catalog.
Inputs: spec_id (required).
yaaif_agent_spec_createA
Create a tenant Scenario (Agent Spec): requirement segments + architecture slots. Admin UI calls this a scenario. Pass the returned spec_id on later create tools.
Inputs: name (required), slug (required), slots, status, +3 more.
yaaif_agent_spec_deleteA
Delete an empty Scenario (Agent Spec). Allowed only when it has no current catalog bindings, is not active, and is not a required release dependency of another scenario.
Inputs: spec_id (required), expected_version (required).
yaaif_agent_spec_delete_requirementA
Delete one unreferenced requirement. Remove it from its slots first.
Inputs: req_key (required), spec_id (required), expected_version (required).
yaaif_agent_spec_delete_slotC
Delete one unbound architecture slot.
Inputs: spec_id (required), slot_key (required), expected_version (required).
yaaif_agent_spec_dependenciesA
Return the Scenario dependency graph for change-impact analysis: requirements, slots, bound objects, and evidence.
Inputs: spec_id (required).
yaaif_agent_spec_drift_scanA
Run a non-destructive Scenario drift scan. It records readiness conflicts only; use sync preview/apply to resolve them.
Inputs: limit.
yaaif_agent_spec_evidence_recordB
Record requirement-level verification evidence from a passed agent test, ambient smoke run, or audited manual attestation.
Inputs: kind (required), result (required), spec_id (required), requirement_key (required), +7 more.
yaaif_agent_spec_getA
Load one Scenario (Agent Spec) by id or slug, including segments, slots, bindings, and workflow_design.
Inputs: spec_id (required).
yaaif_agent_spec_legacy_revision_backfill_applyA
Apply a reviewed legacy-release backfill with the exact preview hash. This is an explicit operator action, not tenant rollout automation.
Inputs: spec_id (required), preview_hash (required), expected_version (required).
yaaif_agent_spec_legacy_revision_backfill_previewB
Preview legacy release metadata normalization. This is read-only and never runs automatically for any tenant.
Inputs: spec_id (required).
yaaif_agent_spec_listC
List Scenarios (Agent Specs) for the active tenant.
Inputs: q, limit, status.
yaaif_agent_spec_metricsC
Query telemetry metrics attributed to a Scenario (sessions, tokens, tools).
Inputs: spec_id (required), hours.
yaaif_agent_spec_policy_exportA
Export the portable Scenario tenant policy document for review or promotion across environments.
Inputs: no named parameters.
yaaif_agent_spec_policy_getA
Read the tenant Scenario enforcement mode. New tenants default to observe.
Inputs: no named parameters.
yaaif_agent_spec_policy_importC
Import a reviewed version-1 Scenario tenant policy document. This controls enforcement, evidence TTL, and high-assurance override approval.
Inputs: document (required).
yaaif_agent_spec_policy_setC
Promote the active tenant from observe to warn or require after adoption inventory review.
Inputs: mode (required).
yaaif_agent_spec_processingC
Get Scenario processing / lifecycle status (revisions, sync, attribution).
Inputs: spec_id (required).
yaaif_agent_spec_publishB
Publish an immutable semantic Scenario release. Use patch for corrections, minor for compatible capability additions, and major for breaking architecture or requirement changes.
Inputs: spec_id (required), expected_version (required), release_kind, change_summary, +1 more.
yaaif_agent_spec_readinessB
Return machine-readable activation/publish blockers, requirement coverage, stale evidence, and pending sync conflicts.
Inputs: spec_id (required).
yaaif_agent_spec_release_approval_refreshB
Refresh one Scenario release approval from approval-service before attempting the governed action.
Inputs: spec_id (required), approval_id (required).
yaaif_agent_spec_release_approval_requestC
Request the configured approval-service review for a major Scenario release, a release-candidate promotion, or a restore. This is inactive unless tenant policy v2 explicitly enables release governance.
Inputs: action (required), spec_id (required), expected_version (required), release_kind, +3 more.
yaaif_agent_spec_release_approvalsA
List immutable-draft release approval requests and their latest recorded approval-service status.
Inputs: spec_id (required).
yaaif_agent_spec_release_candidate_promoteA
Promote a verified Scenario release candidate to its stable SemVer release. Promotion creates a fresh immutable stable record and never rewrites the candidate.
Inputs: spec_id (required), revision (required), expected_version (required), change_summary.
yaaif_agent_spec_release_compatibilityB
Preview declared dependent-Scenario compatibility with a proposed provider semantic release; policy may optionally block required incompatibilities.
Inputs: spec_id (required), release_kind.
yaaif_agent_spec_release_dependenciesB
List explicit provider Scenario version constraints declared by this consumer Scenario.
Inputs: spec_id (required).
yaaif_agent_spec_release_dependency_deleteB
Remove one explicit Scenario provider dependency using the current optimistic draft version.
Inputs: spec_id (required), expected_version (required), provider_spec_id (required).
yaaif_agent_spec_release_dependency_upsertB
Declare that this consumer Scenario depends on a provider Scenario release range. The update is version-protected and explicit.
Inputs: spec_id (required), expected_version (required), provider_spec_id (required), version_constraint (required), +1 more.
yaaif_agent_spec_release_exportB
Export a signed-by-hash Scenario release manifest suitable for committing to Git, review, and disaster recovery.
Inputs: spec_id (required), revision (required).
yaaif_agent_spec_release_importB
Import a reviewed, hash-verified Scenario release manifest from Git as a new draft. It preserves bound slot identities and never changes release history.
Inputs: spec_id (required), document (required), expected_version (required), change_summary.
yaaif_agent_spec_release_provenance_listA
List build/test/artifact/SBOM/deployment provenance attached to immutable Scenario releases.
Inputs: spec_id (required).
yaaif_agent_spec_release_provenance_recordC
Record build, isolated verification, artifact, SBOM, or deployment provenance for one immutable Scenario release. A release candidate needs passing verification provenance before promotion.
Inputs: kind (required), spec_id (required), revision (required), expected_version (required), +7 more.
yaaif_agent_spec_revision_compareA
Compare two immutable Scenario releases at the identity, segment, requirement, and slot level before restoring or promoting a change.
Inputs: spec_id (required), to_revision (required), from_revision (required).
yaaif_agent_spec_revision_restoreA
Restore an immutable Scenario release into a new draft. Historical releases are never altered; review and publish the restored draft as a new semantic release.
Inputs: spec_id (required), revision (required), expected_version (required), change_summary.
yaaif_agent_spec_revisionsC
List immutable Scenario releases with SemVer, parent revision, content hash, change summary, and author.
Inputs: spec_id (required).
yaaif_agent_spec_rollout_metricsB
Read observe/warn/require rollout metrics: untracked mutations, readiness failures, overrides, sync conflicts, and verification failures.
Inputs: no named parameters.
yaaif_agent_spec_sync_applyB
Apply a reviewed preview: to_objects writes the Scenario onto bound catalog objects; from_objects adopts live catalog drift into the Scenario.
Inputs: spec_id (required), direction (required), preview_id (required), expected_version (required).
yaaif_agent_spec_sync_from_objectsB
Adopt live catalog objects into the Scenario (explicit). Overwrites Scenario-owned names and workflow graphs. Preview with yaaif_agent_spec_sync_preview (from_objects), then apply. Not the default finish step after create/bind.
Inputs: spec_id (required), preview_id (required), expected_version (required).
yaaif_agent_spec_sync_previewA
Preview apply (to_objects: spec → catalog) or adopt (from_objects: catalog → spec). Read-only; must precede sync apply.
Inputs: spec_id (required), direction (required).
yaaif_agent_spec_sync_to_objectsB
Apply Scenario-owned names and workflow_design onto bound catalog objects. Preview with yaaif_agent_spec_sync_preview (to_objects), then apply. Skill pack files are not overwritten.
Inputs: spec_id (required), preview_id (required), expected_version (required).
yaaif_agent_spec_sync_workflow_designA
Copy bound ambient workflow graphs into the Scenario workflow_design segment. This is an explicit adopt of live graphs. Prefer yaaif_agent_spec_sync_to_objects to apply Scenario-owned workflow_design onto catalog objects.
Inputs: spec_id (required), expected_version (required).
yaaif_agent_spec_transitionA
Transition a Scenario lifecycle state. Active is rejected until readiness passes; use a separately authorized override only for exceptional cases.
Inputs: status (required), spec_id (required), expected_version (required).
yaaif_agent_spec_untracked_listB
Inventory untracked catalog objects discovered in observe/warn mode. Map selected objects explicitly before adoption; never auto-create a Scenario.
Inputs: limit.
yaaif_agent_spec_untracked_resolveB
Explicitly close an untracked inventory item as ignored or adopted. Adoption requires the Scenario id after its mapped bindings were reviewed.
Inputs: state (required), object_id (required), spec_id.
yaaif_agent_spec_updateA
Update Scenario identity or segments using the version returned from its last read. Requirement and slot replacement is only allowed with replace_all=true; prefer granular tools.
Inputs: spec_id (required), expected_version (required), name, slots, +5 more.
yaaif_agent_spec_update_segmentC
Update one Scenario segment (overview, architecture, workflow_design, benefits, …).
Inputs: spec_id (required), segment_key (required), expected_version (required), title, +4 more.
yaaif_agent_spec_upsert_requirementC
Create or update one typed requirement with acceptance criteria; preserves every other requirement and slot.
Inputs: spec_id (required), requirement (required), expected_version (required).
yaaif_agent_spec_upsert_slotB
Create or update one architecture slot and its requirement links without replacing the slot list.
Inputs: slot (required), spec_id (required), expected_version (required).
yaaif_agent_spec_upsert_slotsA
Explicitly replace every architecture slot. Prefer yaaif_agent_spec_upsert_slot for normal edits.
Inputs: slots (required), spec_id (required), expected_version (required).
yaaif_agent_updateA
Update an existing agent (PUT). agent_type is immutable — omit it. skill_ids replaces mappings if provided.
Inputs: agent_id (required), name, enabled, skill_ids, +2 more.
yaaif_ambient_agent_createC
Create an ambient agent config linked to a workflow agent.
Inputs: name (required), agent_id (required), mode, policy, +6 more.
yaaif_ambient_agent_getB
Get one ambient agent config by id.
Inputs: ambient_agent_id (required).
yaaif_ambient_agent_listC
List ambient agent configs in the tenant.
Inputs: q, limit.
yaaif_ambient_run_approveA
Approve an ambient run gate (agent-service). If managed by approval-service, use yaaif_approval_task_decide instead.
Inputs: run_id (required), note, decided_by.
yaaif_ambient_run_getC
Get one ambient run by id.
Inputs: run_id (required).
yaaif_ambient_run_pauseC
Pause an ambient run (agent-service).
Inputs: run_id (required).
yaaif_ambient_run_rejectC
Reject an ambient run gate (agent-service).
Inputs: run_id (required), note, decided_by.
yaaif_ambient_run_resumeC
Resume a paused ambient run.
Inputs: run_id (required).
yaaif_ambient_runs_listC
List ambient workflow runs.
Inputs: q, limit, status, workflow_id, +2 more.
yaaif_ambient_run_stopC
Stop an ambient run.
Inputs: run_id (required), note, decided_by.
yaaif_ambient_test_triggerC
Fire a test signal against an ambient workflow.
Inputs: entity_id (required), event_type (required), entity_type (required), workflow_id (required), +2 more.
yaaif_ambient_workflow_createB
Install an ambient workflow graph under an ambient agent. Omit workflow_graph to seed from the Agent Spec workflow_design segment when spec_id or a bound ambient agent is available.
Inputs: name (required), ambient_agent_id (required), policy, enabled, +7 more.
yaaif_ambient_workflow_getB
Get an ambient workflow by id.
Inputs: workflow_id (required).
yaaif_ambient_workflow_listC
List ambient workflows.
Inputs: q, ambient_agent_id.
yaaif_ambient_workflow_updateC
Update an ambient workflow graph / metadata, including ambient agent assignment.
Inputs: workflow_id (required), name, policy, enabled, +7 more.
yaaif_api_key_bind_deploymentA
Bind an API key Credentials record to an MCP deployment secret_env as YAAIF_MCP_PLATFORM_API_KEY (process fallback for ambient/desktop). Optionally redeploy so the pod picks up the env. Prefer this over putting platform S2S into MCP pods.
Inputs: credential_id (required), deployment_id (required), env_name, redeploy.
yaaif_api_key_createA
Create a scoped API key for MCP/downstream platform access. Plaintext is returned once — bind via yaaif_api_key_bind_deployment or skill field_map; do not inject platform S2S into MCP pods. Prefer least-privilege scopes (e.g. context_store:read/write).
Inputs: name (required), scopes (required), allowlists.
yaaif_api_key_deleteA
Delete (revoke) an API key and its linked Credentials record when present.
Inputs: key_id (required).
yaaif_api_key_getA
Get one tenant API key by id (metadata only; plaintext is never retrievable).
Inputs: key_id (required).
yaaif_api_key_listA
List tenant API keys (scoped ymp- credentials for MCP/downstream → platform APIs). Returns known scopes vocabulary.
Inputs: no named parameters.
yaaif_api_key_rotateA
Rotate an API key. Keeps the same Credentials credential_id (bindings stay valid). Plaintext returned once; previous hash remains valid for a short grace window.
Inputs: key_id (required).
yaaif_api_key_updateC
Update API key name, scopes, allowlists, or enabled flag.
Inputs: key_id (required), name, scopes, enabled, +2 more.
yaaif_approval_inbox_listC
List approval inbox tasks (approval-service).
Inputs: limit, offset, status_scope.
yaaif_approval_strategies_listC
List approval strategies (approval-service).
Inputs: limit, offset.
yaaif_approval_strategy_createC
Create an approval strategy (draft). Optionally publish version 1. Use for ambient Linear+approval graphs.
Inputs: name (required), publish, spec_id, priority, +6 more.
yaaif_approval_strategy_getA
Get one approval strategy by id.
Inputs: strategy_id (required).
yaaif_approval_strategy_publishC
Publish an approval strategy version (required before ambient graphs resolve it).
Inputs: strategy_id (required), version.
yaaif_approval_task_claimC
Claim an approval inbox task.
Inputs: task_id (required).
yaaif_approval_task_decideC
Decide an approval task (approve|reject|request_clarification|send_back).
Inputs: task_id (required), decision (required), channel, comment, +2 more.
yaaif_catalog_overviewB
Read-only snapshot of the current tenant: agents, skills, MCP tools/servers/deployments, desktop tool packages, API keys, deployment settings status, ambient agents/workflows, local tools, file registry lifecycle (paginated summaries).
Inputs: q, limit.
yaaif_configure_checkB
Validate platform profile, OIDC discovery, auth session, and service reachability.
Inputs: no named parameters.
yaaif_deployment_settings_getA
Read tenant deployment-service settings (default method, compose/k8s/gitops knobs). Read-only — configure GitOps/kube in Admin UI.
Inputs: no named parameters.
yaaif_deployment_settings_statusA
Preflight deployment-service health (docker / kubernetes / gitops / agent / api-server). Call before kubernetes_gitops deploy; require gitops healthy.
Inputs: no named parameters.
yaaif_desktop_skill_mapping_deleteC
Delete desktop worker↔skill mapping for a skill id.
Inputs: skill_id (required).
yaaif_desktop_skill_mapping_setB
Replace worker ids mapped to a desktop skill (control-plane PUT). Optionally trace this external dependency to a Scenario slot; attach evidence/attestation before activation.
Inputs: skill_id (required), worker_ids (required), spec_id, slot_key, +1 more.
yaaif_desktop_skill_mappings_listB
List desktop worker↔skill mappings (control-plane).
Inputs: skill_id.
yaaif_desktop_tool_package_deleteA
Remove a command-based MCP tool package (and its platform archives) from the Package Registry.
Inputs: package_id (required).
yaaif_desktop_tool_package_getB
Get one desktop tool package by id (UUID) or tool_key (e.g. sap-gui.mcp).
Inputs: package_id (required).
yaaif_desktop_tool_package_inspectA
Inspect a local command/stdio MCP codebase and propose Package Registry metadata + archive plan. Does not upload. Reads optional yaaif-tool-package.json.
Inputs: source_dir (required), version, platform, tool_key, +11 more.
yaaif_desktop_tool_package_installA
Install or reinstall a Package Registry archive onto one or more desktop workers (control-plane POST .../install). Re-running on a worker that already has the tool upgrades it to the current package version. Platform is optional — control-plane uses the worker's OS when omitted.
Inputs: package_id (required), platform, worker_id, worker_ids.
yaaif_desktop_tool_package_publishA
Add or update a Package Registry entry from a local command/stdio MCP codebase: infer launch contract, zip source or wrap dist exe, create/update the package, upload the platform artifact. Use mode=add (fail if exists), update (fail if missing), or upsert (default).
Inputs: source_dir (required), mode, enabled, version, +15 more.
yaaif_desktop_tool_packages_listA
List command-based MCP tool packages in the tenant Package Registry (api-server /api/desktop/tool-packages).
Inputs: q, limit.
yaaif_desktop_tool_package_uninstallA
Remove an installed command MCP from desktop worker(s) (control-plane POST .../remove). Does not delete the Package Registry entry — use yaaif_desktop_tool_package_delete for that.
Inputs: package_id (required), version, tool_key, worker_id, +1 more.
yaaif_desktop_tool_package_updateA
Update Package Registry metadata for an existing command MCP package (no local codebase required). To refresh the archive from source, use yaaif_desktop_tool_package_publish mode=update.
Inputs: package_id (required), enabled, version, description, +8 more.
yaaif_desktop_tool_package_upgradeB
Upgrade a command MCP already installed on desktop worker(s) to the current Package Registry version. Same control-plane install dispatch as yaaif_desktop_tool_package_install (worker upserts the local tool).
Inputs: package_id (required), platform, worker_id, worker_ids.
yaaif_desktop_tool_package_worker_statusB
Show install/upgrade/remove state of a Package Registry tool on desktop workers (from control-plane tool_install and tool_remove runs). Use before install or uninstall.
Inputs: package_id (required), limit, worker_id, worker_ids.
yaaif_desktop_workers_listC
List desktop workers in the tenant (control-plane).
Inputs: q, limit.
yaaif_dev_session_ensureA
Create or reuse a Cursor authoring chat session for files_* / session_state_* local tools. Auto-picks default skills agent when agent_id omitted. Persists ids in /root/.yaaif/cursor/session.json.
Inputs: agent_id, force_new, session_id.
yaaif_doctorB
End-to-end health narrative: profile, OIDC discovery, TLS, auth, tenant, catalog ping. Prefer before create/plan work.
Inputs: login_if_needed.
yaaif_ensure_sessionA
One-shot: validate platform/OIDC, refresh or login, auto-select tenant (last/single/default), return ready state.
Inputs: tenant, profile_id, login_if_needed.
yaaif_file_artifact_deleteA
Delete one artifact version (?version=N) or every version (omit version) via DELETE /api/files/artifacts. Requires confirm=true.
Inputs: confirm (required), artifact_name (required), version, session_id.
yaaif_file_artifact_versionsA
List every version of an ADK artifact name (session-scoped or user:-prefixed). Uses GET /api/files/artifacts/versions. Pass session_id (or call yaaif_dev_session_ensure first).
Inputs: artifact_name (required), session_id.
yaaif_file_get_extractedB
Fetch extracted text via GET /api/files/extracted. file_id may be a durable UUID or an ADK artifact filename; version selects a historical revision (omit/0 = latest).
Inputs: file_id (required), version, session_id.
yaaif_file_load_contextC
Load extracted text via file_load_context. file_id may be a durable UUID or ADK artifact filename; pass version for a historical revision.
Inputs: agent_id, arguments, session_id.
yaaif_files_listB
List ingested files for the active authoring session (includes artifact_name/version when present). Call yaaif_dev_session_ensure first.
Inputs: agent_id, arguments, session_id.
yaaif_files_searchC
Search uploaded files by name/preview via files_search. Call yaaif_dev_session_ensure first.
Inputs: agent_id, arguments, session_id.
yaaif_generate_fileC
Create a downloadable file in the session via generate_file (returns file_id / artifact_name).
Inputs: agent_id, arguments, session_id.
yaaif_list_ambient_workflowsC
List ambient workflows via platform local tool.
Inputs: agent_id, arguments, session_id.
yaaif_list_tenantsA
List tenants for the signed-in user (normalized: id, name, slug, is_last, is_selected).
Inputs: no named parameters.
yaaif_load_artifactsC
ADK-aligned artifact helper: list session/user: artifacts or load by filename/file_id (optional version). Prefer for human-readable names.
Inputs: agent_id, arguments, session_id.
yaaif_local_tool_callB
Invoke an agent-service built-in local tool (not external MCP). Prefer for skill_validate_module, skill_develop, files_list, list_ambient_workflows, etc. High-impact tools require allow_mutating=true.
Inputs: name (required), branch, agent_id, arguments, +3 more.
yaaif_local_tool_getC
Get one local tool definition (name, description, input_schema, family).
Inputs: name (required).
yaaif_local_tools_catalog_overviewB
Counts of local tools by family plus recommended skill-authoring tools.
Inputs: no named parameters.
yaaif_local_tools_listA
List agent-service built-in local tools (skill lifecycle, files, ambient trigger, state, approvals). Use when authoring SKILL.md tools: lists.
Inputs: q, limit, family, offset, +1 more.
yaaif_loginA
Open browser PKCE login against the active platform OIDC authority and persist tokens.
Inputs: no named parameters.
yaaif_login_deviceA
Headless/CI device-code login (Keycloak device grant + PKCE S256). Returns verification_uri and user_code immediately (status=pending) by default so the agent can show them before MCP tool timeouts; background-polls until authorized. Pass wait=true to block until complete. Requires oauth2.device.authorization.grant.enabled on the active OIDC client.
Inputs: wait, timeout_ms.
yaaif_logoutA
Clear the local YAA\F client session. Optionally open Keycloak end_session.
Inputs: end_session.
yaaif_mcp_deployment_createA
Create an MCP deployment (docker_compose or kubernetes_gitops). transport_type must be STREAMABLE_HTTP or SSE. For k8s prefer endpoint_mode=docker_name (auto Service DNS); use custom + endpoint_host only when needed. Prefer API key secret_env over platform S2S.
Inputs: name (required), image (required), env, spec_id, +13 more.
yaaif_mcp_deployment_deleteA
Delete an MCP deployment. cascade_agent=true (default) also removes the linked agent-service MCP server/tools.
Inputs: deployment_id (required), cascade_agent.
yaaif_mcp_deployment_deployA
Deploy an MCP deployment by id (compose up, or GitOps overlay write/push for kubernetes_gitops).
Inputs: deployment_id (required).
yaaif_mcp_deployment_k8s_statusB
Kubernetes runtime introspection for a kubernetes_gitops deployment (pod + Deployment status). Returns clear error if K8s integration is disabled.
Inputs: deployment_id (required).
yaaif_mcp_deployment_logsA
Fetch MCP deployment logs. Routes automatically: docker_compose → /logs; kubernetes_gitops → /k8s/logs.
Inputs: deployment_id (required), tail.
yaaif_mcp_deployment_redeployA
Roll out an existing MCP deployment (compose recreate or k8s restart/GitOps sync). Use after update or secret_env bind.
Inputs: deployment_id (required).
yaaif_mcp_deployment_registerB
Register a deployed MCP server into the agent-service tool catalog.
Inputs: deployment_id (required), spec_id, slot_key, spec_version.
yaaif_mcp_deployments_listC
List MCP deployments (api-server / deployment-service).
Inputs: q, limit.
yaaif_mcp_deployment_statusB
Get MCP deployment status (phase, status_stages, generated_endpoint, kubernetes_namespace, overlay/compose paths).
Inputs: deployment_id (required).
yaaif_mcp_deployment_stopA
Stop an MCP deployment (compose stop or k8s scale-down via GitOps).
Inputs: deployment_id (required).
yaaif_mcp_deployment_updateA
Update an MCP deployment (image/env/secret_env/endpoint/…). GETs current record, merges patches, PUTs. Call yaaif_mcp_deployment_redeploy afterward for rollout.
Inputs: deployment_id (required), env, name, image, +13 more.
yaaif_mcp_link_or_createC
Idempotently link/create an external MCP tool in the tenant catalog.
Inputs: name (required), endpoint (required), env, enabled, +8 more.
yaaif_mcp_scaffoldC
Scaffold a new MCP server from official YAA\F templates into the workspace.
Inputs: name (required), language, target_dir, workspace_root.
yaaif_mcp_server_getB
Get one external MCP server (and its tools) by id.
Inputs: server_id (required).
yaaif_mcp_server_refreshC
Refresh tools from a registered external MCP server.
Inputs: server_id (required).
yaaif_mcp_servers_listB
List registered external MCP servers in the tenant catalog.
Inputs: q, limit.
yaaif_mcp_tool_getB
Get one external MCP tool by id.
Inputs: tool_id (required).
yaaif_mcp_tools_listC
List external MCP tools in the tenant catalog.
Inputs: q, limit.
yaaif_ops_ambient_run_getA
READ-ONLY: ambient workflow run detail + diagnostic failures for a run_id, plus run_path (coverage/path/current step/canvas URL).
Inputs: run_id (required), max_chars, max_items, summary_only.
yaaif_ops_ambient_worker_logsC
READ-ONLY: ambient worker logs. Alias of yaaif_ops_telemetry resource=ambient_logs.
Inputs: ambient_run_id (required), limit, offset, max_chars, +3 more.
yaaif_ops_analyzeA
READ-ONLY: one-shot incident analysis — correlate IDs, rank failures, and return next_steps. When an ambient run is linked, also includes run_path (coverage/path/current step/canvas URL). Prefer this first; then yaaif_ops_telemetry for drill-down.
Inputs: max_chars, max_items, request_id, session_id, +6 more.
yaaif_ops_correlateA
READ-ONLY: correlate session_id / ambient_run_id / desktop_run_id / request_id into one incident graph with failure summaries.
Inputs: analyze, max_chars, max_items, request_id, +6 more.
yaaif_ops_desktop_run_getB
READ-ONLY: desktop worker run detail + failure findings for a run_id.
Inputs: run_id (required), max_chars, max_items, summary_only.
yaaif_ops_desktop_runs_listB
READ-ONLY: list desktop runs for a session_id (optional status filter).
Inputs: session_id (required), status, max_chars, max_items, +1 more.
yaaif_ops_desktop_worker_logsC
READ-ONLY: desktop worker logs. Alias of yaaif_ops_telemetry resource=desktop_logs.
Inputs: desktop_run_id (required), limit, offset, max_chars, +3 more.
yaaif_ops_diagnosis_createA
Write a confirmed OpsDiagnosisRecord back to YAAIF (append-only). Requires confirm=true after presenting the full draft to the user. Does not pause/stop/approve/retry runs. Requires ops.support.write.
Inputs: title (required), intent (required), source (required), confirm (required), +26 more.
yaaif_ops_diagnosis_getA
READ-ONLY: fetch one confirmed ops diagnosis by id.
Inputs: id (required), max_chars, max_items, summary_only.
yaaif_ops_diagnosis_listA
READ-ONLY: list prior confirmed ops diagnoses (newest first). Provide exactly one of ambient_run_id, session_id, or desktop_run_id. Call before yaaif_ops_analyze so prior findings inform triage.
Inputs: limit, max_chars, max_items, session_id, +3 more.
yaaif_ops_flow_eventsB
READ-ONLY: flow-events by request_id. Alias of yaaif_ops_telemetry resource=flow_events.
Inputs: request_id (required), limit, offset, max_chars, +3 more.
yaaif_ops_session_eventsB
READ-ONLY: LLM session events. Alias of yaaif_ops_telemetry resource=events.
Inputs: session_id (required), limit, offset, max_chars, +3 more.
yaaif_ops_session_getB
READ-ONLY: LLM/flow session metrics detail + derived failure findings for a session_id.
Inputs: session_id (required), max_chars, max_items, summary_only.
yaaif_ops_session_insightsD
READ-ONLY: flow-session insights. Alias of yaaif_ops_telemetry resource=insights.
Inputs: session_id (required), max_chars, max_items, include_raw, +1 more.
yaaif_ops_session_messagesC
READ-ONLY: LLM transcript messages. Alias of yaaif_ops_telemetry resource=messages.
Inputs: session_id (required), limit, offset, max_chars, +3 more.
yaaif_ops_telemetryB
READ-ONLY: unified telemetry drill-down via agent-service /api/ops (proxies telemetry-service). resource=messages|events|flow_events|insights|desktop_logs|ambient_logs. Prefer after yaaif_ops_analyze.
Inputs: resource (required), limit, offset, max_chars, +7 more.
yaaif_plan_dry_runB
Dry-run an execution plan: echo intended tool calls without mutating the tenant. Optionally check catalog refs.
Inputs: actions (required), expected, verify_catalog.
yaaif_plan_execution_getC
Load a saved plan execution by slug.
Inputs: slug (required).
yaaif_plan_execution_listA
List saved plan executions.
Inputs: no named parameters.
yaaif_plan_execution_resumeB
Refresh Scenario readiness/version before returning the next pending step. Halt for unresolved sync conflicts or failed verification evidence rather than repeating mutations.
Inputs: slug (required).
yaaif_plan_execution_saveB
Persist a plan execution checklist (step statuses + result ids) in the active YAA\F client state directory for resume.
Inputs: slug (required), steps (required), spec_id, plan_path, +1 more.
yaaif_plan_execution_update_stepA
Update one step status/result_ids on a saved plan execution (call after each mutate).
Inputs: slug (required), status (required), step_id (required), error, +1 more.
yaaif_plan_verifyB
Diff expected plan components (agent/skill/workflow/MCP/local-tool names) against the live tenant catalog.
Inputs: q, limit, spec_id, skill_ids, +6 more.
yaaif_platform_exportA
Export active profile as shell environment values for the active YAA\F client.
Inputs: no named parameters.
yaaif_platform_listA
List builtin and custom YAA\F platform profiles (hosted, local-hybrid, local, …).
Inputs: no named parameters.
yaaif_platform_saveC
Save or update a custom platform profile in the active YAA\F client state directory.
Inputs: id (required), api_base_url (required), oidc_authority (required), label, +9 more.
yaaif_platform_useA
Switch active platform profile (hosted | local-hybrid | local | custom id). Clears session if OIDC issuer changes.
Inputs: profile_id (required), clear_session_on_issuer_change.
yaaif_roles_listA
List tenant RBAC role names (ADMIN, EDITOR, DEVELOPER, VIEWER, CHAT_USER, plus custom roles). Requires users:read.
Inputs: no named parameters.
yaaif_session_files_listA
List session files via GET /api/files (REST). Set latest_only=true to return one row per artifact_name (latest version). Prefer yaaif_files_list / yaaif_load_artifacts for skill authoring.
Inputs: limit, session_id, latest_only.
yaaif_set_tenantC
Set active tenant by UUID, name, or slug; activates on the server.
Inputs: tenant, tenant_id.
yaaif_skill_createB
Create a skill pack in YAA\F (writes SKILL.md + skill_configs).
Inputs: id (required), description (required), instruction (required), name, +10 more.
yaaif_skill_developD
Run platform skill_develop local tool.
Inputs: agent_id, arguments, session_id.
yaaif_skill_edit_sectionC
Edit a SKILL.md section via skill_edit_section.
Inputs: agent_id, arguments, session_id.
yaaif_skill_enableC
Enable or disable a skill in skill_configs.
Inputs: enabled (required), skill_id (required), updated_by.
yaaif_skill_file_treeB
List the tenant skill files tree (Advanced Skills workspace).
Inputs: path.
yaaif_skill_getB
Get one skill by id (via catalog list ?ids=).
Inputs: skill_id (required).
yaaif_skill_guided_draftC
Create a guided skill draft via skill_create_guided_draft.
Inputs: agent_id, arguments, session_id.
yaaif_skill_listC
List skills in the tenant catalog.
Inputs: q, limit.
yaaif_skill_map_agentsA
Replace agent→skill mappings (bulk). Prefer yaaif_skill_map_agents_merge to avoid wiping existing skills.
Inputs: assignments (required).
yaaif_skill_map_agents_mergeA
Merge skill_ids into agents (fetch current mappings, union, then bulk replace). Safe default for plan execution.
Inputs: assignments (required).
yaaif_skill_mcp_tool_catalogC
List MCP tools for skill linking (skill_mcp_tool_catalog).
Inputs: agent_id, arguments, session_id.
yaaif_skill_read_fileC
Read a skill pack file from the tenant skills tree.
Inputs: path (required).
yaaif_skill_refreshB
Re-discover skill files into the catalog.
Inputs: no named parameters.
yaaif_skill_runtime_reloadB
Reload in-memory skill runtime for agents.
Inputs: no named parameters.
yaaif_skill_runtime_statusB
Get in-memory skill runtime status for the tenant.
Inputs: no named parameters.
yaaif_skill_tools_checkA
Verify skill frontmatter tools / allowed-tools (or an explicit tools list) exist in local tools or external MCP catalog. Server wildcards such as sap-odata:* are accepted. Also use allowed-prompts / allowed-resources from markdown. Run before skill create.
Inputs: tools, markdown.
yaaif_skill_update_module_filesC
Create/update/delete skill module files via skill_update_module_files.
Inputs: agent_id, arguments, session_id.
yaaif_skill_validateC
Validate one skill or the catalog.
Inputs: strict, skill_id.
yaaif_skill_validate_moduleC
Validate a skill module via platform local tool skill_validate_module.
Inputs: agent_id, arguments, session_id.
yaaif_skill_write_fileC
Create or update a skill pack file under the tenant skills tree.
Inputs: path (required), content (required), method.
yaaif_telemetry_getA
Get anonymous local telemetry opt-in state and counters from the active YAA\F client state directory.
Inputs: no named parameters.
yaaif_telemetry_setA
Enable/disable anonymous local success/fail counters (no network, no tokens).
Inputs: enabled (required).
yaaif_trigger_ambient_workflowC
Trigger an ambient workflow via platform local tool.
Inputs: agent_id, arguments, session_id.
yaaif_user_createA
Create a Keycloak email/password user, generate a one-time password that must be reset on first login, then save the YAAIF tenant user. Returns temporary_password once. Requires users:write. Granting ADMIN additionally requires the caller to be ADMIN and confirm_admin_grant=true. Downstream systems can call the same POST /api/users contract with a ymp- key scoped to users:write.
Inputs: name (required), email (required), role, active, +1 more.
yaaif_user_getA
Get one tenant user by id or email. Requires users:read.
Inputs: email, user_id.
yaaif_user_listA
List tenant users (name, email, role, active). Requires users:read. Admins use this before yaaif_user_role_set.
Inputs: q, limit, active.
yaaif_user_role_setA
Change a tenant user's platform role (ADMIN, EDITOR, DEVELOPER, VIEWER, CHAT_USER, or a custom role from yaaif_roles_list). Requires users:write. Granting ADMIN additionally requires the caller to be ADMIN and confirm_admin_grant=true.
Inputs: role (required), email, user_id, confirm_admin_grant.
yaaif_whoamiA
Return current profile, auth session, tenant name/id, and RBAC identity.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 203 tools
Multiple tools overlap significantly: yaaif_ops_telemetry has six explicit aliases, and file retrieval is spread across yaaif_files_list, yaaif_session_files_list, yaaif_load_artifacts, yaaif_file_load_context, and yaaif_file_get_extracted with only subtle differences. The ~50 agent_spec_* tools and several mcp_deployment_* variants further blur boundaries, so an agent can easily misselect despite descriptive text.
The yaaif_ prefix is consistent, but verb/noun ordering is mixed (e.g., yaaif_agent_list vs yaaif_list_ambient_workflows), and some tools break the pattern entirely (yaaif_doctor, yaaif_whoami, yaaif_mcp_link_or_create). Domain clusters like ops_* and agent_spec_* are internally consistent, but the overall convention is a blend rather than a uniform scheme.
203 tools is an extreme count for any MCP server; even a full platform API would be better served by a smaller, curated toolkit with grouped resources instead of 200+ named functions. Many tools are aliases or micro-operations (e.g., six ops_telemetry aliases and dozens of agent_spec_* tools), so the count adds navigation overhead without proportional capability.
The tool surface is extraordinarily broad, covering platform/auth, agents, skills, MCP deployments, API keys, users, approvals, desktop packages, files, ops/telemetry, and the full Scenario agent-spec lifecycle. Minor gaps exist—no agent/skill/user delete tools and some workflows require external UI steps—but most create/read/update operations are covered.
Maintenance
Related MCP Connectors
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceConnects ChatGPT and MCP clients to authorized local development environments, enabling secure file access, shell execution, persistent tasks, browser/desktop control, and remote management of projects.23MIT
- AlicenseNot gradedqualityAmaintenanceConnects MCP clients such as Claude, Cursor, and VS Code to OpenCode's headless API, enabling users to ask questions, implement features, monitor background work, respond to questions and permissions, and review changes across projects.22,181 npmMIT
- AlicenseNot gradedqualityAmaintenanceConnects MCP clients such as Claude, Cursor, and VS Code to OpenCode's headless API, enabling users to ask questions, implement features, run and monitor background coding jobs, handle prompts and permissions, and review changes across projects.22,181 npmMIT
- AlicenseNot gradedqualityAmaintenanceConnects MCP clients such as Claude, Cursor, and VS Code to OpenCode's headless API, enabling users to ask coding questions, start and monitor background coding jobs, respond to prompts and permissions, and review changes across projects.22,181 npmMIT