Skip to content

A very simple Model Context Protocol (MCP) server for accessing Document360 knowledge base content via GET operations.

License

Notifications You must be signed in to change notification settings

druellan/document360-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Document360 MCP Server

A very simple Model Context Protocol (MCP) server for accessing Document360 knowledge base content via GET operations. Built with FastMCP. This MCP is intended to be the bare minimun required to be able to find and read pages in Document360's knowledge base.

Document360 MCP server

Features

  • Get Category by ID
  • Get Category Page Content by ID
  • Get Article by ID
  • Search in Project Versions
  • List Project Versions

Requirements

  • Python 3.8+
  • Document360 API key

Installation

Clone or download this repository, then install dependencies:

pip install -r requirements.txt

or using a virtual environment:

python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate.bat`
pip install -r requirements.txt

or using UV

uv venv
uv pip install -r requirements.txt

Configuration

Set your Document360 API key and other environment variables. You can do this in your shell or directly in the mcp-config.json file:

{
  "mcpServers": {
    "document360": {
      "command": "uv",
      "args": [
      "--directory", "/path/to/document360-mcp/folder", "run" ,"server.py"
      ],
      "env": {
        "DOCUMENT360_API_KEY": "your_api_key_here",
        "DOCUMENT360_BASE_URL": "https://apihub.document360.io"
      }
    }
  }
}

Note: the default base URL is https://apihub.document360.io, but some accounts require to use the regional base url https://apihub.us.document360.io.

Usage

Run the server directly:

python server.py

Or with UV:

uv run server.py

Exposed MCP Tools

Although Document360 exposes more granular endpoints, these are sufficient for a simple consumption workflow: models can discover project versions, enumerate categories and pages, and retrieve full page contents.

  • get_category_page_content Parameters:

    • category_id (UUID string): Document360 category ID
    • page_id (UUID string): Document360 page ID
  • get_article Parameters:

    • article_id (UUID string): Document360 article ID
  • search_in_project Parameters:

    • project_version_id (UUID string): Document360 project version ID
  • list_project_versions Parameters: none

  • get_category Parameters:

    • category_id (UUID string): Document360 category ID

License

MIT

About

A very simple Model Context Protocol (MCP) server for accessing Document360 knowledge base content via GET operations.

Resources

License

Stars

Watchers

Forks

Languages