4,500+ servers built on MCP Fusion
Vinkius

WeChat Mini-Programs MCP. Manage sessions and user data via conversation.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

WeChat Mini-Programs / 微信小程序 MCP on Cursor AI Code Editor MCP Client WeChat Mini-Programs / 微信小程序 MCP on Claude Desktop App MCP Integration WeChat Mini-Programs / 微信小程序 MCP on OpenAI Agents SDK MCP Compatible WeChat Mini-Programs / 微信小程序 MCP on Visual Studio Code MCP Extension Client WeChat Mini-Programs / 微信小程序 MCP on GitHub Copilot AI Agent MCP Integration WeChat Mini-Programs / 微信小程序 MCP on Google Gemini AI MCP Integration WeChat Mini-Programs / 微信小程序 MCP on Lovable AI Development MCP Client WeChat Mini-Programs / 微信小程序 MCP on Mistral AI Agents MCP Compatible WeChat Mini-Programs / 微信小程序 MCP on Amazon AWS Bedrock MCP Support

Just plug in your AI agents and start using Vinkius.

WeChat Mini-Programs MCP Server gives your AI agent full control over a major Chinese mini-app ecosystem. It lets you manage user sessions, retrieve verified phone numbers, generate unlimited QR codes, and check content compliance—all through natural language commands.

Stop navigating the WeChat console; just ask your agent to handle complex authentication and data retrieval for you.

What your AI agents can do

Code to session

Exchanges a login code for the necessary user session keys and OpenIDs.

Generate standard qrcode

Creates a basic, non-customizable QR code asset for general use.

Generate unlimited qrcode

Generates unlimited, customizable QR codes that pass specific scene parameters.

+ 7 more capabilities included
Authenticate User Sessions

Exchange login codes to retrieve OpenIDs, UnionIDs, and active session keys.

Retrieve Contact Information

Fetch a user's verified phone number or audit their subscriber profile details.

Generate QR Codes

Create both standard and unlimited, scene-specific QR codes for targeted user acquisition paths.

Send Targeted Messages

Issue structured subscribe messages to notify mini-program users about updates or actions.

Check Content Compliance

Scan text and images in real time to verify they meet platform security standards.

Supported MCP Clients

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients
Free for Subscribers

Waiting for input…

AI Agent

WeChat Mini-Programs MCP Server: 10 Tools for Operations

Manage everything from session exchange and QR code generation to user data retrieval and security checks using ten specialized tools.

code019d849b

code to session

Exchanges a login code for the necessary user session keys and OpenIDs.

generate019d849b

generate standard qrcode

Creates a basic, non-customizable QR code asset for general use.

generate019d849b

generate unlimited qrcode

Generates unlimited, customizable QR codes that pass specific scene parameters.

get019d849b

get account status

Checks the current connectivity and operational status of the linked WeChat account.

get019d849b

get daily summary

Retrieves a summary showing daily usage trends for your mini-program.

get019d849b

get phone number

Fetches a user's verified phone number associated with their account.

get019d849b

get visit page trend

Gets data detailing the historical visit page trend across your mini-program pages.

image019d849b

image security check

Analyzes an image to determine if it contains sensitive or non-compliant content.

message019d849b

message security check

Scans text input to check for policy violations or sensitive data before publishing.

send019d849b

send subscribe message

Sends a structured, targeted message to notify specific mini-program users.

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 every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with WeChat Mini-Programs / 微信小程序, then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 4,700+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week

What you can do with this MCP connector

When you connect your AI client to the WeChat Mini-Programs MCP Server, your agent gets total control over a major Chinese mini-app ecosystem. You'll manage everything—user sessions, contact retrieval, QR code generation, and content compliance checks—all just by talking to it. Forget navigating the WeChat console or wrestling with complex API calls; you simply tell your agent what you need.

Your agent manages authentication using code_to_session, which exchanges a simple login code for all the necessary user session keys and OpenIDs. You can then check the operational status of the entire linked account instantly with get_account_status. Need to know who's on board? Your agent fetches a user's verified phone number using get_phone_number or audits their full subscriber profile details.

For targeted marketing and acquisition, your agent handles QR codes. It generates basic, non-customizable assets with generate_standard_qrcode, but it can also create unlimited, highly customizable QR codes through generate_unlimited_qrcode. These advanced codes pass specific scene parameters, letting you target precise user paths inside the mini-app.

When you need to talk to users, your agent sends structured, targeted messages using send_subscribe_message to notify specific groups of mini-program members about updates or actions. Meanwhile, for security and auditing, you get two sets of tools. To make sure content passes muster, your agent analyzes text input with message_security_check, scanning it for policy violations or sensitive data before anyone publishes it.

It also runs an image analysis using image_security_check to verify that any uploaded picture doesn't contain prohibited or non-compliant material.

To keep tabs on performance, your agent pulls deep analytics. You can get a daily summary of usage trends with get_daily_summary, and it tracks detailed historical visit page trends across all your mini-program pages using get_visit_page_trend.

How WeChat Mini-Programs MCP Works

  1. 1 First, subscribe the server using your WeChat AppID and AppSecret credentials.
  2. 2 Next, prompt your AI agent (Claude, Cursor, etc.) with a direct instruction, like 'Get the verified phone number for user X' or 'Generate an unlimited QR code for scene Y'.
  3. 3 The agent executes the specific tool call. You receive structured data—like OpenIDs, the phone number, or the binary QR code—directly in your conversation.

The bottom line is that you manage complex mini-app functions by talking to your AI client instead of filling out API forms.

Who Is WeChat Mini-Programs MCP For?

This is for the operations manager who gets stuck clicking through 10 different dashboards just to track user growth, or the developer who can't afford downtime waiting for manual session authentication. You need a single source of truth that handles WeChat’s complexity so you can actually focus on product features.

Growth Operations Manager

Needs to manage targeted notification blasts and audit user growth patterns using send_subscribe_message and get_daily_summary.

Product Developer (Mobile)

Uses the server to automate session handling and phone number verification for rapid prototyping, calling tools like code_to_session.

Compliance Officer

Runs continuous content security checks on all assets using image_security_check before deployment, ensuring platform rules are met.

What Changes When You Connect

  • Stop manually linking accounts. Use code_to_session to instantly swap out login codes for OpenIDs and session keys, bypassing tedious manual authentication steps.
  • Get real-time user insights. Fetch a verified phone number using get_phone_number, or check page performance trends with get_visit_page_trend—all in one prompt.
  • Build better onboarding flows. Generate unlimited QR codes via generate_unlimited_qrcode. You can pass specific referral scenes, making tracking reliable right out of the gate.
  • Ensure platform safety before launch. Run both image_security_check and message_security_check on content drafts. This guarantees your material meets WeChat’s strict compliance rules.
  • Control user communication. Use send_subscribe_message to send structured notifications that appear instantly in the user's chat, which is far more reliable than email blasts.

Real-World Use Cases

01

Onboarding a New Beta Tester

A QA engineer needs to test a new feature. Instead of asking the operations team for manual login credentials, they prompt their agent: 'Use code_to_session with code X and then run get_phone_number.'. The agent authenticates the user, gets the necessary contact data, and hands it back in one shot.

02

Launching a Referral Campaign

The marketing lead needs to track new sign-ups from specific sources. They ask the agent to run generate_unlimited_qrcode for scene 'summer_sale' on page '/index'. The resulting code is ready and automatically passes that referral parameter.

03

Auditing Content Before Launch

A compliance team member uploads marketing copy. They run message_security_check first, then use image_security_check on the accompanying graphic. The agent flags any sensitive terms or prohibited symbols before anything goes live.

04

Sending a Feature Update Alert

The product manager wants to notify all existing users about an update. They prompt: 'Send a structured subscribe message to user group Y using template Z.' The agent handles the formatting and sends the alert immediately, tracking delivery status.

The Tradeoffs

Trying to get basic data manually

The developer tries to find a phone number by checking user profile settings in the WeChat web console. This is slow and often requires multiple API calls that don't chain well.

Just ask your agent directly: 'Run get_phone_number for OpenID A.' The server handles the complex lookup instantly, giving you verified data without leaving the chat window.

Generating a generic QR code

The user runs generate_standard_qrcode for a campaign that needs to track traffic sources. This basic code doesn't pass any specific scene parameter, making analytics useless.

Always use generate_unlimited_qrcode. Specify the exact scene parameter (e.g., 'referral_summer') when calling the tool so your mini-program tracks the source correctly.

Ignoring content compliance

The team drafts a new promotional graphic and posts it without checking for forbidden symbols or images, risking platform suspension.

Run both image_security_check AND message_security_check on all assets. This two-step process ensures everything is compliant before you send it out.

When It Fits, When It Doesn't

Use this server if your primary job revolves around managing user accounts, content flow, and messaging within the WeChat Mini-Program environment. You need tools that connect session codes to verifiable data (like OpenIDs or phone numbers) and handle compliance checking for Chinese market standards.

Don't use it if you just need basic web analytics (a general tracking API works better). Also, don't expect it to manage your database records directly; its purpose is operational control. If you only need simple messaging without structured templates or status checks, a simpler SMS gateway might suffice. But for anything related to active user lifecycle and compliance in the Chinese ecosystem, this is what you need.

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 INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

How we secure it →

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This server provides 10 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.

Available Capabilities

code_to_session generate_standard_qrcode generate_unlimited_qrcode get_account_status get_daily_summary get_phone_number get_visit_page_trend image_security_check message_security_check send_subscribe_message

Tracking User Activity Used To Be a Messy Dashboard Drill-Down.

Today, tracking engagement means jumping between the user dashboard, the content audit log, and the session manager. You have to copy an OpenID from one tab, paste it into another form to check status, and then manually cross-reference visit dates against a separate sheet. It’s slow and prone to human error.

With this MCP server, you just ask your agent: 'Check user X's profile and show me their last 5 pages visited.' The system runs `get_visit_page_trend` in the background and delivers the clean data set immediately. You get actionable insights without leaving your chat.

WeChat Mini-Programs MCP Server: Run Full User Lifecycle Management.

Before this, sending an update meant manually creating a message draft, finding the correct recipient list ID, and praying the delivery status was accurate. You were limited by web forms and bulk APIs that lacked context.

Now, your agent handles it all. You tell it to 'Send a structured subscribe message' via `send_subscribe_message`. It executes the call, confirms the message ID, and tells you exactly which users received the alert instantly.

Common Questions About WeChat Mini-Programs MCP

How do I get a user's phone number using get_phone_number? +

You provide the necessary OpenID or session key to your agent. The get_phone_number tool then queries WeChat and returns the verified mobile number directly in the response.

Can I use generate_unlimited_qrcode for multiple campaigns? +

Yes. You must specify a unique scene parameter for each campaign (e.g., 'promo_fall' or 'referral_spring'). This ensures the generated QR code passes the correct tracking data when scanned.

What is the difference between `message_security_check` and `image_security_check`? +

message_security_check scans text input for policy violations. image_security_check analyzes uploaded graphics to ensure they don't contain sensitive visual content, keeping your content compliant.

How do I start using the code_to_session tool? +

You give your agent a valid login code and tell it to exchange that code for a session. The server returns the necessary OpenID and active session key for subsequent operations.

Before I try to run `code_to_session`, how do I check if my WeChat Mini-Programs account is connected using `get_account_status`? +

You must first call get_account_status. This tool verifies your AppID and AppSecret credentials immediately. It confirms live connectivity with the WeChat platform, so you know your keys are valid before attempting any session exchange or user data retrieval.

How do I track traffic changes over time using `get_visit_page_trend`? +

The tool tracks how often users visit specific pages and when. Instead of just seeing a single count, you get a trend line showing spikes or drops in visitation patterns. This helps pinpoint exactly when your mini-program's content needs tweaking.

What input parameters are necessary when I use `send_subscribe_message`? +

You need the recipient's user OpenID and the specific template ID for the message. The tool uses these inputs to structure the notification properly, ensuring WeChat delivers it correctly to the user's app.

What does `get_daily_summary` provide that is different from checking page trends? +

This function gives you a high-level overview of performance metrics across your mini-app. It aggregates key data points—like overall engagement and top activity areas—into one report, giving you a quick business sense of the day's activity.

How do I find my WeChat AppID and Secret? +

Log in to the WeChat Official Accounts Platform, navigate to [Settings] -> [Development] -> [Basic Configuration] to find your unique AppID and generate your AppSecret.

How can I retrieve a user's phone number? +

First, use the getPhoneNumber capability in your mini-program frontend to obtain a code. Then, pass that code to the get_phone_number tool in this server to retrieve the verified mobile number.

What is the difference between standard and unlimited QR codes? +

Standard QR codes (up to 100,000) are mapped to a specific path. Unlimited QR codes (scene-based) use a scene string to pass parameters and have no creation limit, making them ideal for large-scale marketing.

More in this category

You might also like

Built & Managed by Vinkius 30s setup 10 tools

We've already built the connector for WeChat Mini-Programs. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 10 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.