Skip to main content

Connect a Tool Server

Add an MCP or OpenAPI server to Hrida.ai so that its operations become tools: for everyone in Admin › Settings, or for yourself in Settings.

A tool server is a service running outside Hrida.ai whose operations the model can call as tools. Hrida.ai connects to two kinds:

  • MCP servers over Streamable HTTP. A server that only speaks stdio can be put behind mcpo.
  • OpenAPI servers: any HTTP service that publishes an OpenAPI spec.

APIs published with API Builder are added on their own, under API Builder › Agent tools. You don't add them here.


For Everyone or Just for You​

Shared tool serverPersonal tool server
Added inAdmin › Settings › IntegrationsSettings › Integrations
Who can add oneAdminsUsers with the Direct Tool Servers permission (off by default)
TypesMCP or OpenAPIOpenAPI only (why)
Calls are made fromThe Hrida.ai serverThe user's browser
localhost meansThe Hrida.ai server, or its containerThe user's own computer
Who can use itThe users and groups given accessOnly the user who added it

A personal server suits tools on your own machine or tools still being tested. A shared server suits tools a team uses. It must be reachable from the Hrida.ai server.


Add a Server​

  1. Open Admin › Settings › Integrations, or Settings › Integrations for a personal server.

  2. Next to Manage Tool Servers, click Add Connection (+).

  3. Choose the Type: OpenAPI, or MCP (Streamable HTTP).

  4. Enter the server's URL. For OpenAPI, also enter where the spec is (openapi.json by default), or paste the spec as JSON.

  5. Choose how Hrida.ai signs in to the server, under Auth:

    AuthWhat is sent
    NoneNothing. Use it unless the server needs a key: Bearer with no key sends an empty header, which many servers reject.
    BearerThe key you enter, as Authorization: Bearer <key>
    SessionThe signed-in user's Hrida.ai session credentials
    OAuthThe signed-in user's access token from their SSO sign-in
    OAuth 2.1MCP only. Each user signs in to the server, and Hrida.ai registers itself as a client automatically (Dynamic Client Registration).
    OAuth 2.1 (Static)MCP only. Like OAuth 2.1, with a client ID and secret you created yourself. See OAuth 2.1 (Static) Setup.
  6. Optionally set the rest:

    • Headers: a JSON object added to every request. It can include the user and chat tokens.
    • Function Name Filter List: offers only some operations (func1, func2) or hides some (!func3).
    • ID, Name and Description: what users see.
  7. For a shared server, set Access to the users and groups who may use it.

  8. Click Verify Connection, then Save.

Keys and client secrets of shared servers are stored encrypted. Adding, changing and removing a shared server is recorded in Admin › Trust › Audit.


Use It in a Chat​

Tools from a shared server are off in each chat until they're turned on. Click + in the message box, open Integrations › Tools, and switch on the ones you want. A server that uses OAuth 2.1 asks each user to sign in to it the first time.

The model then calls the tools when it needs them. This works best with models that support native function calling, which is the default (Tool Calling).

To make a tool ask the user before it runs, add its name to Tool approval in Admin › Trust › Guardrails.


Several Servers Behind One mcpo​

When mcpo runs several MCP servers from one config file, each is served under its own path:

http://localhost:8000/time
http://localhost:8000/memory

Add each one as a separate connection with its full path. The root URL (http://localhost:8000) is not a tool server.


Troubleshooting​

The connection fails as soon as it's added​

  • Check http and https. Most local tool servers don't use TLS. If the URL starts with https://, try http://.
  • Check the port. It must be the port the server listens on. For example, uvicorn uses 8000 by default, and Hrida Terminal uses 8888.
  • Check the type. An MCP configuration (with mcpServers in its JSON) entered as OpenAPI fails to load. Remove the connection and add it again as MCP.

The server runs but can't be reached​

localhost depends on where the call is made from:

  • Shared server: the call comes from the Hrida.ai server. Inside a Docker container, localhost is the container itself. Use host.docker.internal, the service name in your Compose stack, or the machine's address. See Network Diagrams.
  • Personal server: the call comes from your browser. localhost works only if the tool server runs on the computer you browse from. Otherwise use that machine's address, such as http://10.0.0.5:8000, and make the server listen on 0.0.0.0.

To test, open the server's docs page (for example http://localhost:8000/docs) in the same browser. If it loads, the browser can reach it.

CORS errors in the browser console​

A personal server is called from the browser, so it must allow requests from your Hrida.ai address. See the FAQ for a FastAPI example.

MCP-specific errors​

See MCP troubleshooting.

Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.