集成

Danube

试用

通过单一 API 密钥让你的智能体接入持续增长的服务与工具市场。

它能做什么

Danube 是一个工具市场,智能体只需一个 API 密钥即可访问不断扩充的服务和工具集合。可以用 OAuth 2.0 设备授权流程,或在控制台直接拿到密钥,然后通过 MCP 连接。智能体先用 list_services、search_tools、get_service_tools 浏览和发现可用的能力,再通过 execute_tool 执行单个工具,或用 batch_execute_tools 一次并发最多 10 个调用。API 密钥按用户维度隔离,配合行级安全策略,每一次工具调用都会留下审计记录。

什么时候用它

  • 向用户确认参数前先浏览市场,看看有哪些可用服务
  • 把多个工具调用合并成一次批量请求并发执行
  • 为已有的智能体接入基于 MCP 的工具调用能力
  • 让用户通过浏览器中的 OAuth 流程授权智能体访问

技能文档

Danube — Connect Your Agent

Danube is a marketplace that gives your AI agent access to a large and growing collection of services and tools through a single API key. New services and tools are added regularly — always search and explore to see what's currently available rather than assuming a fixed set.

Quick Setup

Step 1: Get an API Key

You can get your API key from the Danube Dashboard under Settings > API Keys.

Alternatively, use the standard OAuth 2.0 Device Authorization flow (RFC 8628) — this requires the user to explicitly approve access in their browser:

curl -s -X POST https://api.danubeai.com/v1/auth/device/code \
  -H "Content-Type: application/json" \
  -d '{"client_name": "My Agent"}'

This returns a device_code, a user_code, and a verification_url.

The user must open the verification URL in their browser and enter the code to authorize access.

Then poll for the API key:

curl -s -X POST https://api.danubeai.com/v1/auth/device/token \
  -H "Content-Type: application/json" \
  -d '{"device_code": "DEVICE_CODE_FROM_STEP_1"}'
  • 428 = user hasn't authorized yet (keep polling every 5 seconds)
  • 200 = success, response contains your api_key
  • 410 = expired, start over

Step 2: Connect via MCP

Add this to your MCP config:

{
  "mcpServers": {
    "danube": {
      "url": "https://mcp.danubeai.com/mcp",
      "headers": {
        "danube-api-key": "YOUR_API_KEY"
      }
    }
  }
}

Security & Privacy

  • User-scoped access: Each API key is scoped to the authenticated user. You cannot access another user's data, tools, or skills.
  • Row-level security: Database access is enforced with row-level security policies — queries only return data belonging to the authenticated user.
  • Audit trail: All tool executions are logged with timestamps, parameters, and results for user review.

Permissions & Scope

The DANUBE_API_KEY grants:

  • Read: Browse services, search tools, view public skills/workflows/sites
  • Execute: Run tools and workflows
  • Write (user-scoped only): Create/update/delete your own skills and workflows

The API key does not grant:

  • Access to other users' data or resources
  • Admin or platform-level operations
  • Access to raw database or infrastructure

Step 3: Explore & Use Tools

Once connected, you have access to a marketplace of services and tools that is constantly growing. Do not assume you know what's available — always search and explore first.

How to Discover What's Available

  • list_services() — Browse all available service providers. Use query to filter and limit to control how many results. Start here to get a sense of what the marketplace offers.
  • search_tools(query) — Semantic search across all tools. Describe what you want to accomplish in natural language (e.g., "send an email", "create a GitHub issue", "translate text"). This searches the entire marketplace.
  • get_service_tools(service_id) — Once you find an interesting service, get all its available tools to see the full range of what it offers.

Important: The marketplace has many more services and tools than you might expect. When a user asks you to do something, always search broadly first. Try multiple search queries with different phrasing if the first search doesn't find what you need. Browse services by category. The right tool is probably available — you just need to find it.

How to Execute Tools

  • execute_tool(tool_id, parameters) — Run any tool by its ID. The tool's schema (returned from search/discovery) tells you exactly what parameters it expects.
  • batch_execute_tools(calls) — Run multiple tools concurrently in a single request (up to 10).

Skills, Workflows & More

Danube also offers skills (reusable agent instructions), workflows (multi-step tool chains), an agent web directory, agent management, and tool quality ratings. Use search_skills, list_workflows, search_sites, and other tools to explore these capabilities — they are all discoverable through the MCP connection.

When a Tool Needs Credentials

If execute_tool returns an auth_required error, it means the service needs credentials configured. Direct the user to configure credentials at https://danubeai.com/dashboard, then retry the tool.

Core Workflow

Every tool interaction follows this pattern:

  1. Explore — Start with list_services() or search_tools("what you want to do") to discover what's available. Try broad queries. Browse by category. Don't assume — search.
  2. Check auth — If the tool needs credentials, direct the user to https://danubeai.com/dashboard to configure them
  3. Gather parameters — Ask the user for any missing required info
  4. Executeexecute_tool(tool_id, parameters)
  5. Report — Tell the user what happened with specifics, not just "Done"

常见问题

智能体怎么发现有哪些工具可用?
先用 list_services 浏览服务列表,用 search_tools 按自然语言检索,再用 get_service_tools 查看某个具体服务提供的全部工具。文档明确说明市场会持续更新,建议先用宽泛的关键词搜索,必要时换几种说法多试几次。
这个 API 密钥授予了哪些权限?
可以浏览服务、搜索工具、查看公开的 skills / workflows / sites;可以执行工具和工作流;可以创建、更新、删除当前用户自己的 skills 和 workflows。不会授予访问其他用户数据的权限、平台管理权限,也不会开放底层数据库或基础设施。
工具需要凭证时会发生什么?
execute_tool 会返回 auth_required 错误,需要用户前往 danubeai.com/dashboard 配置凭证后再重试该工具。

相关技能

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai21 次安装8 星标

通过 6551 REST API 查询 Twitter/X 用户资料、推文、粉丝事件与 KOL 数据。

作者 infra403840 次安装27 星标

通过托管 OAuth 访问 Microsoft Graph Excel 接口,读写 OneDrive 中的工作簿、工作表、区域、表格与图表。

作者 byungkyu800 次安装42 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván555 次安装18 星标

通过 OAuth 认证网关管理 Stripe 客户、订阅、发票、产品、价格和支付。

作者 byungkyu720 次安装29 星标