# veeink-mcp-server
A simple [FastMCP](https://pypi.org/project/fastmcp/) server example built with Python.
This project demonstrates how to expose custom **tools** and **resources** over the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/).
---
## 🚀 Features
- ⚡ Built with [FastMCP](https://pypi.org/project/fastmcp/)
- 🔧 Provides a simple `add(a, b)` tool
- 📡 Supports dynamic greeting resources (`greeting://{name}`)
- 🖥️ Works over **stdio** (default), **SSE**, or **Streamable HTTP** transports
---
## 📦 Installation
```bash
pip install veeink-mcp-server
Or using uv:
uv tool install veeink-mcp-server
🖥️ Usage
After installation, run the MCP server:
veeink-mcp-server
By default it runs with stdio transport, but you can also configure:
def main() -> None:
mcp.run(transport="stdio") # Default
# mcp.run(transport="sse") # SSE transport
# mcp.run(transport="streamable-http") # Streamable HTTP transport
🔧 Example Tools & Resources
This server exposes:
1. Tool: add
@mcp.tool()
def add(a: int, b: int) -> dict:
"""Add two numbers"""
return {"result": a + b}
✅ Example call:
{"tool": "add", "args": {"a": 2, "b": 3}}
Response:
{"result": 5}
2. Resource: greeting://{name}
@mcp.resource("greeting://{name}")
def get_greeting(name: str) -> str:
"""Get a personalized greeting"""
return f"Hello, {name}!"
✅ Example call:
{"resource": "greeting://Alice"}
Response:
Hello, Alice!
🛠 Development
Clone the repository:
git clone https://github.com/yourusername/veeink-mcp-server.git
cd veeink-mcp-server
Install in editable mode:
pip install -e .
Run the server:
veeink-mcp-server
Metadata
Release files for veeink-mcp-server 0.2.0
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 | |
|---|---|---|---|---|
| veeink_mcp_server-0.2.0.tar.gz | 1.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| veeink_mcp_server-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / veeink_mcp_server-0.2.0.tar.gz
| Download URL | veeink_mcp_server-0.2.0.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34a295411ed43f82f02606cc07b2b8228a369265b28ad7f93aea917a5941ec58
|
|
BLAKE2b-256 checksum How to use checksums |
9894137b756e46271797619a1a329d4b22e55dc3f7a125561bb969118028d4d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|
Release files / veeink_mcp_server-0.2.0-py3-none-any.whl
| Download URL | veeink_mcp_server-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c253d55e2106d658d254475067526909a5bf78cda1af90d6dcbf129bebbf9d33
|
|
BLAKE2b-256 checksum How to use checksums |
091e3a0c52c8d1b02464660a3811ae73bb4bd25fcbfc117d502b2de632dc97c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|
Security for veeink-mcp-server 0.2.0
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.