PTT MCP Server

v1.0.0Communicationstable

The best PTT MCP server

docker-imagemcp-serverpttpython3
Share:
34
Stars
0
Downloads
0
Weekly
0/5

What is PTT MCP Server?

PTT MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to best ptt mcp server

The best PTT MCP server

This server falls under the Communication and APIs categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • The best PTT MCP server

Use Cases

Query and interact with PTT platform content.
Retrieve posts and user information.
Enable AI analysis of PTT discussions.
PyPtt

Maintainer

LicenseBSD-3-Clause
Languagepython
Versionv1.0.0
UpdatedApr 29, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ptt

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use PTT MCP Server

The PTT MCP Server connects AI assistants to PTT (批踢踢實業坊), Taiwan's largest BBS-style online community. Running as a Docker container, it uses the PyPtt library to authenticate as a PTT user and exposes tools for reading articles, posting, upvoting/downvoting, replying, managing private messages, and querying user and board information. Researchers, journalists, and Taiwanese internet users can use this server to have AI summarise discussions, monitor boards, or help draft PTT content.

Prerequisites

  • Docker installed and running (recommended deployment method)
  • A PTT account (PTT_ID and PTT_PW)
  • Internet access to PTT (ptt.cc)
  • An MCP client such as Claude Desktop
1

Pull the Docker image

The server is published as a pre-built container image on GitHub Container Registry. Pull it to your local Docker daemon.

docker pull ghcr.io/pyptt/ptt_mcp_server:latest
2

Test the server manually

Run the container interactively with your PTT credentials to verify authentication works before wiring into a client.

docker run -i --rm -e PTT_ID=YOUR_PTT_ID -e PTT_PW=YOUR_PTT_PASSWORD ghcr.io/pyptt/ptt_mcp_server:latest
3

Add the server to Claude Desktop

Edit claude_desktop_config.json and add the mcpServers block shown below. The server passes credentials via environment variables to the Docker container.

4

Restart Claude Desktop

Quit and reopen Claude Desktop. The PTT server will start automatically when you send a request that requires it.

PTT MCP Server Examples

Client configuration

Add to claude_desktop_config.json. The Docker command passes PTT_ID and PTT_PW through to the container's environment.

{
  "mcpServers": {
    "PTT": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "PTT_ID",
        "-e", "PTT_PW",
        "ghcr.io/pyptt/ptt_mcp_server:latest"
      ],
      "env": {
        "PTT_ID": "YOUR_PTT_ID",
        "PTT_PW": "YOUR_PTT_PASSWORD"
      }
    }
  }
}

Prompts to try

Queries in English and Traditional Chinese that exercise the PTT server's capabilities.

- "Log into PTT and show me the top 10 posts in the Gossiping board"
- "Read the latest 20 articles in the Tech_Job board and summarise the salary discussion"
- "Check my PTT private messages and tell me what they say"
- "Post a reply to article ID M.123456789.A.ABC in Baseball board saying '推'"
- "What is my P-coin balance?"

Troubleshooting PTT MCP Server

Docker container exits immediately with authentication failure

Verify PTT_ID and PTT_PW are correct and that your account is not locked. PTT blocks accounts that fail login too many times. Try logging in at https://www.ptt.cc/bbs/ first.

Claude Desktop cannot find the 'docker' command

The full path to the Docker binary may be needed. Find it with 'which docker' and use the absolute path (e.g. /usr/local/bin/docker) as the command value in the config.

Server connects but tool calls return garbled text

PTT uses Big5 or UTF-8 encoding depending on the board. The PyPtt library handles encoding conversion, but if you see garbled output ensure you are using the latest image: 'docker pull ghcr.io/pyptt/ptt_mcp_server:latest'.

Frequently Asked Questions about PTT MCP Server

What is PTT MCP Server?

PTT MCP Server is a Model Context Protocol (MCP) server that best ptt mcp server It connects AI assistants to external tools and data sources through a standardized interface.

How do I install PTT MCP Server?

Follow the installation instructions on the PTT MCP Server GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with PTT MCP Server?

PTT MCP Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is PTT MCP Server free to use?

Yes, PTT MCP Server is open source and available under the BSD-3-Clause license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ptt": { "command": "npx", "args": ["-y", "ptt"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use PTT MCP Server?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides