wxapkg-mcp

wxapkg-mcp

MCP server for local .wxapkg inspection, decryption, and extraction. Enables listing WeChat Mini Program packages and decrypting/extracting them.

Category
Visit Server

README

wxapkg-mcp

Small MCP server for local .wxapkg inspection, decryption, and extraction.

This project was generated entirely by AI.

Use only on packages you own or are authorized to analyze. Do not commit or redistribute third-party Mini Program packages or extracted source code.

By default on Windows, the tool searches:

%APPDATA%\Tencent\xwechat\radium\users\*\applet\packages

That keeps user-specific IDs such as 8e7b2... out of the code and lets each teammate run it on their own machine.

Install

cd $env:USERPROFILE\Desktop\wxapkg-mcp
python -m venv .venv
.\.venv\Scripts\python -m pip install -e .

Project Layout

wxapkg-mcp/
|-- README.md
|-- pyproject.toml
|-- setup.py
|-- requirements.txt
|-- src/
|   `-- wxapkg_mcp/
|       |-- __init__.py
|       |-- main.py
|       |-- server.py
|       |-- cli.py
|       `-- core.py
|-- tests/
|   `-- test_core.py
`-- .gitignore

CLI

.\.venv\Scripts\wxapkg-tool roots
.\.venv\Scripts\wxapkg-tool apps
.\.venv\Scripts\wxapkg-tool appid wx87ceadd15865a6fb "C:\out\wx87ceadd15865a6fb"
.\.venv\Scripts\wxapkg-tool inspect "C:\path\to\__APP__.wxapkg"
.\.venv\Scripts\wxapkg-tool decrypt "C:\path\to\__APP__.wxapkg" "C:\out\__APP__.wxapkg" --appid wx...
.\.venv\Scripts\wxapkg-tool extract "C:\out\__APP__.wxapkg" "C:\out\extracted"
.\.venv\Scripts\wxapkg-tool batch "C:\path\to\packages\wx...\13" "C:\out" --appid wx...

MCP config

After installation, add this to your MCP client configuration:

{
  "mcpServers": {
    "wxapkg": {
      "command": "wxapkg-mcp"
    }
  }
}

Note: This assumes you have already run pip install -e . to install the package and make the command available.

Alternative: Using Python module directly

If you prefer to run it as a Python module without installing:

{
  "mcpServers": {
    "wxapkg": {
      "command": "python",
      "args": ["-m", "wxapkg_mcp.server"]
    }
  }
}

Exposed tools:

  • find_wechat_package_roots
  • list_wechat_apps
  • inspect_wxapkg
  • decrypt_wxapkg
  • extract_wxapkg
  • decrypt_and_extract_dir
  • decrypt_and_extract_appid

For most agent workflows, call list_wechat_apps first, then decrypt_and_extract_appid with the chosen AppID. The server chooses the latest local version by default; pass version only when you need a specific version.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured