Britive platform release 2026.09.02 is now live in production.

Create one or more tools for a given MCP server in a single call

Prev Next
Post
/api/mcp-manager/mcp-servers/{serverId}/tools

The only way to create tools -- always a list, even for a single tool. Creates all tools atomically: either all succeed or none are created. Validates every tool name for uniqueness under the server before persisting any. Only supported for non-OAuth servers (oauthServer=false); OAuth servers get their tool catalog from a live discovery call instead.

Security
HTTP
Type bearer
Path parameters
serverId
stringRequired
Body parameters
Expand All
object
tools
Array of object (McpServerTool) Required

List of tools to create; all must be valid and unique or none are created.

Min items1
Max items50
object
toolId
string
name
string Required
description
string
inputSchema
object

JSON Schema object describing the tool's expected input parameters (MCP protocol format).

Responses
201

All tools created successfully

Expand All
object
tools
Array of object (McpServerTool)

All created tools with their generated IDs.

object
toolId
string
name
string
description
string
inputSchema
object

JSON Schema object describing the tool's expected input parameters (MCP protocol format).

400

Validation failed -- blank name, duplicate name within the batch, name already exists on the server, or the target server is an OAuth server. Error code MCP-1001 for existing names, MCP-1002 for duplicates within the batch.

404

MCP server not found