MCP server de tinymcp
✓ OficialPermite que los LLM controlen dispositivos embebidos exponiendo los RPC de Golioth y el estado de LightDB como herramientas MCP.
También conocido como golioth/tinymcp
- Stars
- 158
- Herramientas
- —
- Descargas, 30 días
- —
- Última versión
- —
- Último commit
- 3 jul 2025
- Licencia
- Apache-2.0
¿Qué es tinymcp MCP?
tinymcp es un MCP server. Permite que los LLM controlen dispositivos embebidos exponiendo los RPC de Golioth y el estado de LightDB como herramientas MCP.
Resumen generado a partir del README del proyecto
Acerca del MCP server de tinymcp
tinymcp permite controlar dispositivos embebidos mediante un LLM al convertir los RPC de Golioth y el estado de LightDB en herramientas MCP accesibles. Los desarrolladores que ejecutan tinymcp localmente pueden conectarse a hardware remoto a través de la API de gestión de Golioth. Al proporcionar las variables de entorno TINYMCP_PROJECT, TINYMCP_DEVICE y TINYMCP_API_KEY, los usuarios vinculan su entorno local con proyectos y dispositivos específicos de Golioth.
Esta configuración destaca porque permite exponer funciones de dispositivos existentes sin necesidad de modificar el firmware. Esto se logra incluyendo un esquema en la ruta mcp/tools/schema dentro de LightDB State. Aunque el proyecto incluye un ejemplo de parpadeo (blinky) usando Zephyr RTOS para quienes empiezan desde cero, el servidor está diseñado para funcionar con dispositivos que ya estén conectados a la plataforma Golioth. Clientes compatibles como Claude Code, Gemini CLI y el MCP Inspector pueden interactuar con estas capacidades físicas mediante llamadas a herramientas estándar.
Qué puedes hacer con él
- 1Controlar hardware sin actualizaciones de firmwareUn desarrollador puede instruir a una IA para activar una función del dispositivo actualizando el esquema LightDB State.
- 2Probar interacciones de dispositivos visualmenteUsa el MCP Inspector para verificar que los RPC específicos se expongan correctamente como herramientas antes de usar un LLM.
Escrito a partir del README del proyecto. Cada caso de uso se verifica con una cita del mismo.
Configuración
TINYMCP_API_KEYTINYMCP_DEVICETINYMCP_PROJECT
| Nombre | Descripción | Tipo |
|---|---|---|
| TINYMCP_API_KEY | — | |
| TINYMCP_DEVICE | — | |
| TINYMCP_PROJECT | — |
Verificaciones automáticas
Ejecutado 15 nov 2026Informe completo →Aún no verificado. Un servidor necesita una puntuación de 80, ningún hallazgo grave y suficientes datos para que podamos revisarlo. Cómo funcionan las verificaciones · Qué corregir para obtener más puntos
- Repositorio de origen vinculado y accesiblegolioth/tinymcp is public and reachablegithub.com/golioth/tinymcp ↗Aprobado
- El paquete indica este repositorio como su origenNo verificado
- Procedencia de la compilación (atestación de Sigstore)No verificado
- Licencia de código abierto (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Aprobado
- Commit o lanzamiento en el último añoLast commit or release 2025-07-03github.com/golioth/tinymcp ↗Hallazgo
- OpenSSF ScorecardNo verificado
- El nombre del paquete no es similar a un paquete popularNo verificado
- No hay avisos críticos en el paquete ni en sus dependenciasNo verificado
- Sin instrucciones ocultas para el modelo0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersAprobado
- Las herramientas destructivas están etiquetadasNo verificado
- El endpoint remoto responde al handshake de MCPNo verificado
README
Ver en GitHubtinymcp
Let LLMs control embedded devices via the Model Context Protocol.
[!WARNING]
tinymcpis an experimental project. Expect frequent breaking changes. Extreme caution should be taken when delegating physical capabilities to AI systems.
Background
The tinymcp project includes an MCP server, which is executed locally, but
communicates with remote devices via the Golioth management
API. It uses two existing
device services on the Golioth platform, LightDB
State and Remote
Procedure Calls (RPCs), to
expose device functionality via MCP.
RPCs can be exposed as
tools
by including a schema in on the mcp/tools/schema path in LightDB State.
Because LightDB State can be updated by devices or users, RPCs on existing
devices can be exposed without needing to modify the device firmware.
Setup
To use tinymcp, you need to connect a device to the Golioth platform, then run
the tinymcp server on your local machine.
Firmware
While existing devices can be used without changing the firmware, if you don't
already have a device on Golioth, the blinky example
provides a simple demonstration of how to expose LED control to an LLM via
tinymcp. It uses Zephyr RTOS, which requires
setting up
dependencies
before building. After doing so, you can initialize your workspace with one of
the following commands.
west init -l .
Or, to use the downstream Nordic nRF Connect SDK.
west init -l . --mf west-ncs.yml
With your workspace initialized, use west update to fetch necessary modules
and libraries.
west update --narrow -o=--depth=1
You are now ready to build the firmware and flash your device. See the blinky documentation for more information.
Server
In order to run the tinymcp MCP server locally, the following environment
variables need to be supplied.
TINYMCP_PROJECT=<your-golioth-project-id>
TINYMCP_DEVICE=<your-golioth-device-id>
TINYMCP_API_KEY=<api-key-for-your-golioth-project>
The server can be built into an executable using go build -o tinymcp ./server
or run directly with go run ./server.
If you don't already have a device on Golioth, the blinky
example demonstrates how to expose LED control to an LLM via
tinymcp. See the documentation to build and
flash on your device, then expose the registered RPCs in your MCP schema.
There are many MCP client
implementations, most of which should
be compatible with tinymcp. Setup for a few popular options are listed below.
MCP Inspector
MCP Inspector is a visual testing tool for MCP servers. It allows you to interact with MCP methods directly, rather than going through an LLM. This can be useful when troubleshooting why an LLM may be failing to interact with your device.
The
documentation
provides information on how to quickly start the inspector. Once it is running,
you can point it to your local tinymcp MCP server by entering
http://localhost:8080 as the address and clicking Connect. You should be
presented with an option to List Tools, which should result in all of the RPCs
in your schema being exposed.
Claude Code
Claude Code is an agentic coding tool that you interact with in the terminal.
With the tinymcp MCP server running locally, it can be added to Claude
Code with a single command.
claude mcp add --transport http tinymcp http://localhost:8080 -H 'Authorization: Bearer none'
[!NOTE] The
Authorizationheader is supplied in this case to indicate to Claude Code that it should not attempt to authenticate via the OAuth flow.
Gemini CLI
The Gemini CLI is an open-source AI agent that allows you to access Gemini from the terminal.
The .gemini/settings.json file in this repository
will automatically configure the CLI to connect to a locally running tinymcp
MCP server if the CLI is started in this repository.
Preguntas sobre tinymcp MCP
¿Necesito modificar el firmware de mi dispositivo para usar tinymcp?
No, puedes usar dispositivos existentes en la plataforma Golioth sin realizar cambios en el firmware, exponiendo los RPC a través del esquema LightDB State.
¿Qué variables de entorno se requieren para ejecutar el servidor?
Debes proporcionar tu ID de proyecto de Golioth, el ID del dispositivo y la API key de tu proyecto de Golioth.
¿Puedo usar esto con Claude Code?
Sí, puedes añadir el servidor tinymcp en ejecución a Claude Code con un solo comando mediante el transporte HTTP.