# Netease Yunxin MCP for AI Agents AI Agent Connect

> Netease Yunxin MCP for AI Agents. This Connector lets you manage Netease Yunxin IM and RTC infrastructure through natural language. Use it to create IM accounts, manage chat groups, send batch messages, and audit historical chat logs without navigating a technical dashboard.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_o2VZ3DrTKGk9r7WqIcOKguXLY6Td2lxZ2CkhtDXs/ai-agent-connect
- **Tags:** instant-messaging, real-time-communication, rtc-api, chat-groups, user-account-management, message-auditing

## Description

This Connector lets you talk to your Netease Yunxin infrastructure like it's a teammate. Instead of jumping between tabs and clicking through a complex developer portal, you can just tell your agent to handle the heavy lifting. You can create new IM accounts, manage group memberships, or send out mass messages across your user base without lifting a finger. If you need to audit old conversations to see what went wrong in a support thread, your agent can pull that history for you in seconds. It's a way to turn a complex communication backend into a conversational tool. By using this via the Vinkius catalog, you get a direct line to your messaging data and controls, making it much easier to manage large-scale communities or handle high-volume customer interactions. You get the power of a professional IM platform with the speed of a chat interface.

## Tools

### add_team_member
Add a new person to a team. Use this to expand your community or team quickly via natural language.

### create_account
Create a new IM account. Use this to onboard new users into your communication system automatically.

### create_team
Create a new chat group or team. This sets up a new space for multi-user communication instantly.

### get_session_history
Get chat history between users. This is great for auditing interactions or troubleshooting specific issues.

### get_team_detail
Get the specific details of a chat group. Use this to see who is in a team and check the current configuration.

### kick_team_member
Remove a user from a team. This is the quickest way to moderate a chat group or clear out inactive members.

### refresh_user_token
Refresh a user's IM token. Use this to keep user sessions active without forcing them to log in again.

### send_batch_message
Send a message to many users at once. This is perfect for community announcements or high-volume alerts.

### send_p2p_message
Send a direct message to a specific user. Use this for one-on-one communication between different accounts.

### update_account
Update an existing IM account. This lets you change user details or account status on the fly.

## Prompt Examples

**Prompt:** 
```
Create a new IM account with accid 'user_8821'.
```

**Response:** 
```
I've successfully created the IM account 'user_8821'. The account is now active and ready for real-time communication. Would you like to set a display name or custom token for this user?
```

**Prompt:** 
```
Send a message from 'admin' to 'user_8821' saying 'Welcome to the platform!'.
```

**Response:** 
```
Done! I've sent your P2P message to 'user_8821'. The message has been successfully delivered to the Yunxin IM system. Would you like to check the session history for this pair?
```

**Prompt:** 
```
Create a chat team 'Project Alpha' with owner 'admin' and members 'user_01,user_02'.
```

**Response:** 
```
I've created the chat team 'Project Alpha'. The Team ID (TID) is `12345678`. The owner and initial members have been added successfully. Should I send an invitation message to the group now?
```

## Capabilities

### Create IM accounts
Generate new user identities and refresh tokens to keep sessions active.

### Send batch messages
Blast a single message to a large group of users simultaneously.

### Manage team members
Add or kick users from chat groups using simple natural language commands.

### Audit chat history
Retrieve past messages between users to investigate specific interactions.

### Update account details
Modify user profile information and account status on the fly.

## Use Cases

### Community Moderation
A manager needs to kick 10 trolls from a group. They ask the agent to use kick_team_member on a list of IDs provided in a chat.

### Support Audit
A support lead wants to see what a user said last week. The agent uses get_session_history to find the specific timeframe and content.

### Bulk Onboarding
A developer wants to create 50 test accounts for a new launch. The agent uses create_account to batch the work in seconds.

### Mass Announcements
A company needs to notify 500 users of a maintenance window. The agent uses send_batch_message to blast the alert to everyone.

## Benefits

- Audit conversations faster by using get_session_history to pull logs without manual searching.
- Scale community moderation by using add_team_member and kick_team_member to manage groups via chat.
- Simplify user onboarding with create_account and update_account to handle new signups instantly.
- Execute mass communications using send_batch_message to reach your entire user base in one go.
- Maintain session stability by using refresh_user_token to keep your users connected without friction.

## How It Works

The bottom line is you get a conversational interface for your entire Netease Yunxin messaging backend.

1. Enter your Yunxin AppKey and AppSecret into the configuration.
2. Connect the Connector to your preferred AI client like Claude or Cursor.
3. Ask your agent to perform tasks like creating a team or auditing a message log.

## Frequently Asked Questions

**Can I manage my Netease Yunxin chat groups with an AI agent?**
Yes, you can use your agent to create teams, add members, and kick users without leaving your workspace. It makes group moderation much faster.

**How do I audit messages on the Netease Yunxin platform?**
You can ask your agent to retrieve chat history for specific users or time ranges using this Connector. It's a great way to check past interactions for support.

**Can I send mass notifications through Netease Yunxin?**
Yes, the agent can use batch messaging tools to send one message to many users at once. This is ideal for community alerts or system updates.

**Is it possible to create new IM accounts automatically?**
You can tell your agent to create and update accounts using your unique AppKey and AppSecret. This automates the onboarding process for your users.

**Can I keep my users logged in longer?**
The Connector includes a way to refresh user tokens, which helps maintain active sessions without constant re-authentication for your users.

**How do I find my Yunxin AppKey and AppSecret?**
Log in to the [Yunxin Console](https://console.yunxin.163.com/), select your application from the dashboard, and you will find your AppKey and AppSecret in the application details overview.

**What is an accid?**
An accid is a unique account identifier for a user in the Yunxin IM system. It is defined by you during account creation and used for all subsequent user-related operations.

**How does the CheckSum authentication work?**
Yunxin requires a dynamic CheckSum in the HTTP header for every request. This server automatically calculates it for you using the SHA1(AppSecret + Nonce + CurTime) formula, ensuring secure authorized access.