Model Context Protocol in TypingMind

Model Context Protocol (MCP) is a standard protocol created by Anthropic to allow LLMs to connect with external tools and services.

Setup MCP in TypingMind

In TypingMind, go to Settings → Advanced Settings → Model Context Protocol to start setup your MCP servers.
Image without caption
MCP servers require a server to run on. TypingMind allows you to connect to the MCP servers via your own local device or a private remote server.
When you first enter the screen, choose where to run the MCP servers.
Image without caption
Select a method that work well for you, then click next.
If you choose to run the MCP servers on your device, run the command displayed on the screen.
Image without caption
Open the Terminal app on macOS or the Windows Terminal to run the command.
ℹ️ Note:
  • Your device must support NodeJS 18+ to run the MCP Connector.
  • When choosing the “This Device” option, you must run the command on the same device you are using TypingMind, otherwise, TypingMind will not be able to connect.
Image without caption
TypingMind attempt to connect to the MCP Connector, when success, you can click “Get Started”.
Image without caption
Once connected, you can start to add MCP servers you want to use. Click the “Edit Servers” button and adding your servers to the text input.
For example, here is the JSON description for adding two official MCP servers created by Anthropic “memory” and “puppeteer”:
json
{ "mcpServers": { "memory": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-memory" ] }, "puppeteer": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-puppeteer" ] } } }
Image without caption
Image without caption
After the MCP servers are added successfully, it will show up in your Plugins page to be used like plugin. You can use the MCP tools directly or assign them to AI agent like other plugins.
Image without caption
Image without caption

How it works

TypingMind uses the MCP Connector (open-source) to run MCP servers. This connector can be run on your device and will manage all active MCP servers.
It is not necessary to run the MCP Connector on your device if you don't need features that require access to the local files, folders, and apps. You can set up a private remote server to run the MCP connector and all of its servers in an isolated environment.
Here is a diagram that demonstrates how TypingMind MCP Connector works.
Image without caption
typingmind-mcp-howitworks.drawio
8.7KB