Document MCP Server
Provides tools for managing and editing documents, including a dedicated prompt template for formatting document content into Markdown.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Document MCP ServerList all documents and read the content of deposition.md"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Document MCP Server
A simple MCP (Model Context Protocol) server and MCP client for managing documents using FastMCP.
Features
Tools:
read_doc_contents: Read the contents of a document.edit_document: Edit a document by replacing text.return all the docs: List all document IDs.
Resources:
docs://documents: JSON list of document IDs.docs://documents/{doc_id}: Plain text content of a specific document.
Prompts:
format_to_md: Prompt template for formatting documents to Markdown.
Related MCP server: DevDocs MCP
Prerequisites
Python 3.12 or higher
uv (Python package manager and project manager)
Installation
Ensure you have Python 3.12+ installed.
Install uv if not already installed:
pip install uvClone or download this project to your local machine.
Navigate to the project directory:
cd "path/to/mcp server"Create a virtual environment and install dependencies:
uv sync
Running the Server
To run the MCP server in development mode:
uv run mcp dev mcp_server.pyThe server runs on stdio transport, suitable for MCP clients.
Testing the Functionality
Test client is provided in mcp_client.py to verify the server works.
To test:
In one terminal, start the server:
uv run python mcp_server.pyIn another terminal, run the test client:
uv run mcp_client.py
This will connect to the server and list the available tools, printing them to the console.
For more advanced testing, you can modify mcp_client.py to call specific tools, read resources, or get prompts.
Example: To read a document content, you could add code like:
# Inside the async main function
doc_content = await client.call_tool("read_doc_contents", {"doc_id": "deposition.md"})
print(doc_content)Project Structure
mcp_server.py: The main MCP server implementation.mcp_client.py: A test client for interacting with the server.pyproject.toml: Project configuration and dependencies.
Notes
The server uses an in-memory dictionary for documents. Changes are not persisted.
Ensure the virtual environment is activated when running Python commands.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol implementation that enables AI assistants to interact with markdown documentation files, providing capabilities for document management, metadata handling, search, and documentation health analysis.Last updated149958MIT
- Alicense-qualityDmaintenanceA Model Context Protocol implementation that enables AI-powered access to documentation resources, featuring URI-based navigation, template matching, and structured documentation management.Last updated9MIT
- Alicense-qualityDmaintenanceProvides direct access to local documentation files through simple search and overview tools, enabling LLMs to query project-specific markdown documentation without requiring vector databases or RAG pipelines.Last updatedMIT
- Alicense-qualityDmaintenanceProvides a standardized interface for interacting with Google Docs through the Model Context Protocol, enabling document management and content operations via natural language.Last updated2MIT
Related MCP Connectors
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mparth14/MCP-anthropic'
If you have feedback or need assistance with the MCP directory API, please join our Discord server