Skip to main content
Glama

ARL-DMS MCP Server

通过 stdio JSON-RPC 2.0 将 AKIJ Resources Document Management System (DMS) 暴露给 MCP 客户端 (opencode、Claude 等)。

提供的数据源

#

来源

类型

内容

1

ERP (DWH)

MSSQL

设计上只读(通过 AkijMCP 查询,而非此处)

2

Risk database

PostgreSQL (Azure)

8,288 项风险 / 16 个类别 / 198 个 SBU / 8,288 项控制

3

One Goal One Team (Drive root)

Google Drive

1,124 个文件 / 187 个文件夹

4

Risk Team - All Policies and SOP

Google Drive

244 份文档(用户提供的链接)

5

Legal Data

Google Drive

686 个文件 / 235 个文件夹

6

Land

Google Drive

210 个文件 / 50 个文件夹

7

ESG MLOD SSOT sheets

Google Sheets

来自 SSOT 1 的 11,636 个链接(+ SSOT 2/3 部分)

8

SBU submission sheets

Google Sheets

127 个链接(32 个工作表中有 5 个公开;其余私有/401)

9

Bangladesh Laws (BDLaws portal)

Links

20 部核心商业/公司法案

索引:14,535 条(12,786 个文件 / 1,749 个文件夹),位于 ~/.agents/skills/ARL-DMS/library/tree.json。

Related MCP server: google-drive-rag-mcp

工具

  • dms_search(query, source?, limit) — 在所有仓库中搜索文档

  • dms_list(source?, limit) — 列出仓库中的文件

  • dms_details(id | name) — 详情卡片 + 三层合规映射

  • dms_fetch(id, name?) — 从公开 Drive 获取文档文本

  • dms_risk_lookup(query?, category?, sbu?, limit) — 实时 PostgreSQL 风险登记册

  • dms_bdlaws_act(name?) — 20 部法案的官方 bdlaws 链接 + 元数据

  • dms_stats() — 清单统计

运行

node server-arl-dms.js

环境变量(通过 MCP 服务器环境块覆盖):

  • RISK_PG_HOST / RISK_PG_PORT / RISK_PG_DATABASE / RISK_PG_USER / RISK_PG_PASSWORD — PostgreSQL 风险登记册

  • ARL_DMS_SKILL_DIR — ARL-DMS 技能库的路径(默认为 ~/.agents/skills/ARL-DMS)

  • ARL_DMS_TREE_PATH / ARL_DMS_CONFIG_PATH — 显式索引/配置路径

注册 (opencode)

"ARL-DMS": {
  "type": "local",
  "command": ["node", "/Users/humaninside/Desktop/ESG_SUS_Agents_Skills_MCPs/MCPs/arl-dms/server-arl-dms.js"],
  "enabled": true,
  "environment": {
    "RISK_PG_HOST": "...", "RISK_PG_PORT": "5432",
    "RISK_PG_DATABASE": "risk_register",
    "RISK_PG_USER": "...", "RISK_PG_PASSWORD": "...",
    "ARL_DMS_SKILL_DIR": "/Users/humaninside/.agents/skills/ARL-DMS"
  }
}

注意

  • 设计上只读。绝不写入 ERP (DWH) 或 PostgreSQL。

  • 28 个私有 SBU 工作表(401)尚未建立索引 — 请将其分享为“任何拥有 链接的人可查看”,然后重新运行工作表提取。

  • 凭证通过 MCP 环境块提供,而非技能配置。

Available Tools

13 tools
dms_bdlaws_actA

Return the official Bangladesh law link and metadata for the 20 registered core business/corporate acts (Companies Act, Labour Act, VAT Act, etc.) from bdlaws.minlaw.gov.bd.

Inputs: name.

dms_detailsA

Get a details card for one document by drive id or name: name, id, URL, path, doc type, source, and the 3-tier compliance mapping scaffold.

Inputs: id, name.

dms_fetchA

Fetch the text content of a publicly shared Google Drive document (docx/gdoc/xlsx/gslides/pdf attempts) by drive id. Returns up to 20k chars.

Inputs: id (required), name.

dms_listA

List documents in a DMS source repository (drive, risk-team, legal-data, land, sheet, bdlaws) with id, path, doc type and url.

Inputs: limit, source.

dms_risk_lookupA

Query the Bangladesh legal/compliance risk register (PostgreSQL, 8,288 risks) by keyword, category, or SBU. Returns risk code, title, scores, ratings, status.

Inputs: sbu, limit, query, category.

dms_statsA

Return DMS inventory statistics: total files/folders, counts by source and document type, registered sources, BD laws count.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool targets a distinct entity or action: document search vs. listing vs. details vs. fetch, plus separate registers for risks, controls, requirements, etc. The descriptions clearly differentiate them.

    Naming Consistency4/5

    All tools use lowercase with underscores and the 'dms_' prefix. Some are verb-based (search, list, fetch) while others are noun-based (details, stats), showing minor inconsistency but overall predictable.

    Tool Count5/5

    13 tools cover both document management and legal compliance without being overwhelming. Each tool serves a clear purpose, well-scoped for the server's domain.

    Completeness5/5

    The tool set covers searching, listing, retrieving documents, and querying multiple legal/compliance registers (risks, controls, requirements, documents). No obvious gaps for a read-only compliance DMS.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for indexing, semantic search, and generation of multi-format documents. Exposes 13 tools over JSON-RPC 2.0 so an LLM can search your local PDF, Excel, and Word files, and create or edit Excel and Word documents.
      AGPL 3.0
    • A
      license
      A
      quality
      D
      maintenance
      A local MCP server that enables LLMs to securely search and read files within designated Google Drive folders. Supports Google Docs, Google Sheets, PDFs, and plain text with strict folder-scoping via service account authentication.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server that exposes a configured Google Drive folder to MCP clients, enabling them to list, search, and extract content from various file formats like Excel, CSV, PDF, DOCX, and images.
      ISC
    • F
      license
      B
      quality
      C
      maintenance
      Enables any MCP-compatible client to perform filesystem operations — reading, listing, writing, searching, watching directories, and batch processing files — over JSON-RPC 2.0 stdio transport. Includes resource discovery, metrics tracking, and security controls such as allowed roots, size limits, and format allowlists, with a LangGraph agent that accesses files exclusively through MCP.
      6
      -