MCP Document Server
by Omerisra6
A simple server implementing the Model Context Protocol (MCP) for document search and retrieval. It allows for document storage, retrieval, and semantic search capabilities.
Last updated: N/A
What is MCP Document Server?
The MCP Document Server is a server that implements the Model Context Protocol (MCP) for document search and retrieval. It provides a pluggable architecture for connecting to various document services.
How to use MCP Document Server?
To use the server, first install dependencies using npm install, then build the TypeScript code with npm run build, and finally start the server using npm run stdio. The server is designed to be used with Cursor, where you can search for documents using the search tool with a keyword parameter or create documents using the create_document function.
Key features of MCP Document Server
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
Use cases of MCP Document Server
Searching for documents within Cursor using keywords
Creating new documents directly from Cursor
Integrating with Confluence to search for documents in a workspace
Storing and retrieving documents locally using JSON
Extending the server with new document services like Google Drive or Notion
FAQ from MCP Document Server
How do I install the server?
How do I install the server?
Run npm install to install dependencies.
How do I build the server?
How do I build the server?
Run npm run build to build the TypeScript code.
How do I start the server?
How do I start the server?
Run npm run stdio to start the server.
How do I use the Confluence service?
How do I use the Confluence service?
Set the CONFLUENCE_BASE_URL, CONFLUENCE_USERNAME, CONFLUENCE_API_TOKEN, and CONFLUENCE_SPACE environment variables.
How do I add a new document service?
How do I add a new document service?
Implement the DocumentService interface and register your service in src/services/index.ts.