Skip to main content

A simple MCP server with hello and dice rolling tools

Project description

Simple MCP Server

A simple MCP server implementation with two example tools:

  1. say_hello(name: str) -> str - Returns a greeting message
  2. roll_dice(sides: int = 6) -> int - Returns a random dice roll

Installation

pip install simple-mcp-server

Usage

After installation, run:

simple-mcp-server

The server will start and be ready to accept MCP connections.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple-mcp-server-0.1.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_mcp_server-0.1.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file simple-mcp-server-0.1.0.tar.gz.

File metadata

  • Download URL: simple-mcp-server-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for simple-mcp-server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c4a3e0d22f298f6d870f9bb9b2be77fcf2d8fa4de97e0bd897ec088460fc427
MD5 ad5b542f728fd5b3bca1a08833ab13ea
BLAKE2b-256 b165cae9c58448c5c383bb22b6b3f231c1f897f5726265b869e35c054b3033d1

See more details on using hashes here.

File details

Details for the file simple_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4a81edb6b25a2f14dae2e7b82ae39ff3d9ad83befeb7a3ea84d84e1ae53f639
MD5 c7ede68f82f7f99b1a86a617b74d4f85
BLAKE2b-256 81f40f407f1588fb44ffb5ae86c10accc3f9444511f1108ae47c7dd8812acaaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page