ARL-DMS MCP Server
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 toolsdms_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_legal_controlsB
Query the Compliance Control Library (63 controls) from the Legal Compliance Workbook: control description, category, P/D/C, effectiveness, test method.
Inputs: limit, compliance_id.
dms_legal_documentsB
Query the Documents & Records Register (63 records) from the Legal Compliance Workbook: required evidence, retention, storage, evidence class.
Inputs: limit, compliance_id.
dms_legal_kpiA
Return compliance KPI/KRI definitions and Lookups (master data) from the Legal Compliance Workbook.
Inputs: no named parameters.
dms_legal_registerA
Query the AKIJ Bangladesh Legal Universe (80 instruments) from the Legal Compliance Master Workbook: laws, domains, instrument type, regulator, official source URL.
Inputs: limit, query, domain, instrument_type.
dms_legal_requirementC
Query the Master Compliance Register (63 requirements, 119 fields) from the Legal Compliance Workbook: legal basis, obligation, applicability, owner, risk, evidence, compliance status.
Inputs: id, limit, query.
dms_legal_riskB
Query the Compliance Risk Register (63 risks) from the Legal Compliance Workbook: risk statement, likelihood/impact, inherent/residual score, rating, owner, treatment.
Inputs: sbu, limit, query, min_rating.
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_searchA
Search the ARL-DMS document library (14,535 indexed files across Drive root, Risk Team, Legal Data, Land, ESG sheets, SBU sheets, and BD Laws). Returns matching documents with name, path, drive id, url, doc type and source.
Inputs: query (required), limit, source.
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
Scored across 13 tools
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.
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.
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.
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
Related MCP Connectors
Read-only MCP server over the developer docs for the portfolio's JSON API, MCP, A2A and NLWeb.
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Team docs served to AI agents over MCP - search, Markdown reads, version pinning, read audit.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP 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
- AlicenseAqualityDmaintenanceA 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.4MIT
- AlicenseNot gradedqualityDmaintenanceA 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
- FlicenseBqualityCmaintenanceEnables 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-