
AAI Gateway
io.github.gybob由 GitHub 账号 gybob 发布v1.1.10更新于 Oct 24, 2026
Unified MCP & Skill management gateway, shared across AI agents, 99% context token savings
概览
本地网关,把 MCP 服务器与技能包统一注册为“Agent App”,让助手按需搜索、安装、启用并调用它们。
- 可以做什么
- 用自然语言搜索并安装新的工具或 Agent App
- 把 MCP 服务器和技能包导入为受管理的 Agent App
- 列出已注册的 Agent App,并按助手启用或停用
- 移除 Agent App,并执行其中某个具体工具
- 把每个导入的应用暴露为 app_ 工具,调用时返回操作指南与工具清单
- 在本机已安装时自动发现 Claude Code、Codex、OpenCode 等预置应用
- 适用场景
- 适合同时给多个 AI 助手接入大量 MCP 服务器或技能、希望用一份共享注册表代替逐个助手重复配置的场景,也适合希望工具描述按需加载而不是每轮对话都注入的情况。
- 运行要求
- 作为本地 stdio 进程在用户机器上运行,通过 npx 从 npm 包 aai-gateway 启动,需要 Node.js 以及下载软件包的网络访问。未声明认证、环境变量或请求头。仅限桌面环境,不提供网页版。
安装
在 SourceWeft 中
- 打开 控制台中的 AAI Gateway,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
AAI Gateway: Unified MCP & Skill Management, Shared Across AI Agents, 99% Context Token Savings
What Is It
AAI = Agent App Interface
AAI Gateway is the interaction gateway for Agent Apps.
What is an Agent App? An Agent App is a collection of capabilities that an Agent can use. For example:
- An MCP Server is an Agent App — it provides a set of tools
- A Skill package is an Agent App — it provides one or more skills
In AAI Gateway, they are abstracted as Agent Apps under unified management. Import once, and all AI Agents can use them immediately.
What Problems Does It Solve
Context Bloat
Traditional: 10 MCPs × 5 tools = 50 full schemas ≈ 7,500 tokens injected into every conversation.
AAI Gateway: each Agent App needs only fewer than 50 tokens for a summary, with details loaded on demand. 99% token savings.
Finding Tools Is Hard
Traditional: search GitHub → read READMEs → copy JSON configs → debug connections → restart Agent.
AAI Gateway: tell your Agent "use AAI to search for xxx" — auto-searches, installs, ready to use.
"Use AAI to search for a browser automation tool"
→ Search → finds Playwright MCP → Agent summarizes a one-line Agent App summary → install → ready to use, no restart needed
"Use AAI to search for a PPT creation skill"
→ Search → finds PPT Skill → uses skill description as Agent App summary → install → ready to use, no restart needed
Duplicate Config
Configure the same thing in Claude Code, Codex, and OpenCode separately? Import once through AAI Gateway, all Agents share instantly.
Quick Start (30 Seconds)
Claude Code:
Codex:
OpenCode — add to ~/.config/opencode/opencode.json:
Once installed, just tell your Agent what you want to do.
Built-in Tools
Each imported Agent App generates an app_<app-id> tool that returns the full operation guide and tool list when called.
Preset Agent Apps (auto-discovered when locally installed)
Architecture
Developers: Get Your Agent App Auto-Discovered
Create an aai.json descriptor and submit it to src/discovery/descriptors/. When a user's local environment meets the discovery.checks conditions, the Agent will auto-discover your Agent App.
discovery.checks supports three check types: command (command exists), file (file exists), path (directory exists).
Supported protocols: mcp, skill, acp-agent
Welcome to submit a PR to contribute new Agent App descriptors, or open an issue for feedback.
来源:README.md,提交 8ef730b
工具
0版本历史
1- v1.1.10最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分