WeChat Mini-Programs MCP. Automate sessions and retrieve verified user data.
WeChat Mini-Programs / 微信小程序 connects your AI client directly to China's dominant mini-app ecosystem. Manage complex operations like session authentication, retrieving verified user phone numbers, and sending structured messages through natural conversation. It lets you automate tasks that used to require navigating the entire WeChat MP portal.
Give Claude and any AI agent real-world access
Your agent exchanges login codes for OpenIDs and session keys, establishing secure connections with the WeChat ecosystem.
You pull verified user phone numbers and audit subscriber profiles using secure API calls.
The agent sends structured subscription messages, allowing you to manage delivery status for your mini-program users.
You instantly create unlimited scene-based and standard QR codes for user acquisition campaigns.
The MCP audits both images and text, ensuring all your content meets platform security requirements.
Ask an AI about this
Waiting for input…
What AI agents can do with WeChat Mini-Programs MCP: 10 Tools
These tools allow you to handle every aspect of WeChat mini-app operations, from session authentication and data retrieval to QR code generation and security auditing.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using WeChat Mini-Programs / 微信小程序 MCPCode To Session
Exchanges a login code for necessary user session keys.
Generate Standard Qrcode
Creates a standard QR code for basic user acquisition purposes.
Generate Unlimited Qrcode
Generates specialized, unlimited QR codes that can include specific scene parameters.
Get Account Status
Checks the general connectivity status of the WeChat account used for the MCP.
Get Daily Summary
Retrieves a trend summary of daily performance metrics.
Get Phone Number
Fetches a user's verified phone number associated with their account.
Get Visit Page Trend
Retrieves data showing how users are visiting specific pages within the mini-program.
Image Security Check
Analyzes an image to detect any sensitive or non-compliant content.
Message Security Check
Scans provided text to check for sensitive keywords or policy violations.
Send Subscribe Message
Sends a structured, official subscription message to the user's WeChat account.
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on each call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with WeChat Mini-Programs / 微信小程序, then connect any of our 5,200+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,200+ others, all in one place
- Add new capabilities to your AI anytime you want
- Connections are secured and governed automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog weekly
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by WeChat Mini-Programs / 微信小程序. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS CLOUD
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on each call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
The Struggle of Cross-Platform WeChat Management
Today, managing a mini-program means jumping through hoops. You have to go to the developer console to exchange session codes. Then you open another tab to check if a user's phone number is verified. If you need 50 different users validated and their data pulled, that's dozens of clicks, copy/pastes, and manual tracking across multiple interfaces.
With this MCP, your agent does the heavy lifting. You simply tell it what you want—like gathering user profiles and phone numbers—and it handles all the complex API calls under the hood. The result is a clean, structured data dump without you ever touching the official WeChat MP portal.
Getting User Data with `get_phone_number`
Previously, checking if a user was verified or what their phone number was required navigating to a specific profile audit section and waiting for the data to populate. It was slow, prone to error, and only worked for single-user lookups.
Now, you ask your agent directly: 'What is this user's verified phone number?' The tool runs `get_phone_number` instantly and returns that specific piece of data in conversation format. That’s immediate clarity.
What WeChat Mini-Programs MCP does for your AI
This MCP turns your agent into a real-time assistant for WeChat Mini-Programs. Instead of manually logging into multiple developer consoles, you talk to it. Your AI client handles complex session management—exchanging login codes for OpenIDs and session keys instantly. Need user data? You can retrieve verified phone numbers or audit subscriber profiles without lifting a finger.
It even generates unlimited QR codes for targeted campaigns and performs content security checks on images and text. Because it unifies these actions, you get accurate results from one place, making everything from user onboarding to notification blasts straightforward.
019d849b-d57d-7240-b46d-f295fae67532 How to set up WeChat Mini-Programs MCP
The bottom line is, you tell your AI what needs doing—like getting user data—and it executes the necessary WeChat API calls behind the scenes.
Subscribe to this MCP and provide your WeChat AppID and AppSecret keys.
Connect the service to your AI client like Claude or Cursor within Vinkius, authorizing access.
Instruct your agent in natural language to perform tasks, such as exchanging a login code for a session key or generating a QR code.
Who uses WeChat Mini-Programs MCP
Anyone managing a mini-program ecosystem in China. This MCP is essential for operations managers who are tired of juggling multiple developer consoles, or developers needing to automate complex authentication flows.
Manages subscription messages and audits user growth directly from their AI-powered workspace instead of clicking through dashboards.
Automates session handling and phone number verification using natural language queries rather than writing complex boilerplate code for every flow.
Runs real-time content security checks on text and images, guaranteeing platform compliance without manual review of the MP portal.
Benefits of connecting WeChat Mini-Programs MCP
Stop clicking through multiple developer consoles. Your agent handles session authentication—exchanging login codes for OpenIDs and keys—all from one chat prompt.
Instantly pull critical user details like verified phone numbers using the get_phone_number tool, allowing you to target messaging without manual lookups.
Manage your entire marketing funnel by generating unlimited QR codes. This feature lets you embed specific scene parameters into every code for tracking.
Ensure compliance before launch. Use the image_security_check or message_security_check tools to audit content instantly, preventing policy violations.
Get deep operational insights by checking visit trends with get_visit_page_trend, understanding exactly where your users are spending time in the mini-program.
WeChat Mini-Programs MCP use cases
Onboarding a new batch of users
A developer needs to validate 50 user accounts. Instead of writing a loop, they ask their agent: 'Get the session key and verified phone number for these five codes.' The agent uses code_to_session and get_phone_number sequentially, returning all necessary data in one list.
Launching a referral campaign
The marketing team needs 100 unique tracking QR codes. They prompt the agent: 'Generate an unlimited QR code for the referral scene on the index page.' The tool creates batch-ready, trackable codes instantly.
Running a content compliance audit
A product manager submits new ad copy and images. They ask their agent to 'Audit this text and image for WeChat policies.' The MCP runs message_security_check and image_security_check, flagging risks before publication.
Re-engaging dormant users
The operations team wants to push a new feature update. They ask the agent to 'Send a structured subscribe message to all premium subscribers.' The MCP uses send_subscribe_message to guarantee delivery and track status.
WeChat Mini-Programs MCP tradeoffs
What to watch out for, and the recommended way to handle each one.
Manual API Calls
A user copies an OpenID, pastes it into the developer portal's session exchange page, hits submit, gets a key, then manually finds the phone number in a different tab.
Just ask your agent: 'Exchange this code for a session and check the user's phone number.' The MCP uses code_to_session and get_phone_number in one request.
Basic QR Code Generation
Creating a simple, untrackable QR code for an ad campaign that doesn't tell the platform where users came from.
Use generate_unlimited_qrcode and specify the exact scene parameter. This ensures every scan passes specific tracking data to your mini-program.
Sending generic notifications
Manually drafting a notification message and hoping it reaches all target users without confirmation of delivery status.
Use send_subscribe_message. This tool sends the structured notice and provides immediate feedback on the message ID and user reception.
When to use WeChat Mini-Programs MCP
Use this MCP if your core business relies on managing, authenticating, or communicating within a mini-program ecosystem in China. Specifically, if you need to exchange session codes for OpenIDs, retrieve verified user phone numbers, or generate high-volume, tracked QR codes automatically.
Don't use it if you only need general analytics; for that, the get_visit_page_trend tool is useful, but dedicated BI tools are better. Also, don't use this MCP just to send simple text alerts; use a standard messaging API instead. This connector excels at combining session management with data retrieval and compliance checks. If your workflow involves multiple distinct steps—like 'get session key' AND 'check phone number'—this is the right place.
Frequently asked questions about WeChat Mini-Programs MCP
How do I use the WeChat Mini-Programs MCP to get a user session key? +
You use the code_to_session tool. Just give your agent the login code, and it exchanges that code for the necessary OpenIDs and session keys.
What is the difference between generating standard and unlimited QR codes? +
The generate_unlimited_qrcode tool allows you to embed specific scene parameters into every code. This gives you granular tracking data when users scan it, which basic codes lack.
Can I audit content using the WeChat Mini-Programs MCP? +
Yes. You use either message_security_check for text or image_security_check for images to ensure your content meets platform compliance standards before publishing.
Does the WeChat Mini-Programs MCP help with user engagement? +
Absolutely. You can use send_subscribe_message to send structured notifications and manage delivery status, keeping your users engaged within the mini-program environment.