---
title: "Generic MCP tool proxy for the scripts SDK bridge"
method: POST
path: "/api/mcp-bridge"
tags: ["Scripts"]
---

# Generic MCP tool proxy for the scripts SDK bridge

`POST /api/mcp-bridge`

## Request body

- object
  - `tool` string, required
  - `args` object

## Response `200`

Tool result

## Other responses

- `400` — Invalid tool name or args
- `403` — Tool not in SDK allowlist
- `404` — Tool not found

## Changes

- **2026-08-07** `06cac6a7c5bc` — 3 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `404`

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/mcp-bridge/post.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4d23bb3d853c?raw)
