Integration

DocuWriter.ai integration

DocuWriter.ai is an AI tool that writes documentation, tests and diagrams from source code. Upload one source file as text to DocuWriter to get Markdown documentation, test code, optimization suggestions or a UML diagram in Mermaid syntax; each generation spends DocuWriter credits and is saved, with the code it was made from, in the account's history, which can be listed and read back. Left out for now: Spaces and their documents, search, comment, conversion, multi-file and Swagger generators, repositories, webhooks and Autopilot. Authentication is an API token created under Settings, API Tokens in DocuWriter, sent as a Bearer token.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in DocuWriter.ai.Built from the 6 DocuWriter.ai tools below, on the connection you add once.

What you can do with DocuWriter.ai

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Generation, 2 operations

  • get_generationGet generationGETReads one saved generation by its numeric ID (the generation_id a generator returned): its output, filename, type, dates and the email of the user who ran it (personal data).
  • list_generationsList generationsGETLists the account's saved generations, newest first, with their output, filename, type and the email of the user who ran each (personal data). Filter by type or archived state; 20 per page by default.

Generate code documentation, 1 operation

  • generate_code_documentationGenerate code documentationPOSTUploads one source file's text to DocuWriter and returns Markdown documentation for it. Spends DocuWriter credits; the code and the result are saved in the account history. Runs synchronously, so a large file can take minutes.

Generate code optimization, 1 operation

  • generate_code_optimizationGenerate code optimizationPOSTUploads one source file's text to DocuWriter and returns suggested improvements, optionally under your constraints. Spends DocuWriter credits; the code and the result are saved in the account history. Nothing is applied to your code.

Generate code test, 1 operation

  • generate_code_testsGenerate code testsPOSTUploads one source file's text to DocuWriter and returns test code for the framework and kind of tests you name. Spends DocuWriter credits; the code and the tests are saved in the account history. The tests are not run.

Generate uml diagram, 1 operation

  • generate_uml_diagramGenerate uml diagramPOSTUploads one source file's text to DocuWriter and returns a UML diagram (class, sequence, use case, activity, component, state or object) as Mermaid in Markdown. Spends DocuWriter credits; code and diagram are saved in the account history.

Use DocuWriter.ai from Claude Code, Cursor or Codex

Connect DocuWriter.ai in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its DocuWriter.ai operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect DocuWriter.ai

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect DocuWriter.ai once

    Add your DocuWriter.ai connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

DocuWriter.ai integration FAQ

What can you do with the DocuWriter.ai integration?

LiveContext exposes 6 operations on DocuWriter.ai, covering generation, generate code documentation, generate code optimization and generate code test.

Popular integrations

Browse the whole catalog