
Apiany Mcp
io.github.ailingqu由 GitHub 账号 ailingqu 发布v0.1.2更新于 Oct 24, 2026
APIAny MCP server for model discovery, pricing, docs, and integration examples.
概览
APIAny 官方 MCP 服务器,让助手探索 AI 模型、估算点数成本、查询文档并生成接入示例。
- 可以做什么
- 按供应商、模态、能力与价格浏览、搜索并查询 APIAny 公开模型。依据公开价格数据估算点数成本。获取精简的 APIAny 文档内容。生成 cURL、Python、JavaScript、Go、Java 与 PHP 的兼容示例。在配置密钥并明确确认付费后创建图片或视频任务,并查询异步任务状态。
- 适用场景
- 当你想在写代码前先挑选 APIAny 的模型、比较点数成本,或获取各语言的接入示例时使用;若需要实际生成图片或视频,也可在配置密钥后使用付费任务工具。
- 运行要求
- 以 npm 包在本机运行,需要 Node.js 与网络连接。可选环境变量 APIANY_BASE_URL 可指定服务地址,默认为官方站点。付费的图片与视频任务工具另需环境变量 APIANY_API_KEY。
安装
在 SourceWeft 中
- 打开 控制台中的 Apiany Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
APIAny MCP
Official MCP server for APIAny model discovery, pricing context, documentation lookup, and OpenAI-compatible integration examples.
APIAny connects agents and developers to 100+ AI models for chat, image, video, and multimodal workflows.
[npm version] [npm package] [release] [license] [Node.js] [MCP server]
Quick Start · Visual Setup · MCP Tools · Agent Skill · Development
English | 中文
What This Repository Provides
APIAny MCP gives AI agents a structured way to understand and use APIAny:
- Discover public APIAny models by provider, modality, capability, and pricing metadata.
- Estimate APIAny credits before choosing a model or running a workflow.
- Fetch compact documentation context from APIAny docs and
llms.txt. - Generate OpenAI-compatible cURL, Python, JavaScript, Go, Java, and PHP examples.
- Create image or video generation tasks only when an API key is configured and the user explicitly confirms paid usage.
- Package an agent skill at
skills/apiany-integrationso supported agents can learn the APIAny workflow.
Quick Start
Run the server directly with npm:
Or install and run it from this repository:
Visual Setup
1. Install and Start the MCP Server
2. Add APIAny MCP to Your Agent Client
Use this configuration in Claude Code, Cursor, VS Code, or another MCP-compatible client:
[APIAny MCP client configuration]
For paid image or video task tools, also set APIANY_API_KEY:
3. Ask Your Agent to Use APIAny
[APIAny MCP tool usage in an agent conversation]
Example prompts:
MCP Tools
Agent Skill
The APIAny Integration skill lives in skills/apiany-integration.
It helps agents:
- Choose APIAny models by modality, provider, pricing, and capability.
- Generate examples for chat, image, video, and media workflows.
- Explain async task creation and polling.
- Require explicit confirmation before paid generation tasks.
Environment Variables
Safety Model
Read-only tools work without an API key. Paid generation tools require both:
APIANY_API_KEYconfirm_paid_request=true
The server does not persist API keys. It only reads them from the current process environment.
Development
Useful files:
src/server.js: MCP server implementation.examples/mcp.json: client configuration example.docs/distribution.md: release checklist for npm, MCP directories, and skill marketplaces.CHANGELOG.md: release history.
Links
- Website: https://apiany.ai
- GitHub: https://github.com/ailingqu/ApiAny.AI-MCP
- npm: https://www.npmjs.com/package/@apiany-ai/mcp
- Models: https://apiany.ai/models
- Docs context: https://apiany.ai/llms.txt
License
MIT
来源:README.md,提交 0fc4e24
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分