# MCP with Claude Gateway Mode

**URL:** <https://discourse.devontechnologies.com/t/mcp-with-claude-gateway-mode/87072>\
**Category:** Artificial Intelligence\
**Created:** [June 3, 2026, 11:06am UTC](https://discourse.devontechnologies.com/t/mcp-with-claude-gateway-mode/87072 "2026-06-03T11:06:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ulmulm](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/u/c6cbf5/32.png) [@ulmulm](https://discourse.devontechnologies.com/u/ulmulm)\
**Post date:** [June 3, 2026, 11:06am UTC](https://discourse.devontechnologies.com/t/mcp-with-claude-gateway-mode/87072/1 "2026-06-03T11:06:38Z")

</div>

I would like to ask whether it is possible to use the DEVONthink MCP server with Claude in Gateway mode.

At the moment, I can see Claude Desktop in the DEVONthink settings.

 ![CleanShot 2026-06-03 at 19.03.54@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/c/b/cb2974a66c6a33ed7ccc9625aa282a0d8ff2e288.png)

However, I’m unable to access DEVONthink within Claude.

 ![CleanShot 2026-06-03 at 19.04.58@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/9/4/94e14d5cfe9a06e50d4d6af4a3381040a7b2280d.png)

And here’s the gateway setting in claude developer mode:

 ![CleanShot 2026-06-03 at 19.05.45@2x](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/c/1/c15bc02016a78e61103b52237372750c1214be61.png)

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [June 3, 2026, 12:54pm UTC](https://discourse.devontechnologies.com/t/mcp-with-claude-gateway-mode/87072/2 "2026-06-03T12:54:18Z")

</div>

This is a question for Anthropic, not us. We only make the MCP server available but we don’t control the access to it.

---

<div class="post-metadata">

**Author:** ![psnDN9999](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/p/7ba0ec/32.png) [@psnDN9999](https://discourse.devontechnologies.com/u/psnDN9999)\
**Post date:** [September 4, 2026, 9:28am UTC](https://discourse.devontechnologies.com/t/mcp-with-claude-gateway-mode/87072/3 "2026-09-04T09:28:14Z")

</div>

Same symptom here, with a concrete cause that turned out to be worth checking. I can’t promise it’s the same as yours — I was connecting from Claude Desktop, not gateway mode — but the visible behaviour was identical: “Claude Desktop” ticked in DEVONthink’s settings, and nothing reachable on the Claude side.

Setup: DEVONthink 4 Pro, Claude Desktop, MCP enabled under Settings \> AI \> MCP with the “Claude Desktop” connector ticked.

## What was actually wrong

The tick was there, but the connector had never been written to Claude’s configuration file. No `devonthink` entry under Claude’s Settings \> Developer, and no DEVONthink tools in conversations.

## How to check

In Terminal:

```auto
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json

```

If the output has no `mcpServers` key, the connector was never installed, whatever the checkbox says. In my case the file contained only Claude’s own preferences.

## Two things that make this easy to get wrong

On current builds that file holds **both** Claude’s application preferences **and** the MCP servers. So:

- do not overwrite it — pasting only the MCP block wipes your Claude preferences (I did this; Claude threw an error on next launch)
- quit Claude completely first (Cmd-Q) — the app rewrites this file when it exits, so an edit made while it is running gets discarded

## Fix

1. Quit Claude with Cmd-Q. It must be gone from the Dock.

2. Back the file up:

3. Add the key without touching anything else. One line, no indentation — a multi-line script loses its leading spaces when pasted into Terminal and dies with `IndentationError`:

4. Reopen Claude. `devonthink` appears under Settings \> Developer as running, and the tools are available. In my case they showed up in the conversation I already had open, without starting a new one.

The block being added is exactly what DEVONthink’s “Copy JSON” button gives you:

```auto
{
  "mcpServers": {
    "devonthink": {
      "command": "/Applications/DEVONthink.app/Contents/Library/LoginItems/DEVONthink MCP.app/Contents/MacOS/DEVONthink MCP",
      "args": ["--stdio"]
    }
  }
}

```

It just has to be merged into the existing file rather than replacing it.

## What I can’t tell you

- Why the checkbox doesn’t write the file. A sandbox restriction on writing into Claude’s application support folder is plausible, but I have not verified it.
- Whether this also fixes gateway mode. I only tested Claude Desktop, so if your setup differs the check in step one is still worth two seconds, but the outcome may not be the same.
- Whether a DEVONthink or Claude update will overwrite the entry again. Worth re-checking after either updates.

Sanity check before relaunching, if you want one:

```auto
python3 -m json.tool ~/Library/Application\ Support/Claude/claude_desktop_config.json

```

If that reprints the JSON, the file is valid. If it errors, restore the backup.
