# WeChat Mini-Programs MCP for AI Agents AI Agent Connect

> WeChat Mini-Programs MCP lets you manage your Chinese mini-app ecosystem through an AI agent. It allows you to handle complex user sessions, retrieve verified phone numbers, send out targeted subscribe messages, and run real-time security audits on images and text. You can manage everything from user onboarding to platform compliance without ever needing to navigate the complex official WeChat MP portal.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_5Iv6ZzetPdxic0oMiWIP3qh45BXGJk82nXHEoPe4/ai-agent-connect
- **Tags:** mini-apps, user-session-management, subscriber-engagement, mobile-ecosystem, verification

## Description

Imagine you're managing a massive operation on WeChat in China. Usually, this means constant tab-switching between the official developer portal, your messaging tools, and your user databases. You're manually grabbing session keys, checking phone numbers, and trying to stay compliant with content rules. This Connector changes that. Instead of manual clicks, you just tell your AI agent what needs to happen. You can have it pull verified numbers for your marketing team, swap login codes for active sessions, or run a quick security check on a batch of images before they go live. It acts as a direct bridge to the WeChat ecosystem, letting you handle the heavy lifting of subscriber engagement and user onboarding through a single chat interface. Because Vinkius hosts this Connector, you can plug it into your existing AI workflow and get these actions done in seconds rather than minutes of navigating complex menus. You no longer have to worry about the friction of different interfaces or the risk of missing a compliance detail. Your agent handles the technical heavy lifting, providing you with a clean, conversational way to interact with one of the most significant application platforms in the world. You can generate unlimited scene-based QR codes for user acquisition or pull daily summaries to see how your pages are performing. This turns a fragmented, manual process into a unified, conversational workflow where your agent does the work of a dedicated operations assistant.

## Tools

### code_to_session
Exchange a login code for a session key to authenticate a user. This lets your agent handle logins without manual key management.

### generate_standard_qrcode
Create standard QR codes for general use cases. These are perfect for basic user acquisition and general links.

### get_account_status
Check the current connectivity status of your WeChat account. Use this to ensure your agent can still reach the platform.

### get_daily_summary
Pull a summary of your daily trends to see how your app is performing. It gives you a quick look at your daily stats.

### get_phone_number
Get the verified phone number for a user. This is useful for identity verification and secure user onboarding.

### generate_unlimited_qrcode
Generate unlimited QR codes for specific scenes. Use these to drive user acquisition and track specific referral paths.

### get_visit_page_trend
See how many people are visiting specific pages over time. Use this to identify where users are dropping off in your app.

### image_security_check
Scan images for sensitive content to keep your app compliant with WeChat rules. This helps you avoid platform penalties.

### message_security_check
Check text content for any violations before you send it to your subscribers. This ensures your messages stay within guidelines.

### send_subscribe_message
Send a structured message to your opted-in subscribers instantly. Use this for targeted notifications and marketing blasts.

## Prompt Examples

**Prompt:** 
```
Check if this image is safe to post on our WeChat Mini-Program.
```

**Response:** 
```
I've scanned the image using the security check tool. It doesn't contain any sensitive content or prohibited symbols. You're good to go.
```

**Prompt:** 
```
Send a notification to our subscribers about the new sale.
```

**Response:** 
```
I've sent the subscribe message to your user list. The message ID is 992831. Would you like me to check the delivery status?
```

**Prompt:** 
```
What's our traffic like today?
```

**Response:** 
```
Here is the summary for today:

| Page Path | Visit Count |
| :--- | :--- |
| /home | 1,200 |
| /shop | 450 |
| /profile | 120 |

Traffic is up 12% compared to yesterday.
```

## Capabilities

### Exchange login codes for sessions
Convert login codes into active user sessions to handle authentication automatically.

### Pull verified phone numbers
Retrieve verified user phone numbers for identity verification and account management.

### Send subscribe messages
Dispatch structured notifications to your opted-in subscribers instantly.

### Generate QR codes
Create unlimited scene-based and standard QR codes for user acquisition.

### Run content security checks
Scan text and images for sensitive content to ensure platform compliance.

### Track visit trends
Monitor page visit trends and daily summaries to see how your app is performing.

## Use Cases

### Automated User Onboarding
A developer asks the agent to swap a code for a session. The agent uses code_to_session and confirms the user is logged in.

### Targeted Marketing Blasts
An ops manager wants to notify 1,000 users. The agent uses send_subscribe_message and reports the delivery status.

### Real-time Content Auditing
A compliance lead asks to check a new banner. The agent runs image_security_check and gives a clear pass or fail.

### Growth and Traffic Analysis
A manager asks for the last 24 hours. The agent pulls get_daily_summary and get_visit_page_trend to show the stats.

## Benefits

- Stop manual portal navigation by using code_to_session to handle user logins automatically.
- Get faster user verification by pulling data with get_phone_number instead of manual lookups.
- Keep your content safe with image_security_check and message_security_check to avoid platform bans.
- Scale your marketing with generate_unlimited_qrcode and send_subscribe_message for rapid user growth.
- Monitor your growth in real-time using get_daily_summary and get_visit_page_trend for better insights.

## How It Works

The bottom line is you get a direct line to WeChat's backend without the manual overhead.

1. Subscribe to the WeChat Mini-Programs MCP on Vinkius.
2. Enter your WeChat AppID and AppSecret in your AI client settings.
3. Ask your agent to perform actions like sending messages or checking security.

## Frequently Asked Questions

**Can I use the WeChat Mini-Programs MCP to manage my personal WeChat account?**
No, this Connector is specifically designed for managing WeChat Mini-Programs. It provides tools for app-specific tasks like session handling, subscriber messaging, and content security.

**Does the WeChat Mini-Programs MCP help with user verification?**
Yes, it can pull verified phone numbers for your users. This makes it much faster to verify identities during the onboarding process.

**Can I automate my marketing messages with this?**
Yes, you can use it to send structured subscribe messages to your opted-in users. Your agent can handle the delivery and status tracking for you.

**How does the WeChat Mini-Programs MCP handle security?**
It provides tools to check both images and text for sensitive content. This helps you stay compliant with WeChat's platform rules and avoid potential bans.

**Can I use the WeChat Mini-Programs MCP to see my traffic?**
Yes, it can pull visit trends for specific pages and provide daily summaries. This helps you see where users are dropping off and how your app is growing.

**How do I find my WeChat AppID and Secret?**
Log in to the [WeChat Official Accounts Platform](https://mp.weixin.qq.com/), 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.