mcp-simple-server-python

MotonoKohei/mcp-simple-server-python

3.1

If you are the rightful owner of mcp-simple-server-python and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A simple Model Context Protocol (MCP) server implemented in Python with basic tools.

Tools
4
Resources
0
Prompts
0

Simple MCP Server (Python)

A simple Model Context Protocol (MCP) server implemented in Python with basic tools.

Features

  • echo: Echo the input message
  • concat-abc: Concatenate 'abc' to the input text
  • now: Get current timestamp
  • nonce: Generate a random nonce

Installation

Install using pipx:

pipx install mcp-simple-server

Usage

The server can be used with Claude Desktop or any MCP-compatible client by adding the following to your configuration:

{
  "mcpServers": {
    "simple-tools": {
      "command": "mcp-simple-server"
    }
  }
}

Development

  1. Clone the repository
  2. Install dependencies: pip install -e .
  3. Run the server: python -m mcp_simple_server.server

Tools

echo

Echoes the provided message.

Parameters:

  • message (string): Message to echo

concat-abc

Concatenates 'abc' to the provided text.

Parameters:

  • text (string): Text to concatenate with 'abc'

now

Returns the current timestamp.

Parameters: None

nonce

Generates a random nonce.

Parameters:

  • length (integer, optional): Length of the nonce (default: 16)