---
title: "Disconnect an MCP app"
method: DELETE
path: "/api/v1/projects/{projectId}/mcp-grants/{grantId}"
tags: ["MCP apps"]
---

# Disconnect an MCP app

`DELETE /api/v1/projects/{projectId}/mcp-grants/{grantId}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/projects/{projectId}/mcp-grants/{grantId}`
- Auth: HTTP bearer

Revokes the app's access to this project at once: its access and refresh tokens stop working, and it has to be connected again from the app.

## Path parameters

- `projectId` string, uuid, required
- `grantId` string, uuid, required

## Response `204`

Disconnected

---

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