MCP server for document search and retrieval

MCP server for document search and retrieval

mcp-document-server•byomerisra6

An MCP server that provides document search and creation tools backed by local JSON storage or a Confluence workspace.

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

WHAT IT DOES

  • •Implements an MCP server exposing a search tool that finds documents by keyword.
  • •Supports creating new documents through a create_document tool.
  • •Stores documents locally on the filesystem using a JSON metadata file, with Markdown and HTML content support.
  • •Searches Confluence workspaces via the Confluence REST API using CQL.

BEST FOR

  • •Users of Cursor or other MCP clients who want AI-driven document search over local or Confluence content.
  • •Teams that need to search and create pages in a Confluence workspace.
  • •Developers wanting to extend document retrieval by implementing the DocumentService interface for new backends.

ABOUT MCP-DOCUMENT-SERVER

MCP server for document search and retrieval is cataloged as an MCP server attributed to omerisra6. An MCP server that provides document search and creation tools backed by local JSON storage or a Confluence workspace. 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: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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 MCP server for document search and retrieval 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

What document backends does this MCP server support out of the box?

It supports local filesystem storage with JSON metadata and Confluence workspace integration.

How does the server authenticate with Confluence?

It uses Basic Authentication with your email and API token sent in the Authorization header.

Upstream README

View this exact version on GitHub

README.md · 2e3fce029707 · Fetched 2026-11-13 12:49:40 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Document Server

A simple server implementing the Model Context Protocol (MCP) for document search and retrieval.

Features

  • Document storage and retrieval using MCP
  • Semantic search capabilities
  • Compatible with Cursor and other MCP clients
  • Pluggable document service architecture:
    • Local document storage with JSON
    • Confluence integration for searching workspace documents
  • Support for HTML

Setup

  1. Install dependencies:
npm install
  1. Build the TypeScript code:
npm run build
  1. Start the server:
npm run stdio

Using with Cursor

This server is designed to be used with Cursor. You can search for documents using the search tool with a keyword parameter.

Example:

search({
  keyword: "data"
})

Creating Documents

You can create new documents directly from Cursor:

create_document({
  title: "New Confluence Page",
  content: "This is a page created in Confluence",
  serviceId: "confluence"
})

Document Services

The architecture is based on pluggable document services. Each service implements a common interface for searching and retrieving documents.

Local Storage Service

The local storage service stores documents on the local filesystem:

  • Documents are stored in data/documents/ directory (created automatically when needed)
  • Metadata is stored in data/documents.json (created automatically when needed)
  • Supports both Markdown and HTML formats for document content

Confluence Service

The Confluence service searches for documents in your Confluence workspace using the Confluence REST API with CQL (Confluence Query Language) for powerful searches. To enable this feature, set the following environment variables:

# Confluence configuration
export CONFLUENCE_BASE_URL="https://your-domain.atlassian.net/wiki"
export CONFLUENCE_USERNAME="your-email@example.com"
export CONFLUENCE_API_TOKEN="your-api-token"
export CONFLUENCE_SPACE="your-space-key"

You can set these variables before starting the server:

CONFLUENCE_BASE_URL="https://your-domain.atlassian.net/wiki" \
CONFLUENCE_USERNAME="your-email@example.com" \
CONFLUENCE_API_TOKEN="your-api-token" \
CONFLUENCE_SPACE="your-space-key" \
npm run stdio

Authentication Details

The service uses Basic Authentication with your email and API token. The credentials are sent in the Authorization header as a Base64-encoded string:

Authorization: Basic <base64-encoded-email:token>

Managing Documents

The local storage service automatically creates a data/documents directory and data/documents.json file on first use. These files are not included in the repository and will be generated as needed.

Extending the Server

Adding New Document Services

The MCP server is designed with extensibility in mind. You can easily add new document services by implementing the DocumentService interface:

interface DocumentService {
  id: string;
  getByKeywords: (keywords: string[]) => Promise<Document[]>;
  createDocument?: (title: string, content: string) => Promise<Document>;
}

To add a new service:

  1. Create a new directory in src/services/ for your service
  2. Implement the DocumentService interface
  3. Register your service in src/services/index.ts

Some potential document services to implement:

  • Google Drive: Connect to Google Drive API for document storage and retrieval
  • OneDrive/SharePoint: Integrate with Microsoft's document services
  • Notion: Add Notion workspace support
  • GitHub Wiki: Connect to GitHub wikis for documentation
  • Custom Database: Store documents in SQL or NoSQL databases

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 MCP server for document search and retrieval 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/mcp-document-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

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

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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