mdymcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MD_KEY | Yes | Your access key for v1 collaboration API | |
| MD_APP_KEY | No | Custom OAuth app_key | |
| MD_HAP_KEY | No | HAP key (automatically written by installer, optional for HAP gateway) | |
| MD_HOOK_URL | No | Custom v1 token hook URL | |
| MD_HAP_TOKEN | No | HAP access token (used during install, optional for runtime if MD_HAP_KEY is present) | |
| MD_ACCOUNT_ID | Yes | Your Mingdao account UUID | |
| MD_REGISTER_URL | No | Custom v1 OAuth register hook | |
| MD_CALLBACK_PORT | No | Port for OAuth callback (default 8080) | 8080 |
| MD_HAP_TOKEN_HOOK | No | Custom HAP token hook URL | |
| MD_HAP_REFRESH_TOKEN | No | HAP refresh token (used during install, optional for runtime if MD_HAP_KEY is present) | |
| MD_HAP_REGISTER_HOOK | No | Custom HAP register hook URL |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| post_get_all_postsA | 获取全公司可见的动态流。可按关键词、类型、群组过滤。用 max_id 翻页。 |
| post_get_my_postsC | 获取当前用户自己发布的动态。 |
| post_get_user_postsC | 获取指定用户的动态。account_id 为目标用户ID。 |
| post_get_group_postsC | 获取指定群组的动态。 |
| post_get_post_detailA | 获取单条动态的详细信息。 |
| post_get_post_replyC | 获取某条动态的评论列表。 |
| post_get_post_select_groupsB | 获取当前用户可以发布动态的群组列表。 |
| post_add_postB | 发布一条新动态。post_type: 0=普通,1=链接,2=图片,3=文档,4=提问,7=投票。group_ids/project_ids 逗号分隔。 |
| post_add_post_replyC | 给指定动态添加评论。reply_id 为回复某条评论时填写。 |
| post_delete_postB | 删除一条动态。 |
| post_delete_post_replyA | 删除一条动态评论。post_id 必填,reply_id 为要删除的评论ID。 |
| calendar_get_eventsA | 获取日程列表。通过日历订阅接口拉取 iCal 数据并解析。 日期格式 YYYY-MM-DD(北京时间)。
|
| calendar_get_event_detailsC | 获取单个日程的详细信息。 |
| calendar_get_unconfirmed_eventsB | 获取当前用户未确认的日程邀请。 |
| calendar_searchA | 按关键词搜索日程。begin_date/end_date 格式 YYYY-MM-DD。 |
| calendar_create_eventC | 创建日程。日期格式 YYYY-MM-DD HH:MM。member_ids 用逗号分隔多个用户ID。 |
| calendar_add_membersB | 给日程添加成员。member_ids 逗号分隔(明道用户),invited_accounts 为非明道用户(格式 ["电话","邮箱"])。 |
| calendar_edit_eventC | 修改日程属性(名称、时间、地点、描述等)。日期格式 YYYY-MM-DD HH:MM。 |
| calendar_remove_eventC | 删除日程。removing_all_recurring_events: 是否删除所有循环日程。 |
| webchat_get_chat_listB | 获取聊天会话列表。 |
| webchat_get_unread_countB | 获取未读消息总数。 |
| webchat_get_messagesB | 获取与某人或某群的消息记录。account_id 和 group_id 二选一。 |
| webchat_get_message_by_idB | 根据消息ID获取前后消息。account_id 和 group_id 二选一。 |
| webchat_get_message_countB | 获取与某人或某群的消息总数。account_id 和 group_id 二选一。 |
| webchat_send_messageA | 给用户或群组发送文本消息。account_id 和 group_id 二选一。 |
| message_get_systemC | 获取系统消息列表。 |
| message_get_postC | 获取与动态相关的收件箱消息。 |
| group_get_detailC | 获取群组详情(含成员信息)。 |
| group_get_membersC | 获取群组成员列表。 |
| group_get_my_joinedA | 获取当前用户加入的所有群组。 |
| group_get_my_createdA | 获取当前用户创建的所有群组。 |
| group_get_project_groupsC | 获取组织下所有群组。 |
| group_get_project_membersC | 获取组织群组的成员列表。 |
| group_createC | 创建一个新群组。group_name 为群组名称。 |
| group_create_discussionC | 创建讨论组。account_ids 用逗号分隔。 |
| group_editC | 编辑群组信息。 |
| group_add_adminB | 添加群组管理员。 |
| user_get_friendsC | 获取当前用户的联系人列表。 |
| user_get_project_usersC | 获取组织通讯录(所有成员)。 |
| user_get_mentionedA | 获取可 @ 的用户列表,可按关键词过滤。 |
| user_get_by_phoneC | 根据手机号或邮箱查找用户。 |
| user_get_cardC | 获取指定用户的名片信息。 |
| user_get_subordinateC | 获取下属列表。 |
| company_get_projectsA | 获取当前用户所属的组织列表。 |
| company_get_departmentsC | 获取组织的部门列表。 |
| company_get_by_idC | 根据组织ID查询组织信息。 |
| passport_get_detailA | 获取当前登录用户的详细信息。 |
| passport_get_settingA | 获取当前用户的账户设置。 |
| passport_get_unread_countB | 获取各类未读消息数量。 |
| passport_get_user_cardB | 获取当前用户的个人名片。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andyleimc-source/mdymcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server