Deepwriter MCP
Last updated
Last updated
The Deepwriter Model Context Protocol (MCP) server allows you to seamlessly integrate Deepwriter's content generation capabilities with Claude and other MCP-compatible AI assistants. This guide will help you set up and use the DeepWwriter MCP server.
Before getting started, ensure you have:
Node.js (v17 or higher)
npm (v6 or higher)
A Deepwriter API key
An MCP-compatible client (such as Claude for Desktop)
Clone the repository:
Install dependencies:
Create a .env
file in the root directory with your DeepWriter API key:
Build the project:
To connect 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
Add the server configuration:
Restart Claude for Desktop to load the new configuration.
Once you've set up the MCP server, you can use DeepWriter's features directly within Claude. Here are some examples:
To see all your Deepwriter projects, ask Claude:
Claude will use the listProjects
tool to fetch and display your projects.
To create a new project, you can say:
Claude will use the createProject
tool to set up your new project.
To view details about a specific project:
Claude will retrieve the project information using the getProjectDetails
tool.
To update an existing project:
Claude will use the updateProject
tool to modify your project.
To generate content for a project:
Claude will use the generateWork
tool to create new content based on your project settings.
To delete a project:
Claude will confirm and then use the deleteProject
tool to remove the project.
API Key Problems:
Ensure your Deepwriter API key is correctly set in both the .env
file and Claude configuration
Verify the API key has not expired (remember, keys are only viewable on creation)
Connection Issues:
Check that your MCP server is running before trying to use it with Claude
Verify the path to your build directory is correct in the Claude configuration
Tool Execution Errors:
Double-check parameter names and formats when making requests
Ensure project IDs are valid when referencing existing projects
For additional debugging information, run the server with the DEBUG environment variable:
You can also check Claude for Desktop logs at:
macOS: ~/Library/Logs/Claude/mcp*.log
Windows: %APPDATA%\Claude\logs\mcp*.log
Instead of hardcoding your API key in the Claude configuration, you can reference environment variables:
This approach allows you to manage sensitive credentials more securely.
You can perform batch operations by asking Claude to execute multiple actions in sequence:
Claude will execute these operations in order and provide the results of each.
Join the community on Discord to share tips and get help from other users
Explore the for more advanced features
Check the for updates and new features