terminus-mcp
Enables agents to create and publish content to a Terminus instance, including screen and playlist management, discovery, and documentation search.
README
terminus-mcp
An MCP server for agents that create and publish content to a Terminus instance.
The project targets version 2 of the official Model Context Protocol TypeScript SDK and Node.js 24.2 or newer.
Status
The curated publishing API is implemented and verified against Terminus
0.67.0. See docs/design.md for the API boundary and security
model.
The server exposes ten tools:
get_display_context,list_screens,get_screen_image, andlist_playlistsfor Terminus discovery;search_screen_docsandread_screen_docfor agent-readable authoring and TRMNL Framework documentation;create_screenandupdate_screenfor complete HTML/CSS screens;save_playlistfor complete ordered playlist replacement;assign_playlistfor the single allowed device mutation.
It deliberately does not expose authentication, firmware endpoints, deletion, model mutation, raw device credentials, or a generic API proxy.
Installation
Register the server with your MCP host:
{
"mcpServers": {
"terminus": {
"command": "npx",
"args": ["-y", "terminus-mcp"],
"env": {
"TERMINUS_URL": "http://terminus.example:2300",
"TERMINUS_LOGIN": "you@example.com",
"TERMINUS_PASSWORD": "..."
}
}
}
}
Or run the public container image:
docker run --rm -p 127.0.0.1:8002:8002 \
-e MCP_HOST=0.0.0.0 \
-e TERMINUS_URL -e TERMINUS_LOGIN -e TERMINUS_PASSWORD \
ghcr.io/gjermundgaraba/terminus-mcp:latest
See Configuration for the environment variables and the note on credential handling.
Development
Development uses Vite+ (npm install -g vite-plus):
git clone https://github.com/gjermundgaraba/terminus-mcp.git
cd terminus-mcp
vp install
vp run ready
Run the development server over stdio:
vp run dev
Or run its native Streamable HTTP endpoint:
MCP_HOST=0.0.0.0 MCP_PORT=8002 vp run dev:http
Build and run the compiled server:
vp pack
vp run start
# or
MCP_HOST=0.0.0.0 MCP_PORT=8002 vp run start:http
Standard output is reserved for MCP messages. Diagnostics use standard error.
Configuration
The MCP host must provide:
TERMINUS_URL: Base URL of one Terminus instance.TERMINUS_LOGIN: Login email for the Terminus account.TERMINUS_PASSWORD: Login password for the Terminus account.
The HTTP entrypoint additionally accepts:
MCP_HOST: Listen address; defaults to127.0.0.1.MCP_PORT: Listen port; defaults to8002.MCP_ALLOWED_HOSTS: Optional comma-separated additionalHostandOriginhostnames.terminus-mcpand loopback names are allowed by default.
Credentials will never be accepted as MCP tool arguments, returned in tool results, or intentionally written to logs. Inject them with the MCP host's secret-management facility instead of committing them to its configuration.
For remote MCP clients, use http://<host>:8002/mcp. /healthz provides a
container health check. The HTTP endpoint has no application-level
authentication and must remain on an access-controlled internal network.
Verification
vp run ready runs formatting, linting, strict type checks, protocol-level
tests through the official MCP client, and a production build.
To verify against a configured Terminus instance:
vp run verify:live
The live check exercises all ten tools. It creates a temporary screen and playlist, assigns the device's existing playlist back to itself, and deletes the temporary objects before exiting.
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.