---
title: "Remove MCP OAuth"
method: DELETE
path: "/mcp/{name}/auth"
---

# Remove MCP OAuth

`DELETE /mcp/{name}/auth`

Remove OAuth credentials for an MCP server

## Path parameters

- `name` string, required

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

OAuth credentials removed

- object
  - `success` true, required

## Other responses

- `404` — Not found

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/versions/8bb9a15bd144/schema)
