puch-mcp-server

jash0803/puch-mcp-server

3.2

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.

Tools
3
Resources
0
Prompts
0

๐Ÿค– 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 or resume.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 URL
  • your_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

ToolDescription
resumeReturns your resume in markdown format
validateValidates your phone number
fetchFetches 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.