tinymcp MCP sunucusu
✓ ResmiGolioth RPC'lerini ve LightDB State'i MCP araçları olarak sunarak LLM'lerin gömülü cihazları kontrol etmesini sağlar.
Ayrıca bilinen adı golioth/tinymcp
- Yıldızlar
- 158
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- —
- Son commit
- 3 Tem 2025
- Lisans
- Apache-2.0
tinymcp MCP nedir?
tinymcp bir MCP sunucusudur. Golioth RPC'lerini ve LightDB State'i MCP araçları olarak sunarak LLM'lerin gömülü cihazları kontrol etmesini sağlar.
Özet, projenin README dosyasından oluşturuldu
tinymcp MCP sunucusu hakkında
tinymcp, Golioth RPC'lerini ve LightDB State'i erişilebilir MCP araçlarına dönüştürerek bir LLM aracılığıyla gömülü cihazların kontrol edilmesini sağlar. Yerel olarak tinymcp çalıştıran geliştiriciler, Golioth yönetim API'si üzerinden uzak donanımlara bağlanabilirler. Kullanıcılar; TINYMCP_PROJECT, TINYMCP_DEVICE ve TINYMCP_API_KEY ortam değişkenlerini sağlayarak yerel ortamlarını belirli Golioth projelerine ve cihazlarına bağlayabilirler.
Bu kurulum, firmware değişikliği gerektirmeden mevcut cihaz fonksiyonlarının sunulmasına olanak tanımasıyla öne çıkar. Bu, LightDB State içindeki mcp/tools/schema yoluna bir şema eklenerek gerçekleştirilir. Proje, sıfırdan başlayanlar için Zephyr RTOS kullanan bir blinky örneği içerse de sunucu, halihazırda Golioth platformuna bağlı cihazlarla çalışacak şekilde tasarlanmıştır. Claude Code, Gemini CLI ve MCP Inspector gibi uyumlu istemciler, bu fiziksel yeteneklerle standart araç çağrıları aracılığıyla etkileşime girebilir.
Neler yapabilirsiniz
- 1Firmware güncellemesi yapmadan donanımı kontrol edinBir geliştirici, LightDB State şemasını güncelleyerek bir yapay zekaya cihaz fonksiyonunu tetiklemesi talimatını verebilir.
- 2Cihaz etkileşimlerini görsel olarak test edinBir LLM kullanmadan önce belirli RPC'lerin araç olarak doğru şekilde sunulduğunu doğrulamak için MCP Inspector'ı kullanın.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
Yapılandırma
TINYMCP_API_KEYTINYMCP_DEVICETINYMCP_PROJECT
| Ad | Açıklama | Sunucu |
|---|---|---|
| TINYMCP_API_KEY | — | |
| TINYMCP_DEVICE | — | |
| TINYMCP_PROJECT | — |
Otomatik kontroller
Çalıştırıldı 15 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirgolioth/tinymcp is public and reachablegithub.com/golioth/tinymcp ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2025-07-03github.com/golioth/tinymcp ↗Bulgu
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
tinymcp
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.
tinymcp MCP soruları
tinymcp kullanmak için cihaz firmware'ini değiştirmem gerekiyor mu?
Hayır, Golioth platformundaki mevcut cihazlar, RPC'lerin LightDB State şeması üzerinden sunulmasıyla firmware değişikliği gerektirmeden kullanılabilir.
Sunucuyu çalıştırmak için hangi ortam değişkenleri gereklidir?
Golioth proje ID'nizi, cihaz ID'nizi ve Golioth projenize ait API anahtarını sağlamanız gerekir.
Bunu Claude Code ile kullanabilir miyim?
Evet, çalışan tinymcp sunucusunu HTTP transport üzerinden tek bir komutla Claude Code'a ekleyebilirsiniz.