Tinymcp

Data and AI

Let LLMs control embedded devices via the Model Context Protocol.

Your AI app calls the Tinymcp MCP server, which does the data and AI work and sends the result back to the chat.

About Tinymcp

Tinymcp is a community MCP server from golioth, filed in our directory under data and ai. Let LLMs control embedded devices via the Model Context Protocol.

At a glance

Publisher
golioth (community)
Runs
See the README for setup
Written in
Go
License
Apache-2.0
GitHub stars
158

How to set up Tinymcp

  1. Follow the install steps in the Tinymcp README; it is written in Go, so have that toolchain ready.
  2. Check the Tinymcp README for keys or settings; the registry lists none that Tinymcp requires.
  3. Add Tinymcp to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Tinymcp tools to confirm the connection.
  5. Run one read-only task with Tinymcp first, and keep your app asking before each tool call until the results look right.

Tinymcp compared with similar servers

  • OpenDataMCP by OpenDataMCP has fewer GitHub stars than Tinymcp (156 against 158); both are community servers, and both run locally.
  • Gentleman Book by Alan-TheGentleman has more GitHub stars than Tinymcp (160 against 158); both are community servers, and both run locally.
  • MediaWiki by ProfessionalWiki has fewer GitHub stars than Tinymcp (155 against 158); both are community servers, and both run locally.

Before you connect Tinymcp

  • Give Tinymcp its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Tinymcp tool call until you trust what it does with them.
  • Treat text that Tinymcp fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Tinymcp on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Tinymcp

How marketing and sales teams put Tinymcp to work, by company size. Pick the size closest to yours and start Tinymcp on one use case.

Small business

  • A small team can use Tinymcp to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask Tinymcp to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • Tinymcp runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect Tinymcp to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use Tinymcp to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Start Tinymcp on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Tinymcp inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use Tinymcp in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • Tinymcp is a community server, so have security review the code and pin a version before Tinymcp touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Tinymcp README

From golioth/tinymcp on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

tinymcp

Let LLMs control embedded devices via the Model Context Protocol.

[!WARNING] tinymcp is 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 (github.com/golioth/tinymcp/blob/main/examples/blinky) 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 (github.com/modelcontextprotocol/inspector/blob/main) 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 Authorization header 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.

Questions about Tinymcp

What is the Tinymcp MCP server?

Let LLMs control embedded devices via the Model Context Protocol. Tinymcp is maintained by golioth on GitHub at golioth/tinymcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Tinymcp MCP server?

Tinymcp doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (golioth/tinymcp). Like most servers, Tinymcp ends with a command or URL you paste into your AI app's MCP config.

Does Tinymcp need an API key?

The registry lists no required keys for Tinymcp. Check the Tinymcp README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Tinymcp an official MCP server?

No. Tinymcp is a community server maintained by golioth. Community servers can be excellent; read the code and the open issues before you give Tinymcp access to company data.

What license is Tinymcp under?

Tinymcp is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Tinymcp; the service it connects to has its own terms.