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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_mcp-0.1.0.tar.gz.
File metadata
- Download URL: simple_mcp-0.1.0.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc2c4b896ab107f03d16448a905f2c672dfc9cf8e54a4115607a25da8d5c94c6
|
|
| MD5 |
c9e25e678f48b109676e734507b04c67
|
|
| BLAKE2b-256 |
55bae0241709caef070df916217e8a5f1f78d36b03c86509e1c07a80b55b1372
|
File details
Details for the file simple_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: simple_mcp-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6d5a67159c6f4ab7d7d5e202db66b7f7f5b0b21af668da32766fa34c4365087
|
|
| MD5 |
a976e524e7c75669006fdcd663e8d266
|
|
| BLAKE2b-256 |
b51bb4bb64460814d84e29fb2511ca4ae618d1fa9e4d07ab00ee87454cbf2f60
|