Skip to main content

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

Project description

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

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-0.1.1.tar.gz (26.0 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-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file simple_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: simple_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for simple_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 21b0dd896b39502bc236be8503292fb726ba427614eb0e48593b5a2f89f6c85b
MD5 891a2a0f1ce7886cbf688f5cdc74f04b
BLAKE2b-256 0ab77318c7ee00c592217ac11aedeb3941346919ddcbb94eaeaca9f06b7f3c21

See more details on using hashes here.

File details

Details for the file simple_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: simple_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for simple_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83ab9398b1b6f9b5f0987bc8a67d4d47cbddec9e8aafb67b9c77ca5be74f0d2f
MD5 c1d76a4f87d743cab5c69be232b27f57
BLAKE2b-256 b8314d7b2b3308382b8f6f26f18267b962349cc564a1b784899e870557b8803c

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