blair812-mcp-demo
A demo Model Context Protocol server built with the
official Python SDK (mcp 2.x, MCPServer). It exposes a simple add tool and a
greeting resource template — a minimal, working starting point for your own MCP server.
Requirements
- Python
>=3.13 uv(recommended) orpip
Usage
The easiest way to run it is with uvx, which fetches and runs the package in an
isolated environment — no manual install needed.
Add this to your MCP client configuration (Qoder, Claude Desktop, etc.):
{
"mcpServers": {
"blair812-mcp-demo": {
"command": "uvx",
"args": ["blair812-mcp-demo"]
}
}
}
Alternatively, install it and point your client at the blair812-mcp-demo command:
pip install blair812-mcp-demo
{
"mcpServers": {
"blair812-mcp-demo": {
"command": "blair812-mcp-demo"
}
}
}
The server speaks MCP over stdio.
What's inside
| Type | Name | Description |
|---|---|---|
| Tool | add(a: int, b: int) -> int |
Returns the sum of a and b. |
| Resource template | greeting://{name} |
Returns Hello, {name}!. |
Local development
Clone the project, then use the MCP Inspector to debug it interactively:
uv sync
uv run mcp dev src/mcp_demo/server.py
This opens the MCP Inspector in your browser so you can list and call tools and read resources.
License
Demo project — use it freely as a template for your own MCP servers.
Metadata
Release files for blair812-mcp-demo 0.1.1
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 | Actions |
|---|---|---|---|---|
| blair812_mcp_demo-0.1.1.tar.gz | 1.8 kB | Without provenance | Details for blair812_mcp_demo-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blair812_mcp_demo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for blair812_mcp_demo-0.1.1-py3-none-any.whl |
Total release size: 4.6 kB
Release files / blair812_mcp_demo-0.1.1.tar.gz
| Download URL | blair812_mcp_demo-0.1.1.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfe42ffd18372aac0b9da71cfd3faccd8f53b09d31b40209aadf9198e2be2e2b
|
|
BLAKE2b-256 checksum How to use checksums |
2508d8763bd8dfea1ba49dbd1bb2c87b4968657a795c58ba7699d1218eee16b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / blair812_mcp_demo-0.1.1-py3-none-any.whl
| Download URL | blair812_mcp_demo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
192255c33cf86625218eb843dea5c82cb064f44a6f282206122eb838e91ea158
|
|
BLAKE2b-256 checksum How to use checksums |
30f1c160ebfcdcf3049b80dc417278947dfb205af7000a37c5211446b0004f03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for blair812-mcp-demo 0.1.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.