DA

deepwriter-ai/deepwriter-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 3 forks 质量 71 趋势 14Apache-2.0

MCP to allow LLMs to submit jobs to Deepwriter AI

概览

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. - : Create, list, update, and delete projects - : Generate content for projects using DeepWriter's AI - : Retrieve detailed information about projects - : Seamlessly integrate with Claude and other MCP-compatible AI assistants - : Implements MCP protocol version 2025-03-26 - : Stdio transport for local process communication - Node.js (v17 or higher) - npm (v6 or higher) - DeepWriter API key - An MCP-compatible client (e.g., Claude for Desktop) To install deepwriter-mcp for Claude Desktop automatically via Smithery: 3. Create a .env file in the root directory with your DeepWriter API key: The server will listen on stdin for MCP requests and respond on stdout, following the MCP stdio transport specification.

README

以下为原文 README 节选,完整内容请查看原文。

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

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 claude

Manual Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/deepwriter-mcp.git
    cd deepwriter-mcp
    
  2. Install dependencies:

    npm install
    
  3. Create a .env file in the root directory with your DeepWriter API key:

    DEEPWRITER_API_KEY=your_api_key_here
    
  4. Build the project:

    npm run build
    

Usage

Starting the Server

Start the MCP server:

node build/index.js

The 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:

  1. Open your Claude for Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. 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"
          }
        }
      }
    }
在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @deepwriter-ai/deepwriter-mcp --client claude
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "deepwriter": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/deepwriter-mcp/build/index.js"], "env": { "DEEPWRITER_API_KEY": "your_api_key_here" } } } }