
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 分