Overview

Server tools are custom tools that organization admins register on the Allternit platform. They run inside the Cloud Sandbox rather than on the caller’s machine, and they are invoked through the same /tools/execute surface as native tools. Server tools are useful when:
  • The tool needs access to organization-wide secrets or APIs.
  • The tool should run in a controlled, isolated environment.
  • You want every member of the organization to share the same tool definition.

Base URL

Server tools are managed under the organization-scoped admin prefix:
Local development:

Registration

Server tools are scoped to an organization and can only be managed by organization owners or admins.

Endpoints

Tool schema

Create a server tool

Response (HTTP 201):

List server tools

Response:

Execution

When a tool name is executed through POST /api/v1/tools/execute, the API first checks whether a server tool with that name is registered for the caller’s organization. If it is, the server tool runs inside the sandbox. If not, the native tool executor handles the request. The tool arguments are serialized as JSON and injected into the sandbox environment as ALLTERNIT_TOOL_ARGS.
If the sandbox stdout parses as JSON, that JSON is returned directly:
If stdout is not valid JSON, the response wraps the captured output:

Server tools in the MCP catalog

Server tools registered for an organization are also exposed through the /mcp/server JSON-RPC surface when the authenticated user belongs to that organization. The same precedence rule applies: a server tool shadows a native tool with the same name.

Error codes