drio
Open app

Tiny MCP Server (Rust)

Source

A rust implementation for the Machine Communication Protocol (MCP)

Catalog onlyCatalog onlySTDIO

Overview

Tiny MCP Server is a Rust implementation of the Machine Communication Protocol (MCP), designed to facilitate communication between machines.

To use Tiny MCP Server, you can run the server using standard input/output or Server-Sent Events (SSE) transport methods. You can also register custom tools for specific tasks.

  • Supports multiple transport layers (stdio and SSE) - Extensible tool registration and invocation mechanism - Type-safe API leveraging Rust's type system - Asynchronous design built on tokio for high-performance I/O - Simple integration with minimal dependencies
  1. Building communication systems for IoT devices.
  2. Creating server applications that require real-time data streaming.
  3. Developing tools that need to communicate with other services or applications.

Add to your AI client

Use these steps to connect Tiny MCP Server (Rust) in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "tiny-mcp-server-rs-allendang": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tiny-mcp-server-rs-allendang"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "tiny-mcp-server-rs-allendang": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tiny-mcp-server-rs-allendang"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "tiny-mcp-server-rs-allendang": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tiny-mcp-server-rs-allendang"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "tiny-mcp-server-rs-allendang": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tiny-mcp-server-rs-allendang"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "tiny-mcp-server-rs-allendang": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tiny-mcp-server-rs-allendang"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "tiny-mcp-server-rs-allendang": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tiny-mcp-server-rs-allendang"
      ]
    }
  }
}

FAQ

What programming language is Tiny MCP Server written in?

Tiny MCP Server is written in Rust, which provides safety and performance benefits.

How can I run the server?

You can run the server using examples provided in the repository, such as `cargo run --example stdio` for stdio transport or `cargo run --example sse` for SSE transport.

Is there documentation available?

Yes, detailed API documentation is available at [API documentation](https://docs.rs/tiny_mcp_server).