Token导航 LogoToken导航

MCP Server · AI代理

Em MCP

emMCP是一个基于Ai-Thinker UART-MCP协议的适配库,提供简单易用的API,帮助开发者快速实现MCU与AI模型的MCP交互。

未说明官方级别未说明来源级核验工具 0
AI交互AI代理工作流自动化

快速开始

公开资料没有提供安装命令,按仓库或官方文档接入。
作者 / 组织
Ai-Thinker-Open
提供方
Ai-Thinker-Open

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

2

仓库热度

收录来源

1 个

MCP World

选型结论

Em MCP 属于AI代理类 MCP Server,公开资料标注 0 个工具,通过传输方式未标注接入,客户端适配情况以官方文档为准,没有现成的安装命令;接入前先确认权限范围。

分类

AI代理

传输方式

未说明

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

公开目录没有给出安装命令,需要按仓库 README安装;下面按同类条目的通用流程说明。

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    先确认运行方式

    公开资料没有标注传输方式,先看仓库 README,确认是本地进程还是远程地址。

  2. 2

    获取服务

    公开目录没有给出安装命令,按仓库 README里的步骤安装或获取服务。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 0 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

公开资料仍需确认:安装命令

详细介绍

emMCP

Like this project? Please consider giving it a Star ⭐️ to help improve the project!

Welcome to emMCP

emMCP (Easy mcu MCP) is an adapter library for rapid development based on Ai-Thinker UART-MCP. It provides a set of simple and easy-to-use APIs to help developers quickly use MCU to access AI models for MCP interaction.

AiPi-PalChatV1's UART-MCP protocol is a UART-based communication protocol mainly used for MCP interaction between MCU and AI models, with content structure primarily in JSON format. In actual development, developers often need to spend a lot of time handling low-level tasks such as UART serial communication adaptation between MCU and modules, protocol parsing, and data format conversion.

emMCP builds a set of simple, easy-to-use, and highly encapsulated APIs (Application Programming Interfaces) that encapsulate all complex low-level operations (such as serial port initialization and configuration, MCP command packaging and parsing, data validation, exception handling, etc.). Developers only need to call the encapsulated interfaces to complete operations like "establishing connection between MCU and module", "sending MCP commands", and "receiving MCP commands", greatly reducing development difficulty and shortening the development cycle.

Features

  • Support for customizing MCP tools to AI agents
  • Support for actively waking up Ai-Thinker AI devices
  • Support for setting communication baud rate, default 115200
  • Support for setting conversation volume
  • Built-in small state machine with freely customizable callback functions
  • Built-in MCP tool management
  • Memory and FLASH usage (minimum): RAM: 62 Byte, FLASH: 1708 Byte

How to Port?

1. Download Source Code

It is recommended to use GIT to download the source code with the following command:

git clone https://github.com/Ai-Thinker-Open/emMCP.git

2. Import emMCP Library into Your Project

Copy the port and uart-mcp folders to your project, and include the emMCP.h file to use all resources of emMCP.

The example provides a CMake example for STM32F103 (STM32F10xRTOS_MCP), which you can refer to configure your project.

3. Porting Interface

emMCP is a library for serial communication, so you only need to implement the underlying functions for serial communication.

  • First, open the port/uartPort.c file
  • In the function int uartPortSendData(char *data, int len), call your serial port sending function, passing data and len as parameters. For example:
	int uartPortSendData(char *data, int len)
	{
		// Implement serial port sending function here
		if (data == NULL || len Instance == USART2) {
			HAL_UARTEx_ReceiveToIdle_DMA(huart, (uint8_t *)rxBuffer, sizeof(rxBuffer));
			// Call emMCP receiving function
			uartPortRecvData((char *)rxBuffer, Size);
			__HAL_DMA_ENABLE_IT(&hdma_usart2_rx, DMA_IT_TC);
		}
    }

- Implementation of delay function, in the port/port.h file, implement the delay function in the macro #define emMCP_delay. For example:

	#define emMCP_delay osDelay

- Implementation of memory management functions, in the port/port.h file, implement the memory management functions in the macros #define emMCP_malloc and #define emMCP_free. For example:

	#define emMCP_malloc malloc
	#define emMCP_free free

4. Initialize emMCP

You can initialize emMCP anywhere before executing the main function, for example, before the main() function or in a separate initialization function. The code example for initializing emMCP is as follows:

static emMCP_t emMCP_dev;

int main(void)
{
	emMCP_Init(&emMCP_dev);
	while(1)
	{
		// Main loop execution
	}
}

5. Loop Execution of emMCP_TickHandler()

emMCP has a built-in simple state machine that requires cyclically calling emMCP_TickHandler() to process data, reducing the burden when using interrupt functions. It is recommended to call emMCP_TickHandler() in the main loop, for example:

static emMCP_t emMCP_dev;

int main(void)
{
	emMCP_Init(&emMCP_dev);
	while(1)
	{
		emMCP_TickHandler(10);
	}
}

6. Has the porting been successful?

After completing the above steps, compile your project to ensure it compiles successfully without errors. Follow the steps below to verify if the porting is successful:

  • Download the program to the MCU
  • Say "Hello Xiao'an" to the AI module
  • Observe the serial port output. If you see output similar to the following, it indicates that emMCP has been successfully ported to your MCU:
	[DEBUG] emMCP_EventCallback:78: emMCP_EventCallback: event:8,type:4,param:2.WakeUP

For MCP interaction, please refer to emMCP User Documentation

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

C本地部署MCU开发AI交互串口通信协议适配嵌入式开发

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

多步任务编排

把拆解、检索、执行串成一条链,模型按步骤调用工具。

长期上下文

把会话、笔记和知识放到外部存储,换个会话还能接着做。

接自有流程

把内部系统和模型连起来,让助手调用已有的工作流。

选择建议

值得选的地方

  • 只提供 0 个工具,职责集中,接入后不容易误操作。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • 公开资料没有可直接复制的安装命令,第一次接入要自己找入口。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在AI代理场景里让模型直接调用外部能力的人。
  • 愿意照着官方文档一步步配环境的人。

不太适合

  • 希望一条命令就装好、不想看文档的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Em MCP

MCP World · 本页

0未说明未标注1 个2026-05-17
Everything Claude Code

MCP World

0stdio有1 个2026-05-17
Filesystem 560c4363

MCP World

13未说明未标注2 个2026-05-17
Time 7365cb6d

MCP.so

2SSE有2 个2026-05-17
Server Everything (everything)

MCP World

11stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Em MCP 怎么安装?

公开目录没有给出可以直接复制的安装命令,需要按仓库 README里的步骤安装;装好后写进客户端的 MCP 配置再重启。

Em MCP 怎么在 Claude Desktop、Cursor 里配置?

它是传输方式未标注,客户端配置里要写启动命令和参数,运行环境是 未标注;保存后完全退出客户端再打开,配置才会生效。

Em MCP 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Em MCP 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Em MCP 支持哪些客户端?

公开资料没有标注具体客户端;能配置本地 MCP 命令的客户端都能接,配置方式参照官方文档。

来源信息

继续浏览同类 MCP