一个模型上下文协议(MCP)服务器,提供与 MindReset 设备交互的工具。该服务器实现了官方的 MindReset API 端点,用于在......
概览
一个模型上下文协议(MCP)服务器,提供与 MindReset 设备交互的工具。该服务器实现了官方的 MindReset API 端点,用于在 MindReset 设备界面上显示文本和图像。 - : 在MindReset设备上显示基本文本内容 - : 带签名和格式的文本显示 - : 带自定义图标和点击跳转链接的文本内容 - : 显示带有可定制边框的PNG图片 - Node.js >= 18 - 具有API访问权限的MindReset设备 - 设备ID和MindReset App的秘密 1. 克隆或下载此仓库 2.安装依赖: 您可以通过官方 MindReset API 文档从 MindReset 应用获取这些凭据。 将简单的文本内容发送到MindReset设备界面。 - deviceId(必填):设备序列号 - 标题(可选):文本标题 - 消息(必填):显示文本内容 将带有签名的复杂文本发送到MindReset设备界面。
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,提供与 MindReset 设备交互的工具。该服务器实现了官方的 MindReset API 端点,用于在 MindReset 设备界面上显示文本和图像。
特色
- 简单文本API:在MindReset设备上显示基本文本内容
- 复杂文本API:显示带有签名和格式的文本
- 带图标的文本:通过自定义图标和点击跳转链接显示文本内容
- 图片API:显示带有可定制边框的PNG图片
先修条件
- Node.js >= 18
- 一个带有API访问权限的MindReset设备
- 设备ID和MindReset应用的秘密
安装
-
克隆或下载此仓库
-
安装依赖:
-
建设项目:
配置
设置所需的环境变量:
您可以通过官方 MindReset API 文档从 MindReset 应用获取这些凭据。
用途
开发模式
制作模式
可用工具
mindreset_simple_text
将简单的文本内容发送到MindReset设备界面。
参数:
deviceId(必需):设备序列号title(可选):文本标题
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MindReset MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with MindReset devices. This server implements the official MindReset API endpoints for displaying text and images on MindReset device screens.
Features
- Simple Text API: Display basic text content on MindReset devices
- Complex Text API: Display text with signatures and formatting
- Text with Icons: Display text content with custom icons and tap-to-jump links
- Image API: Display PNG images with customizable borders
Prerequisites
- Node.js >= 18
- A MindReset device with API access
- Device ID and Secret from MindReset App
Installation
-
Clone or download this repository
-
Install dependencies:
npm install -
Build the project:
npm run build
Configuration
Set the required environment variables:
export MINDRESET_DEVICE_ID="your_device_serial_number"
export MINDRESET_DEVICE_SECRET="your_device_secret"
You can obtain these credentials from the MindReset App by following the official MindReset API documentation.
Usage
Development Mode
npm run dev
Production Mode
npm start
Available Tools
mindreset_simple_text
Send simple text content to a MindReset device screen.
Parameters:
deviceId(required): Device serial numbertitle(optional): Text titlemessage(required): Text content to display
Example:
{
"deviceId": "ABCD1234ABCD",
"title": "Hello World",
"message": "I can swallow glass without harming myself"
}
mindreset_complex_text
Send complex text content with signature to a MindReset device screen.
Parameters:
deviceId(required): Device serial numbertitle(optional): Text titlemessage(required): Text content to displaysignature(optional): Text signature/footer
Example:
{
"deviceId": "ABCD1234ABCD",
"title": "Verification Code Helper",
"message": "A verification code from 'Shao Pai'\n205112",
"signature": "August 4, 2025 19:58"
}
mindreset_text_with_icon
Send text content with icon and optional link to a MindReset device screen.
Parameters:
deviceId(required): Device serial numbertitle(optional): Text titlemessage(required): Text content to displaysignature(optional): Text signature/footericon(optional): Base64 encoded PNG icon data (40px*40px)link(optional): HTTP/HTTPS link or Scheme URL for tap-to-jump
Example:
{
"deviceId": "ABCD1234ABCD",
"title": "Daily Health",
"message": "Calories burned: 702 kcal\nSteps today: 4183\nStanding time: 62 minutes",
"signature": "August 4, 2025 20:16",
"icon": "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAA...",
"link": "x-apple-health://"
}
mindreset_image
Display PNG image on a MindReset device screen.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"mindreset": {
"command": "node",
"args": ["/path/to/your/project/dist/index.js"],
"env": {
"MINDRESET_DEVICE_ID": "your_device_id",
"MINDRESET_DEVICE_SECRET": "your_device_secret"
}
}
}
}