jash0803/puch-mcp-server
If you are the rightful owner of puch-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Puch AI MCP Server is designed to facilitate seamless integration with Puch AI by validating application keys, phone numbers, and serving resumes in markdown format for use with LLMs.
๐ค Puch AI MCP Server
This project sets up a Model Context Protocol (MCP) server to connect with Puch AI. It validates your application key, phone number, and serves your resume in markdown format for use with LLMs.
๐ Features
- โ Authentication via Puch Application Key
- ๐ Resume Tool (converts
.pdf
or.md
to markdown) - ๐ URL Fetch Tool (simplifies or returns raw HTML)
- โ๏ธ Phone Number Validator
- ๐ง LLM-ready content formatting
๐ Project Structure
.
โโโ mcp_server.py # Main MCP server
โโโ resume.pdf # Your resume (can be .md or .pdf)
โโโ venv/ # Virtual environment (recommended)
โโโ README.md # You're reading it!
โ๏ธ Setup Instructions
1. Clone or Copy the Project
git clone <this-repo>
cd <project-folder>
2. Create a Virtual Environment
python -m venv venv
source venv/bin/activate # macOS/Linux
venv\Scripts\activate # Windows
3. Install Dependencies
pip install fastmcp pydantic openai readabilipy markdownify httpx pymupdf
๐ง Configuration
Edit mcp_server.py
:
-
Replace:
TOKEN = "your_actual_application_key" MY_NUMBER = "91{your phone number}"
with your actual application key and phone number (no
+
sign). -
Put your
resume.pdf
orresume.md
in the same directory.
๐พ Running the Server
python mcp_server.py
This will start your MCP server locally at http://localhost:8085
.
๐ Make It Public with Ngrok
Install ngrok (if not already):
npm install -g ngrok # or brew install ngrok / download from ngrok.com
Start a tunnel:
ngrok http 8085
You'll get a public URL like:
https://abc123.ngrok.io
๐ค Connect with Puch
In your Puch DM/chat interface, run this command:
/mcp connect https://abc123.ngrok.io/mcp your_application_key
Replace:
abc123.ngrok.io
with your ngrok URLyour_application_key
with your real key
๐ Resume Tool Requirements
- Accepts a
.md
or.pdf
file - Converts content to raw markdown/text
- Returns plain LLM-friendly string
- Automatically included in server startup
๐งช Available MCP Tools
Tool | Description |
---|---|
resume | Returns your resume in markdown format |
validate | Validates your phone number |
fetch | Fetches and simplifies webpage content by URL |
โ Example Command to Fetch a URL
{
"url": "https://example.com",
"raw": false,
"max_length": 3000
}
๐ Deactivate Virtual Environment
deactivate
๐ License
This project is part of the Puch AI application process and is intended for personal use.
๐ Need Help?
If you run into issues, feel free to ping in Puch or check with the original instructions.