Skip to main content

MCP server exposing a DocuWare DMS to LLM-based agents

Project description

docuware-mcp

A Model Context Protocol (MCP) server that exposes a DocuWare DMS to LLM-based agents through a database-style API.

This is an independent project with no affiliation to DocuWare GmbH.

Configuration

Credentials are read from the docuware-client standard environment variables:

DW_URL=https://dms.example.com
DW_USERNAME=service_account
DW_PASSWORD=<secret>
DW_ORG=<org>

Alternatively, point DW_CREDENTIALS_FILE at a JSON file — useful for switching between test and production systems, or for keeping secrets out of shell history:

DW_CREDENTIALS_FILE=/path/to/credentials.json

The file uses the same keys as the environment variables:

{
    "url": "https://dms.example.com",
    "username": "service_account",
    "password": "<secret>",
    "organization": "Acme GmbH"
}

organization is optional if the service account belongs to a single organization. Make sure the file is not world-readable (chmod 600).

For internal DocuWare installations with self-signed or private-CA certificates, TLS verification can be disabled with DW_VERIFY_CERT=false. Do not use this against production systems — it disables protection against man-in-the-middle attacks.

OAuth2 requires DocuWare 7.10 or later.

Use with an MCP client

docuware-mcp is a stdio-based MCP server: an MCP client (Claude Desktop, Claude Code, …) launches it as a subprocess and talks to it over stdin/stdout. You don't run it yourself — the client does.

The recommended install path is via uv, because uvx will fetch and run the package on demand without a global install. Install uv once (brew install uv on macOS, curl -LsSf https://astral.sh/uv/install.sh | sh on Linux, irm https://astral.sh/uv/install.ps1 | iex in PowerShell on Windows), then add this entry to your client's MCP config:

{
  "mcpServers": {
    "docuware": {
      "command": "uvx",
      "args": ["docuware-mcp"],
      "env": {
        "DW_CREDENTIALS_FILE": "/path/to/credentials.json"
      }
    }
  }
}

The config file lives at:

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows)
  • Claude Code: .mcp.json in your project root (or run claude mcp add docuware -- uvx docuware-mcp)

Restart the client after editing. The docuware server should then appear in the available-tools list, exposing list_archives, describe_archive, search, get_document, and status.

Running directly (for debugging)

If you've cloned this repo and want to poke at the server with the MCP Inspector or call it from a script:

docuware-mcp

Speaks MCP over stdio — same protocol the clients above use.

License

BSD-3-Clause.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docuware_mcp-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docuware_mcp-0.1.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file docuware_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: docuware_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for docuware_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c7db402f366f7efcd976e4ce150c144b39c44fa2994307b20e90f81a85dae74f
MD5 919cdf0d191d113bc228fec8a7bb3b90
BLAKE2b-256 84314ea167567fc582b2e65822ad2169d170d2383c15e5fe63c0318cc10619fd

See more details on using hashes here.

File details

Details for the file docuware_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: docuware_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for docuware_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f577b2dd4c7c11ad89746ec8ff13abe2ea423118a5c1f8ee1d53a011db7e673
MD5 688f1cf9c0c990bbcd6af2f09a0ddc69
BLAKE2b-256 dc9e8ffec6d5ec43767c78e15aab5dedca83371f9a4a86188411d00534a4414b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page