Rust MCP server built with the poem framework

Rust MCP server built with the poem framework

poemcp•byrggh

A Rust MCP server exposing counter, adder, IPv4 validation, and CIDR checking tools over an SSE endpoint.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides counter tools to increment, decrement, and retrieve the current counter value.
  • •Provides an adder tool that adds two integers together.
  • •Validates whether a string is a valid IPv4 address.
  • •Checks whether an IP address falls within a specified CIDR range.

BEST FOR

  • •Developers building Rust web applications who want to expose MCP tools over SSE using the poem framework.
  • •Testing IP address validation and CIDR membership checks through an MCP tool interface.

ABOUT POEMCP

Rust MCP server built with the poem framework is cataloged as an MCP server attributed to rggh. A Rust MCP server exposing counter, adder, IPv4 validation, and CIDR checking tools over an SSE endpoint. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Rust MCP server built with the poem framework are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server expose its tools to clients?

The tools are exposed through a Server-Sent Events endpoint at /sse, allowing real-time client interaction.

Upstream README

View this exact version on GitHub

README.md · 5e07744ad245 · Fetched 2026-11-13 12:28:02 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Server with Combined Tools

This project implements a Model Context Protocol (MCP) server in Rust using the poem framework. The server provides multiple tools for managing counters, adding numbers, validating IP addresses, and checking if an IP is in a CIDR range. The tools are exposed via a Server-Sent Events (SSE) endpoint, allowing clients to interact with the server in real-time.

Features

  • Counter:

    • Increment, decrement, and get the current value of a counter.
  • Adder:

    • Add two integers together.
  • IP Validator:

    • Validate if a given string is a valid IPv4 address.
  • CIDR Checker:

    • Check if an IP address is within a specified CIDR range.

Endpoints

  • /sse: A Server-Sent Events (SSE) endpoint that exposes the tools in real-time.

Tools

  • Increment: Increment the counter by 1.
  • Decrement: Decrement the counter by 1.
  • Get Value: Retrieve the current counter value.
  • Add: Add two numbers together.
  • Is Valid IPv4: Check if a string is a valid IPv4 address.
  • Is IP in CIDR: Check if an IP address is within a CIDR range.

Setup

Requirements

  • Rust 1.60 or higher
  • Cargo (Rust's package manager and build system)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/mcp-server.git
    cd mcp-server
    
  2. Build the project:

    cargo build --release
    
  3. Run the server:

    cargo run
    

The server will start and listen on http://127.0.0.1:8000.

Dependencies

  • poem: A web framework for Rust.
  • poem_mcpserver: A library for implementing MCP servers with tools and SSE endpoints.
  • tokio: Asynchronous runtime for Rust.

Example Usage

Once the server is running, you can connect to the /sse endpoint via an SSE client. Here's an example using JavaScript in the browser:

const eventSource = new EventSource('http://127.0.0.1:8000/sse');

eventSource.onmessage = function(event) {
    console.log('Received data:', event.data);
};

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Rust MCP server built with the poem framework from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/poemcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools