tinystruct-mcp
The tinystruct-mcp is an extensible MCP server based on tinystruct framework via the Model Context Protocol (MCP).
Install / Use
claude mcp add tinystruct -- npx -y github:tinystruct/tinystruct-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of tinystruct-mcp
tinystruct-mcp scores 80/100 on our quality scale, 3602nd of 4,623 Development & Engineering skills we index.
Its MCP Server is 6.3 KB long, well organised into 18 sections with 4 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 3 months ago, so tinystruct-mcp is actively maintained.
- Our last check on 2026-09-29 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 85/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
tinystruct-mcp compared with similar skills
All 4 of these similar skills score higher than tinystruct-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| tinystruct-mcp (this skill)by tinystruct | 80 | 10 | 3mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 91.8k | 20d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.5k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.2k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 45.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install tinystruct-mcp?
- Run
claude mcp add tinystruct -- npx -y github:tinystruct/tinystruct-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does tinystruct-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is tinystruct-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 85/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is tinystruct-mcp still maintained?
- The repository was last updated about 3 months ago, so tinystruct-mcp is actively maintained.
Skill content
View source on GitHubtinystruct MCP project
tinystruct MCP is a demonstration project that showcases how to develop Model Context Protocol (MCP) tools using the tinystruct framework. It provides a modular Java-based MCP server with built-in tools for file system management and GitHub operations.
This project is designed to bridge the gap between Large Language Models (LLMs) and external systems, enabling AI agents to interact with the physical file system and version control systems securely and efficiently.
Key Features
- Modular Architecture: Built with Maven, allowing for easy expansion and isolation of tool sets.
- Annotation-Driven: Simplify tool development using
@Actionand@Argumentannotations for automatic schema generation. - Ready-to-Use Tools: Includes robust implementations for Git, GitHub API, and local FileSystem operations.
- Extensible Design: Inherits the flexibility of the tinystruct framework for building high-performance Java applications.
- Standardized Communication: Uses
org.tinystruct.data.component.Builderfor consistent JSON-based interaction.
Project Structure
The project is organized into submodules, each representing a specific domain of tools:
github/: Implements Git operations (clone, pull, push, status) and GitHub API integrations (issues, PRs, actions).filesystem/: Provides comprehensive local file system management (read, write, copy, move, delete, list).database/: Provides database connectivity and operations (query, insert, update, delete, describe).websearch/: Provides web search capabilities using DuckDuckGo Instant Answer API.bin/: Contains scripts for server management and dispatching commands.
Getting Started
Prerequisites
- Java 17 or higher
- Maven 3.8+
1. Build the Project
Clone the repository and build the modules using Maven:
git clone https://github.com/tinystruct/tinystruct-mcp.git
cd tinystruct-mcp
mvn clean install
2. Start the MCP Server
You can start the server programmatically or via the command line.
Command Line (CLI)
Use the bin/dispatcher (for Linux/macOS) or bin/dispatcher.cmd (for Windows) script to start the server:
# On Linux / macOS
bin/dispatcher start --import org.tinystruct.system.HttpServer --import org.tinystruct.mcp.GitHub --import org.tinystruct.mcp.FileSystem --import org.tinystruct.mcp.Database --import org.tinystruct.mcp.websearch.WebSearch --server-port 777
# On Windows
bin\dispatcher.cmd start --import org.tinystruct.system.HttpServer --import org.tinystruct.mcp.GitHub --import org.tinystruct.mcp.FileSystem --import org.tinystruct.mcp.Database --import org.tinystruct.mcp.websearch.WebSearch --server-port 777
Programmatic Startup (Java)
Include the following in your Main class to boot the server with integrated tools:
import org.tinystruct.ApplicationContext;
import org.tinystruct.application.Context;
import org.tinystruct.system.ApplicationManager;
import org.tinystruct.system.HttpServer;
import org.tinystruct.mcp.GitHub;
import org.tinystruct.mcp.FileSystem;
import org.tinystruct.mcp.Database;
import org.tinystruct.mcp.websearch.WebSearch;
public class Main {
public static void main(String[] args) {
Context ctx = new ApplicationContext();
ctx.setAttribute("--server-port", "777");
ApplicationManager.init();
ApplicationManager.install(new GitHub());
ApplicationManager.install(new FileSystem());
ApplicationManager.install(new Database());
ApplicationManager.install(new WebSearch());
ApplicationManager.install(new HttpServer());
ApplicationManager.call("start", ctx);
}
}
Built-in Tools
GitHub Tool (github/)
| Action | Description |
| :--- | :--- |
| github/clone | Clone a Git repository |
| github/pull | Pull changes from a remote repository |
| github/push | Push changes to a remote repository |
| github/status | Get the current status of a local repository |
| github/issues | Fetch GitHub issues for a repository |
| github/prs | Fetch GitHub pull requests |
| github/actions | List GitHub Actions workflows |
FileSystem Tool (filesystem/)
| Action | Description |
| :--- | :--- |
| filesystem/info | Get metadata about a file or directory |
| filesystem/exists | Check if a path exists |
| filesystem/read | Read contents of a file (UTF-8 or Base64) |
| filesystem/write | Write content to a file (overwrite or append) |
| filesystem/list | List items in a directory |
| filesystem/copy | Copy a file or directory |
| filesystem/move | Move or rename a file or directory |
| filesystem/delete | Delete a file or directory (recursive support) |
| filesystem/mkdir | Create a new directory |
Database Tool (database/)
| Action | Description |
| :--- | :--- |
| db/list-tables | List all tables in the connected database |
| db/describe | Describe the columns and types of a specific table |
| db/query | SELECT rows from a table with optional WHERE and LIMIT |
| db/insert | INSERT a row into a table |
| db/update | UPDATE rows in a table matching a WHERE clause |
| db/delete | DELETE rows from a table matching a WHERE clause |
| db/execute | Execute arbitrary SQL |
WebSearch Tool (websearch/)
| Action | Description |
| :--- | :--- |
| websearch/search | Perform a web search using DuckDuckGo Instant Answer API |
Developing Your Own Tools
Creating new MCP tools is straightforward. Simply extend the MCPTool class and annotate your methods.
@Action(value = "mytool/greet", description = "Greet a user", arguments = {
@Argument(key = "name", description = "User's name", type = "string")
})
public String greet(String name) {
return "Hello, " + name + "!";
}
For a detailed guide on creating custom tools, check out DEVELOPING_TOOLS.md.
License
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
Note: MCP stands for Model Context Protocol.
Related Skills
Agent-Reach
91.8kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.5kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.2kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
ai-job-search
45.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
