> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-platforms/langdock.md).

# Langdock

Langdock supports four authentication methods for external MCP servers. Use **OAuth Authentication** for Cakewalk's gateway; Langdock auto-registers itself via Dynamic Client Registration.

## Install Method

Custom form in Langdock's MCP integration settings. Langdock differentiates **OAuth Authentication** (DCR-enabled, automatic) from **Advanced OAuth Authentication** (manual Client ID / Secret entry). Cakewalk's gateway supports DCR, so use the simple OAuth option.

## Step 1: Open MCP Integration Settings

1. Open Langdock and sign in.
2. Open MCP integration settings.

## Step 2: Add the Cakewalk Gateway

1. Enter the URL: `https://mcp-gateway.getcakewalk.io/mcp`.
2. Select authentication method **OAuth Authentication**. Do not select Advanced OAuth — Cakewalk's gateway supports DCR.
3. Click **+ Add connection** to initiate the OAuth flow.

## Step 3: Authenticate

Langdock opens the OAuth consent flow in your browser. Sign in with your Cakewalk account and approve the Connection. Langdock auto-registers itself via Cakewalk's Dynamic Client Registration endpoint and stores the resulting credentials.

## Step 4: Test the Connection

1. Click **Test Connection**. Langdock verifies access and discovers the available tools from Cakewalk's gateway.
2. Select which tools to enable on this integration.

## Step 5: Save

Press **CMD + S** (Mac) or **Ctrl + S** (Windows) to save.

## Verifying It Works

In a Langdock Assistant or Custom App that has Cakewalk's tools enabled, ask the assistant to list its available tools. The tools surfaced through the Cakewalk gateway appear in the response. In Cakewalk, the Langdock card on **My Agents** flips to **Connected** after the first agent call.

## Troubleshooting

* **+ Add connection does not open the OAuth flow:** confirm you selected **OAuth Authentication**, not Advanced OAuth Authentication. The Advanced option expects manual Client ID / Secret / Authorization URL / Token URL and will not initiate a DCR flow.
* **Test Connection times out:** confirm `mcp-gateway.getcakewalk.io` is reachable from Langdock's servers, then retry.

## Learn more

* [MCP integration in Langdock](https://docs.langdock.com/resources/integrations/mcp) from Langdock.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-platforms/langdock.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
