Document Archive MCP Server

Document Archive MCP Server

document-archive-mcp-server•bysemo94

A Node.js and TypeScript MCP server that provides tools, resources, and prompts for searching and querying a document archive.

License: MIT•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Offers tools to retrieve documents metadata, check query relevance, analyze intent, and retrieve relevant passages from documents.
  • •Exposes resources listing all document metadata and metadata for a specific document by ID.
  • •Provides a document Q&A prompt template for answering questions about documents.
  • •Supports both stdio and SSE transport methods.

BEST FOR

  • •Answering questions across a collection of archived documents.
  • •Retrieving relevant passages from selected documents given a user query.
  • •Inspecting document metadata by listing all documents or a specific document by ID.

ABOUT DOCUMENT-ARCHIVE-MCP-SERVER

Document Archive MCP Server is cataloged as an MCP server attributed to semo94. A Node.js and TypeScript MCP server that provides tools, resources, and prompts for searching and querying a document archive. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Document Archive MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How can the server be run for web-based usage?

It can use SSE transport, starting on port 3000 by default, which can be changed via the PORT environment variable or a port argument.

Can tools, resources, and prompts be enabled or disabled?

Yes, each can be toggled with the ENABLE_TOOLS, ENABLE_RESOURCES, and ENABLE_PROMPTS environment variables, all enabled by default.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 66e4b3be83da · 采集于 2026-11-13 11:37:26 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server

A Model Context Protocol (MCP) server implementation using Node.js and TypeScript.

What is MCP?

The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to LLMs (Large Language Models). It allows for seamless communication between AI applications and various data sources and tools.

Features

This server implementation provides:

  • Cross-document search tool for retrieving relevant information
  • Document management with document listing and metadata resources
  • Document Q&A prompt template for answering questions about documents
  • Support for both stdio and SSE transport methods
  • Comprehensive logging system
  • Configuration via environment variables
  • Readiness management to ensure all services are initialized before accepting requests
  • Graceful shutdown handling for server termination

System Architecture

System Architecture

Getting Started

Prerequisites

  • Node.js 22+ and npm

Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build

Running the Server

Using stdio (for integration with MCP clients)

npm start

Using SSE (for web-based usage)

npm start -- --transport=sse

The server will start on port 3000 by default. You can change this by setting the PORT environment variable or using the port argument:

npm start -- --transport=sse --port=8080

Or:

PORT=8080 npm start -- --transport=sse

API

Tools

  • getDocumentsMetadata: Retrieves metadata of available documents

    • Parameters:
      • query (string): The user's original query or question
  • checkQueryRelevance: Assesses relevant documents and returns instructions for intent analysis

    • Parameters:
      • query (string): The user's original query or question
      • relevantDocIds (string): Comma-separated list of document IDs that appear relevant to the query
  • analyzeIntent: Takes intent classification and returns instructions for context retrieval

    • Parameters:
      • query (string): The user's original query or question
      • intentType (string): The classified intent type of the query
  • retrieveContext: Retrieves relevant passages from selected documents

    • Parameters:
      • query (string): The user's original query or question
      • intentType (string): The classified intent type of the query
      • relevantDocIds (string): Comma-separated list of document IDs to retrieve context from

Resources

  • documents://metadata: Returns a list of all document metadata
  • documents://metadata/{id}: Returns metadata for a specific document by ID

Prompts

  • document_qa: Q&A about document content
    • Parameters:
      • question (string): The user's question about the documents
      • relevantDocIds (string): Comma-separated list of relevant document IDs (from the archive)
      • intentType (string): The intent of the question (select from dropdown)

Configuration

The server can be configured through environment variables:

  • SERVER_NAME: Name of the server (default: "document-archive-mcp-server")
  • SERVER_VERSION: Server version (default: "1.0.0")
  • ENABLE_RESOURCES: Enable/disable resources (default: true)
  • ENABLE_TOOLS: Enable/disable tools (default: true)
  • ENABLE_PROMPTS: Enable/disable prompts (default: true)
  • PORT: Default port for SSE transport (default: 3000)
  • TRANSPORT_TYPE: Default transport type (default: "stdio")
  • LOG_LEVEL: Log level (default: "info")
  • LOG_DIR: Directory for log files (default: "logs")
  • LOG_FILE: Main log file name (default: "combined.log")
  • ERROR_LOG_FILE: Error log file name (default: "error.log")
  • ENABLE_FILE_LOGGING: Enable file logging (default: true in production, false in development)
  • DOCUMENT_DIRECTORIES: Comma-separated list of directories to watch for documents
  • DOCUMENT_CHUNK_SIZE: Size of document chunks for processing (default: 1000)
  • DOCUMENT_CHUNK_OVERLAP: Overlap size for document chunks (default: 200)
  • EMBEDDING_MODEL: Embedding model to use (default: 'sentence-transformers/all-MiniLM-L6-v2')
  • LANCEDB_PATH: Path to LanceDB database (default: './vectordb')

Development

To run the server in development mode with auto-reloading:

npm run dev

For SSE transport in development mode:

npm run dev -- --transport=sse

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Document Archive MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/document-archive-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation