Skip to main content

Simple MCP

A simple demonstration of the Model Context Protocol (MCP) implementation.

Overview

This project provides a minimal example of creating an MCP server with a simple mathematical operation. It demonstrates how to set up and use the MCP protocol for extending AI assistant capabilities.

Installation

pip install simple-mcp

Usage

After installation, you can use the simple-mcp command:

simple-mcp

To use as an MCP server with compatible AI assistants:

from simple_mcp.simple_mcp import mcp

# Start the MCP server
mcp.run()

Features

  • Simple addition function exposed as an MCP tool
  • Easy to extend with your own tools

Requirements

  • Python 3.13+
  • mcp[cli] >= 1.9.2

License

MIT

Metadata

Release files for simple-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-mcp 0.1.1
File Size Uploaded
simple_mcp-0.1.1.tar.gz 26.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-mcp 0.1.1
File Interpreter ABI Platform
simple_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.1 kB

Release files / simple_mcp-0.1.1.tar.gz

Download URL simple_mcp-0.1.1.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
21b0dd896b39502bc236be8503292fb726ba427614eb0e48593b5a2f89f6c85b
BLAKE2b-256 checksum
How to use checksums
0ab77318c7ee00c592217ac11aedeb3941346919ddcbb94eaeaca9f06b7f3c21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / simple_mcp-0.1.1-py3-none-any.whl

Download URL simple_mcp-0.1.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83ab9398b1b6f9b5f0987bc8a67d4d47cbddec9e8aafb67b9c77ca5be74f0d2f
BLAKE2b-256 checksum
How to use checksums
b8314d7b2b3308382b8f6f26f18267b962349cc564a1b784899e870557b8803c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page