---
title: "Connect Tools"
method: POST
path: "/agents/mcp/connect"
tags: ["mcp-tools"]
---

# Connect Tools

`POST /agents/mcp/connect`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/agents/mcp/connect`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Attach selected MCP tools to an agent.

## Request body

- ConnectToolsRequest
  - `agent_id` string, required
  - `server_id` string, required
  - `tool_ids` string[], required

## Response `200`

Successful Response

- ConnectToolsResponse
  - `connected` integer, required
  - `tools` object[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
