LM Studio
Add Cakewalk's MCP Gateway to LM Studio by editing mcp.json. LM Studio handles the OAuth handshake in your browser on first connection.
LM Studio supports remote MCP servers with OAuth. Add Cakewalk's gateway URL to mcp.json through the in-app editor, and LM Studio opens a browser window on first use to authenticate you against the Cakewalk gateway. No tokens or headers to manage.
Requirements
LM Studio version with MCP OAuth support. (Released in 2026.) Earlier versions only handle static Bearer tokens via
headersand are not compatible with Cakewalk's gateway.
Install Method
JSON config. Edit mcp.json through LM Studio's in-app editor. The OAuth flow auto-triggers on first connection because Cakewalk's gateway supports Dynamic Client Registration, so no auth block is needed in the config.
Step 1: Open mcp.json
Open LM Studio.
Open the Program section of the LM Studio sidebar.
Open the option to edit
mcp.json(in current LM Studio versions labeled Install > Edit mcp.json).LM Studio opens
mcp.jsonin the in-app editor.
Step 2: Add the Cakewalk Gateway
Paste the following inside mcpServers:
{
"mcpServers": {
"cakewalk": {
"url": "https://mcp-gateway.getcakewalk.io/mcp"
}
}
}Save the file. LM Studio reloads MCP servers automatically.
Step 3: Authenticate
On first use of a Cakewalk tool, LM Studio opens your default browser to the Cakewalk OAuth consent page. Sign in with your Cakewalk account and approve the Connection. LM Studio stores the resulting token securely.
The OAuth callback returns to http://127.0.0.1:33389/mcp-oauth-callback, which LM Studio handles internally.
Verifying It Works
In LM Studio's Program tab, confirm cakewalk appears in the MCP server list with the gateway's tools enumerated. In Cakewalk, the LM Studio card on My Agents flips to Connected after the first agent call.
Troubleshooting
Edit mcp.json menu does not appear: confirm you are on a recent LM Studio version with MCP OAuth support. Earlier versions only supported header-based authentication and will not handle the OAuth flow with Cakewalk.
Browser does not open on first call: make sure no other process is holding port
33389, which LM Studio uses for the OAuth callback.OAuth flow returns to an error page: check that your Cakewalk account is active and that the gateway URL in
mcp.jsonexactly matches the one in Cakewalk's Set Up Flow.
Learn more
MCP Integrations in LM Studio from LM Studio.
Last updated
Was this helpful?