# DocsMint [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/HiAi-gg/docsmint  
**GitHub Stars:** 72  
**npm Downloads (last month):** 3249  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/docsmint

## Description
Manage scoped DocsMint documents, folders, categories, search, GraphRAG, and indexing through MCP.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "docsmint": {
    "command": "npx",
    "args": ["--yes","--package","@hiai-gg/docsmint","docsmint-mcp"],
    "env": {
      "HIAI_DOCS_URL": "",
      "HIAI_DOCS_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `HIAI_DOCS_URL`, `HIAI_DOCS_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What DocsMint MCP server does

DocsMint MCP server gives AI agents access to a DocsMint knowledge workspace. Agents can work with documents and their organization, search across stored knowledge, inspect workspace structure, and keep indexed content current. The underlying DocsMint application supports notes, guides, and project documentation written in a visual editor or Markdown, with folders, categories, and tags for organization.

The MCP package exposes 22 focused tools covering 31 underlying operations. It also includes two prompts and three resources. Operations include reading and updating documents, managing folders and categories, searching, using GraphRAG-related retrieval, triggering or working with indexing, and applying bounded batch actions to explicit document IDs.

## How it works

Two connection models are available. DocsMint Cloud provides a hosted Streamable HTTP endpoint at `https://docsmint.com/mcp`; clients connect after selecting a workspace and following the hosted authorization flow. OAuth-capable clients use browser consent, while API-key clients send a DocsMint MCP/API credential as a Bearer token.

For self-hosted deployments, the npm package acts as a stdio bridge to an existing DocsMint API. It does not install the DocsMint application itself. The application, database, search services, queues, and files can instead run through the project's Docker-based self-hosting setup.

Access can be restricted to selected workspaces and categories. Category-scoped credentials support explicit `read`, `edit`, and `write` permissions, allowing an integration to use only the relevant part of a document library. Document edits and metadata changes refresh the search index in the background.

## Setup and configuration

The managed route requires no MCP server installation: sign in to DocsMint Cloud, choose a workspace, and configure the client using the connection instructions. Hosted access follows the selected plan and workspace permissions.

For the self-hosted bridge, install Bun 1.4.0 or later and run the published package with `npx`:

```bash
HIAI_DOCS_URL=https://your-docsmint-api.example \
HIAI_DOCS_API_KEY=your-api-key \
npx --yes --package @hiai-gg/docsmint docsmint-mcp
```

Create the API key in the self-hosted DocsMint browser interface. Set `HIAI_DOCS_URL` to the API base URL and `HIAI_DOCS_API_KEY` to the credential used by the bridge. Docker and Docker Compose v2 are used for the application quickstart.

## Tools and capabilities

- Manage documents within authorized workspaces and categories.
- Create, inspect, organize, and update folders and categories.
- Search by keywords, related meaning, typo-tolerant matching, and graph relationships.
- Use GraphRAG-oriented retrieval across connected knowledge.
- Work with indexing and server-side document filters.
- Apply bounded batch actions to multiple explicit document IDs.
- Inspect workspace items and discover accessible workspace structure.
- Use cursor pagination, scoped totals, previews, and metadata-rich exports where supported.

## Limitations and notes

The self-hosted npm package is a bridge, not the complete DocsMint application or its Cloud OAuth server. Cloud and self-hosted connections are separate deployment paths, and hosted permissions depend on the authenticated workspace and granted scopes. Credentials cannot create or elevate other credentials; credential lifecycle management takes place in the signed-in browser session.

Connections using expiring hosted access tokens may need renewal support or a reconnect after expiration. Existing hosted connections may require reconnection when refresh-token support is enabled. Self-hosted clients authenticate with the configured API key instead.

_Full upstream README: https://allmcps.com/mcp/docsmint/readme_

