---
title: "Get MCP binding credentials for OAuth"
method: GET
path: "/mcp/integrations/{binding_id}/credentials"
tags: ["mcp"]
---

# Get MCP binding credentials for OAuth

`GET /mcp/integrations/{binding_id}/credentials`

Returns the integration API key and space ID for a binding owned by the caller. Used by the Memara MCP server during OAuth code exchange to cache credentials next to the Supabase access token.

## Path parameters

- `binding_id` string, required

## Response `200`

Successful Response

- MCPBindingCredentialsResponse — Binding-scoped credentials for MCP OAuth token exchange (server-to-server).
  - `binding_id` string, required
  - `api_key` string, required
  - `space_id` string, required
  - `permissions` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/memara/apis/memara-api.md) · [All operations](https://skmtc.net/memara/apis/memara-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/memara/memara-api/versions/4dc7c4418845/schema)
