黑洞智能体BLACK HOLE AGENTS
Docs

MCP and External Tools

MCP is how Agents connect to external tools and resources. BLACK HOLE can manage MCP servers, built-in servers, marketplaces and some provider entries, and then bind connected servers to specific Agents.

When You Need MCP

Quick creation, JSON import and package import in the Add menu. (Chinese interface.)Quick creation, JSON import and package import in the Add menu. (Chinese interface.)

Quick creation, JSON import and package import in the Add menu. (Chinese interface.)

Server management and Add controls in Settings → MCP. (Chinese interface.)Server management and Add controls in Settings → MCP. (Chinese interface.)

Server management and Add controls in Settings → MCP. (Chinese interface.)

  • An Agent needs to call services beyond BLACK HOLE's built-in tools;
  • Your team already has databases, browsers or business systems that expose an MCP interface;
  • You want the same set of external capabilities reused by several Agents;
  • You need to provide tools, resources or prompts to the model in a uniform way.

If you only need a fixed workflow, use a Skill; if you only need to search a BLACK HOLE knowledge base, bind the knowledge base directly. There's no need to set up MCP just because it seems "more advanced".

Add a Server

Path: Settings → MCP → MCP Servers → Add.

1. Confirm the connection type

Local commands usually use standard input/output; remote services usually provide an SSE or streamable HTTP URL. Fill in the configuration exactly as the service provider specifies — don't guess from the name.

2. Fill in the configuration and check permissions

Local servers need a command, arguments and environment variables; remote servers need a URL, and some also need authorization. Before saving, confirm where the command comes from and what data it can reach.

3. Start it and review the tools

Enable the server, wait for its status to turn healthy, then open its details to check the tools, resources and prompts it provides. If the connection fails, check the server log first.

Expand a tool in the tool list to see its full Markdown description and its parameters shown by level, with types, required markers and enum values. Check the required parameters before calling it; expand object and array parameters level by level rather than guessing the input format from the tool's name.

4. Bind it to an Agent

Open Work → the Agent's menu → Edit → MCP, and enable the server. A server that isn't running can't be bound and used properly.

Built-in Servers and Marketplaces

Built-in MCP offers common capabilities you can install or enable directly; Marketplaces manages third-party marketplace sources. Still review the description, command, environment variables and permissions before installing — a built-in entry doesn't mean every operation of the external service is risk-free.

Built-in MCP servers with installation and configuration controls. (Chinese interface.)Built-in MCP servers with installation and configuration controls. (Chinese interface.)

Built-in MCP servers with installation and configuration controls. (Chinese interface.)

QVeris is under Built-in Servers and lets Agents discover, inspect and call external capabilities. After installing it, you need to configure QVERIS_API_KEY; don't put the key in Agent prompts, Skills or public screenshots.

Use MCP Prompts and Resources in the Input Area

Besides tools, a server may also provide "prompts" and "resources". Once the server is bound to the current assistant or Agent, open the + panel in the input area:

  • Choose MCP Prompts to insert a server template into the input box; required parameters in the template appear as fields you can fill in;
  • Choose MCP Resources to pick a file, record or other resource from a bound server;
  • Short text resources are inserted directly into the input box; larger or binary resources are added as references that a tool-calling model reads when needed.
SettingProduct defaultSuggested startPurposeWhen it appliesCaveats
Server statusDepends on the configuration after addingEnable one at a time and verifyControls whether the server is availableFirst-time setup, troubleshootingWhen several servers fail at once, it's hard to pinpoint
Agent bindingServers aren't bound automaticallyBind only the servers the Agent needsControls the scope of capabilitiesSeveral Agents with different rolesKeeps irrelevant tools from filling up the context
Environment variablesNo keys prefilledUse credentials with the minimum permissions the service requiresProvides authentication or runtime parametersPrivate servicesMask sensitive content before screenshots and exports
Tool approvalDecided by the Agent's permission modeKeep confirmation on for tools that write or cost moneyPrevents unintended actionsDatabases, files, external APIsChannel entry points can use a stricter mode

Example: Connecting a Project Database to an Analysis Agent

An admin provides a read-only MCP connection. The user verifies the server works in Settings → MCP, then binds it only to the "Data Analysis" Agent. The Agent uses read-only tools to fetch data and writes its report to the working directory; tools that update data are left disabled. That way, even if the prompt is misunderstood, the business database can't be changed directly.

What's the difference between MCP and the API Gateway?

MCP brings external tools into BLACK HOLE; the API Gateway offers BLACK HOLE's model capabilities to other programs through a compatible API. The data flows in opposite directions.

The server shows as connected, but the Agent still can't find the tools. What should I do?

Check whether the Agent is bound to the server, whether the tool is turned off, and whether a permission request is pending. After changing the Agent's configuration, send a new message so the runtime loads the new tools.

On this page