mcp_poc
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., "@mcp_pocconvert sample.pdf to markdown"
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.
mcp_poc
A PDF-to-Markdown converter built with the Model-View-Controller (MVC) pattern using the Model Context Protocol (MCP).
Architecture
The project follows a clean separation of concerns across three layers, connected via MCP's stdio transport.
flowchart TB
subgraph Client["Client Layer"]
C[mcp_client.py<br/>Stdio Client Connector]
end
subgraph Server["Server Layer (Controller)"]
S[mcp_server.py<br/>FastMCP Server]
T[convert_pdf Tool]
P[summarize_markdown Prompt]
end
subgraph Model["Model Layer"]
M[PyMuPDF / fitz<br/>PDF Text Extraction]
end
subgraph View["View Layer"]
V[Markdown Formatter<br/>## Page N]
end
C -->|stdio JSON-RPC| S
S --> T
T --> M
M --> V
V --> T
T --> S
S -->|Tool Result| CFile Responsibilities
File | Role | Description |
| Controller | Exposes |
| Connector | Manages the stdio client session used to call the server's tools from external processes or LLMs. |
| Entry Point | Can run the server in stdio mode ( |
| Test | End-to-end integration test that launches the server via stdio and verifies tool execution. |
Related MCP server: PDF2MD MCP Server
Quick Start
1. Install Dependencies
python -m venv venv
# Windows
.\venv\Scripts\pip install -r requirements.txt
# macOS / Linux
source venv/bin/activate && pip install -r requirements.txt2. Run a Direct Conversion (Local Test)
.\venv\Scripts\python main.py data/sample.pdf3. Run the MCP Server (for Claude / IDE integration)
.\venv\Scripts\python main.py --server4. Run Integration Test (Client → Server)
.\venv\Scripts\python test_integration.pyProject Structure
mcp_poc/
├── .env # Environment configuration
├── .gitignore # Git ignore rules
├── README.md # This file
├── main.py # Application entry point
├── mcp_client.py # MCP stdio client connector
├── mcp_server.py # MCP server with tools & prompts
├── requirements.txt # Python dependencies
├── test_integration.py # Integration test
└── data/
└── sample.pdf # Test PDFHow It Works
Client (
mcp_client.py) spawns the server as a subprocess and communicates over stdio.Server (
mcp_server.py) receives aconvert_pdftool call.Model (
fitz/ PyMuPDF) opens the PDF and extracts raw text page by page.View formats the extracted text as Markdown with
## Page Nheaders.The formatted Markdown is returned to the client via the MCP protocol.
Extending
OCR Support: Swap the Model layer to use
marker-pdfor an external OCR API for scanned documents.Additional Tools: Add more
@mcp.tool()definitions inmcp_server.pyfor image extraction, metadata parsing, etc.Alternative Transports: Replace
stdiowithsseorhttpinmcp.run(...)for remote deployments.
This server cannot be installed
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
- AlicenseAqualityFmaintenanceAn MCP server that exports PDF documents to markdown format optimized for LLM processing.Last updated11BSD 3-Clause
- AlicenseAqualityDmaintenanceAn MCP server that converts PDF files to Markdown format using AI sampling capabilities, supporting both local files and URLs with incremental conversion features.Last updated11MIT
- FlicenseAqualityDmaintenanceAn MCP server that enables bidirectional conversion between Markdown and PDF formats, including text extraction from specific pages and metadata retrieval. It supports customizable PDF output sizes and document processing through standard MCP tools.Last updated51
- Flicense-qualityDmaintenanceAn MCP server that downloads PDF files from URLs and converts them to Markdown format. Supports custom file names and directories, with security measures like SSRF protection.Last updated
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
PDF accessibility checks (veraPDF PDF/UA-1), auto-fix and Markdown conversion. EU-hosted.
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/rifaterdemsahin/mcp_poc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server