Self-hosted MCP server
Run the Dovetail MCP server locally for STDIO-based clients.
Overview
The self-hosted Dovetail MCP server runs locally on your machine using the STDIO transport. Use this option when your MCP client only supports STDIO transport (e.g., Claude Desktop).
For clients that support remote HTTP connections (e.g., Cursor, Windsurf, Microsoft Copilot Studio), we recommend using the hosted endpoint instead — no local setup required.
Requirements
- Node.js 22 or higher (download Node)
- A Dovetail API token (see Authorization)
- An MCP-compatible client
Installation
Option 1: Download pre-built script
- Download the latest
index.jshere - Head over to configuration to continue
Option 2: Setup from source
-
Clone the repository:
git clone https://github.com/dovetail/dovetail-mcp.git cd dovetail-mcp -
Install dependencies:
yarn install -
Build the project:
yarn build -
Locate the
dist/index.jsfilepath for the configuration step:realpath dist/index.js
Configuration
Add the following to your MCP client configuration. If your client supports remote connections (e.g., Cursor), use the hosted endpoint instead.
Claude Desktop: See the MCP website for step by step instructions
{
"mcpServers": {
"dovetail": {
"command": "node",
"args": ["<path-to-your-index-js-file>"],
"env": {
"DOVETAIL_API_TOKEN": "<YOUR_TOKEN>"
}
}
}
}Replace <path-to-your-index-js-file> with the full path to the downloaded or built index.js file, and <YOUR_TOKEN> with your Dovetail API token.
Updated 8 days ago
