
DeepWriter
โ 6from deepwriter-ai
Interact with the DeepWriter API, an AI-powered writing assistant.
โ labsco summary โ our analysis, not the vendor's
What it is โ the official MCP server for DeepWriter, an AI-powered writing assistant, letting Claude and other MCP clients create and generate long-form content in DeepWriter projects.
What you get โ
- Project management โ "create a new project, list my projects, then delete this old draft"
- Content generation โ "generate a full draft for this project using DeepWriter's AI"
- Project detail retrieval for inspecting existing work
- Standard MCP stdio transport, implementing protocol version 2025-03-26
Requirements โ a DeepWriter API key (DEEPWRITER_API_KEY), plus Node.js v17+ and npm. An MCP-compatible client such as Claude for Desktop.
Cost snapshot โ the server is open source under Apache-2.0, but it fronts the DeepWriter API โ you need a DeepWriter account and key, and DeepWriter's own usage terms/pricing apply (the README does not list a price).
Setup effort โ install via Smithery one-liner, or clone, npm install, add your key to .env, and npm run build.
Our take โ useful if you already use DeepWriter, but it is a thin bridge to a paid third-party service, so it is only as good (and as costly) as your DeepWriter subscription.
Source: the project README โ summarized 2026-07-08.
โ readme from github โ mirrored (latest on GitHub โ)
DeepWriter MCP Server
Official Site: DeepWriter.com
Additional Documentation: DeepWriter API Access Docs
A Model Context Protocol (MCP) server for interacting with the DeepWriter API. This server provides tools for creating, managing, and generating content for DeepWriter projects through the standardized MCP interface.
Features
- Project Management: Create, list, update, and delete projects
- Content Generation: Generate content for projects using DeepWriter's AI
- Project Details: Retrieve detailed information about projects
- MCP Integration: Seamlessly integrate with Claude and other MCP-compatible AI assistants
- Standard MCP Features: Implements MCP protocol version 2025-03-26
- Transport Support: Stdio transport for local process communication
Development
Project Structure
deepwriter-mcp/
โโโ src/
โ โโโ index.ts # Main entry point and MCP server setup
โ โโโ api/
โ โ โโโ deepwriterClient.ts # DeepWriter API client
โ โโโ tools/ # MCP tool implementations
โ โโโ createProject.ts
โ โโโ deleteProject.ts
โ โโโ generateWork.ts
โ โโโ getProjectDetails.ts
โ โโโ listProjects.ts
โ โโโ updateProject.ts
โโโ build/ # Compiled JavaScript output
โโโ test-deepwriter-tools.js # Tool testing script
โโโ test-mcp-client.js # MCP client testing script
โโโ tsconfig.json # TypeScript configurationBuilding
npm run buildThis will compile the TypeScript code into JavaScript in the build directory.
Testing
You can test the MCP server locally using the provided test scripts:
node test-mcp-client.jsor
node test-deepwriter-tools.jsTypeScript Configuration
The project uses TypeScript with ES modules and Node16 module resolution. Key TypeScript settings:
{
"compilerOptions": {
"target": "ES2022",
"module": "Node16",
"moduleResolution": "Node16",
"outDir": "./build",
"strict": true
}
}Security
- The server validates all inputs before processing
- API keys are never logged or exposed in error messages
- The stdio transport provides process isolation
- All external API calls use HTTPS
- Input validation prevents injection attacks
{
"mcpServers": {
"deepwriter": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/deepwriter-mcp/build/index.js"],
"env": {
"DEEPWRITER_API_KEY": "your_api_key_here"
}
}
}
}Before it works, you'll need: DEEPWRITER_API_KEY
Prerequisites
- Node.js (v17 or higher)
- npm (v6 or higher)
- DeepWriter API key
- An MCP-compatible client (e.g., Claude for Desktop)
Installation
Installing via Smithery
To install deepwriter-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @deepwriter-ai/deepwriter-mcp --client claudeManual Installation
-
Clone the repository:
git clone https://github.com/yourusername/deepwriter-mcp.git cd deepwriter-mcp -
Install dependencies:
npm install -
Create a
.envfile in the root directory with your DeepWriter API key:DEEPWRITER_API_KEY=your_api_key_here -
Build the project:
npm run build
Usage
Starting the Server
Start the MCP server:
node build/index.jsThe server will listen on stdin for MCP requests and respond on stdout, following the MCP stdio transport specification.
Connecting to Claude for Desktop
To use the DeepWriter MCP server with Claude for Desktop:
-
Open your Claude for Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the server configuration:
{ "mcpServers": { "deepwriter": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/deepwriter-mcp/build/index.js"], "env": { "DEEPWRITER_API_KEY": "your_api_key_here" } } } } -
Restart Claude for Desktop to load the new configuration.
MCP Protocol Support
This server implements MCP protocol version 2025-03-26 with the following capabilities:
- Transport: Stdio transport for local process communication
- Tools: Full support for all DeepWriter API operations
- Logging: Structured logging with configurable levels
Available Tools
1. listProjects
Lists all projects associated with your DeepWriter account.
{
"api_key": "your_api_key_here"
}2. getProjectDetails
Retrieves detailed information about a specific project.
{
"api_key": "your_api_key_here",
"project_id": "your_project_id_here"
}3. createProject
Creates a new project with the specified title and email.
{
"api_key": "your_api_key_here",
"title": "Your Project Title",
"email": "your_email@example.com"
}4. updateProject
Updates an existing project with the specified changes.
{
"api_key": "your_api_key_here",
"project_id": "your_project_id_here",
"updates": {
"title": "Updated Project Title",
"prompt": "Updated project prompt",
"author": "Updated author name",
"email": "updated@email.com",
"model": "Updated model name",
"outline_text": "Updated outline",
"style_text": "Updated style guide",
"supplemental_info": "Updated additional information",
"work_description": "Updated work description",
"work_details": "Updated work details",
"work_vision": "Updated work vision"
}
}5. generateWork
Generates content for a project using DeepWriter's AI.
{
"api_key": "your_api_key_here",
"project_id": "your_project_id_here",
"is_default": true // Optional, defaults to true
}6. deleteProject
Deletes a project.
{
"api_key": "your_api_key_here",
"project_id": "your_project_id_here"
}Troubleshooting
Common Issues
-
API Key Issues:
- Ensure your DeepWriter API key is correctly set in the
.envfile - Check that the API key is being passed correctly in tool arguments
- Verify the API key has the necessary permissions
- Ensure your DeepWriter API key is correctly set in the
-
Connection Problems:
- Make sure the DeepWriter API is accessible from your network
- Check for any firewall or proxy settings that might block connections
- Verify your network connection is stable
-
MCP Protocol Issues:
- Ensure you're using a compatible MCP client
- Check that the stdio transport is properly configured
- Verify the client supports protocol version 2025-03-26
-
Parameter Naming:
- The server supports both snake_case (
project_id) and camelCase (projectId) parameter names - All parameters are case-sensitive
- Required parameters must not be null or undefined
- The server supports both snake_case (
Debugging
For detailed logs, run the server with the DEBUG environment variable:
DEBUG=deepwriter-mcp:* node build/index.jsYou can also check Claude for Desktop logs at:
- macOS:
~/Library/Logs/Claude/mcp*.log - Windows:
%APPDATA%\Claude\logs\mcp*.log
Licensed under Apache-2.0โ you can use, modify, and redistribute it under that license's terms.
