README.md•2.34 kB
# Document360 MCP Server
A very simple Model Context Protocol (MCP) server for accessing Document360 knowledge base content via GET operations. Built with [FastMCP](https://gofastmcp.com/).
This MCP is intended to be the bare minimun required to be able to find and read pages in Document360's knowledge base.
<a href="https://glama.ai/mcp/servers/@druellan/document360-mcp">
<img width="380" height="200" src="https://glama.ai/mcp/servers/@druellan/document360-mcp/badge" alt="Document360 MCP server" />
</a>
## 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:
```bash
pip install -r requirements.txt
```
or using a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate.bat`
pip install -r requirements.txt
```
or using UV
```bash
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:
```json
{
"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:
```bash
python server.py
```
Or with UV:
```bash
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`, `page_id`
- **get_article**
Parameters: `article_id`
- **search_in_project**
Parameters: `project_version_id`
- **list_project_versions**
Parameters: none
- **get_category**
Parameters: `category_id`
## License
MIT