agentleFS
hybridlabor-apihybridlabor-api/aos/skills/global_config/aos-gateway/SKILL.md

aos-gateway

Skill9 starsChanged 25 days agoApache-2.0View on GitHub

Local MCP gateway and per-app MCP picks. Use when checking, starting, enabling the gateway, or debugging why an MCP server is direct or shared.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run aos-gateway adopt --dry-run first and show the result.

    line 29
  2. Very specific:

    Run aos-gateway adopt only after the human agrees.

    line 30
  3. Very specific:

    Do not add a server to the allow list by hand.

    line 39
  4. Very specific:

    After Effects: bdb_after_effects_mcp_legacy only with AOS_AE_MCP=legacy, else bdb_after_effects_mcp.

    line 51
  5. Very specific:

    Do not edit ~/.agents/gateway/ files by hand.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

aos-gateway

The gateway is a local token-checking forwarder (127.0.0.1:7790) in front of @1mcp/agent (127.0.0.1:7791). Harness MCP files get one aos entry instead of many servers. Full reference (repo, not installed): https://github.com/hybridlabor-api/aos/blob/main/docs/mcp-gateway.md.

Commands

aos-gateway serve | start | stop | restart | status [--json] | enable | direct | adopt [--dry-run] [--json]
  • Check: aos-gateway status (exit 0 only when running). Upstream health is the state of 1mcp as a whole, not per server.
  • Enable: aos-gateway enable points the harness MCP files at the gateway. Direct: aos-gateway direct reverses it and restores removed entries.
  • Start/stop/restart: launchd on macOS. Windows (schtasks) is UNVERIFIED in the code. Elsewhere run aos-gateway serve.
  • Config lives in ~/.agents/gateway/ (token, upstream_template.json). token must be mode 600. Never print or copy its content.

Adopt

  1. Run aos-gateway adopt --dry-run first and show the result.
  2. Run aos-gateway adopt only after the human agrees. It edits harness MCP files.
  3. Run aos-gateway restart afterwards.

Adopt skips remote (url/http/sse) entries, disabled ones, names the AOS install owns, names over 26 chars, entries with inline secrets and conflicting definitions. Secrets are never copied.

Allow list vs direct

  • Shared through the gateway: github, open_design_mcp, bdb_resolume_mcp, bdb_grandma3_mcp, bdb_blender_mcp, bdb_davinci_mcp, adobe_uxp_mcp, bdb_unreal_mcp, bdb_after_effects_mcp.
  • Everything else stays direct (for example deja, memb_mcp, mcsc, openwiki, bdb_td_minddesigner, the official picks). A shipped entry with shared: false also stays direct.
  • Do not add a server to the allow list by hand. It is defined in lib/gateway/config.js.

Node for After Effects

bdb_after_effects_mcp needs Node >= 24. aos-gateway serve warns on an older Node and the AE upstream will not start. Fix the Node version, then restart the gateway.

One MCP per app

mcp_picks.json keeps the first satisfied candidate per app and removes the others.

  • Blender: bdb_blender_official_mcp when Blender >= 5.1 is found, else bdb_blender_mcp.
  • Resolume: bdb_resolume_official_mcp when the Arena mcp/resolume_arena_mcp_server binary is found, else bdb_resolume_mcp.
  • After Effects: bdb_after_effects_mcp_legacy only with AOS_AE_MCP=legacy, else bdb_after_effects_mcp.

Limits

  • The token stops browsers, not local processes.
  • Do not edit ~/.agents/gateway/ files by hand. Use the commands above.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.