Using the new MCP Server through Ollama to remove links

Im exploring the new MCP server since I want to remove links from Markdown files that have been converted from RTF/D.

Here is one example that I want to convert:

• Objective functions
⁃ |Aesthetic objective function](x-DEVONthink-item://9FF1787B-3027-4F08-9C60-07549717C0F7) (anchored in human, work)

I tried this with Claude Code, and it worked.
Now I want to use Ollama with gemma3 since Claude eats tokens, and I reach session limits much earlier than before.

But how do I integrate DEVONthink MCP activation into a DT Chat for a file so I can instruct gemma3 (locally through Ollama) to remove the links?

Any ideas
/Anders

MCP is intended for third-party apps, it‘s neither used nor supported by DEVONthink‘s chat assistant. But the chat assistant is able to modify selected, text-based files since version 4.0 if the related option in Settings > AI > Chat is enabled.

However, more efficient and reusable would be to write a script (e.g. via Data > New > Script… or via Claude Code) to trim the Markdown files as intended.

1 Like