pypi-mcp-test
A simple MCP (Model Context Protocol) server demonstration package.
Installation
uv add pypi-mcp-test
Or install directly from the source:
uv add git+https://github.com/username/pypi-mcp-test.git
Usage
Run as a standalone server
uv run mcp install -m pypi_mcp_test
Or run directly:
uv run -m pypi_mcp_test
Use with MCP Inspector
npx @modelcontextprotocol/inspector uvx pypi-mcp-test
Configure in Claude Desktop, Cursor or Windsurf
Add this to your MCP configuration:
{
"mcpServers": {
"Demo": {
"command": "uvx",
"args": [
"pypi-mcp-test"
]
}
}
}
The nice thing about this approach is that uvx will install dependencies into a temporary directory, so you don't need to first install and then figure out the path of that environment.
Features
This simple MCP server provides:
- An
addtool that adds two numbers - A greeting resource that returns a personalized greeting
Example Tool Usage
- Adding numbers: Call the
addtool with parametersaandb - Getting a greeting: Access the resource at
greeting://{name}
Development
To set up the development environment:
# Clone the repository
git clone https://github.com/username/pypi-mcp-test.git
cd pypi-mcp-test
# Set up a virtual environment
uv init
uv add mcp[cli]
# Run the server locally
uv run -m pypi_mcp_test
Metadata
Release files for pypi-mcp-test 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pypi_mcp_test-0.1.2.tar.gz | 23.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypi_mcp_test-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.1 kB
Release files / pypi_mcp_test-0.1.2.tar.gz
| Download URL | pypi_mcp_test-0.1.2.tar.gz |
|---|---|
| Size | 23.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9744d725fec63435a746c94ad0c3daca086522d85f3f200bf3f8703912230387
|
|
BLAKE2b-256 checksum How to use checksums |
b31509ad5af36f5af7f0ea9c23f600b899b4d771e0b3cd61b670152963bd9bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / pypi_mcp_test-0.1.2-py3-none-any.whl
| Download URL | pypi_mcp_test-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
827bceb93247cf8dcc55f3049f9584d026e4f5880e231ead025114b5dda4c536
|
|
BLAKE2b-256 checksum How to use checksums |
f2fd68aea6619b34b7fc2cdc6e18fbf2c2f9443a9b59586c00ecb1b9be34ab23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Security for pypi-mcp-test 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.