Demo MCP Server
A Model Context Protocol (MCP) server providing math operations and OnceHub booking calendar integration.
Features
🧮 Math Tools
- add: Add two numbers together with input validation
📅 Booking Tools
- get_booking_time_slots: Retrieve all available time slots from OnceHub booking calendars
- schedule_meeting: Book meetings with participant details and location preferences
Installation
pip install demo-mcp-server
Or with uv:
uv add demo-mcp-server
Configuration
API Key Setup
The OnceHub API key is configured once during integration:
For Claude Desktop:
{
"mcpServers": {
"demo-mcp-server": {
"command": "demo-mcp-server",
"env": {
"ONCEHUB_API_KEY": "your_api_key_here"
}
}
}
}
For Command Line:
# Set environment variable
export ONCEHUB_API_KEY="your_api_key_here"
# Run server
demo-mcp-server
For Windows:
set ONCEHUB_API_KEY=your_api_key_here
demo-mcp-server
Usage
Once configured, you can use the tools without specifying the API key:
# Get available slots
"Get booking slots for calendar 'cal_123'"
# Schedule meeting
"Schedule a meeting for calendar 'cal_123' on 2024-01-15 at 2:30 PM EST for John Doe (john@example.com)"
Development
git clone https://github.com/yourusername/demo-mcp-server.git
cd demo-mcp-server
uv sync
License
MIT License - see LICENSE file for details.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
demo_mcp_server-1.0.2.tar.gz
(51.3 kB
view details)
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 demo_mcp_server-1.0.2.tar.gz.
File metadata
- Download URL: demo_mcp_server-1.0.2.tar.gz
- Upload date:
- Size: 51.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
286d5a418c9ef93a0e8b6d1d124482b2c6b0992893093b5a618fb7593c70dcaf
|
|
| MD5 |
5dde01814430a50ad8b689ee61cafb31
|
|
| BLAKE2b-256 |
6b85733851e527a0caed9e72485caf7127029e11866be0e863c9f0b5aa0e8b26
|
File details
Details for the file demo_mcp_server-1.0.2-py3-none-any.whl.
File metadata
- Download URL: demo_mcp_server-1.0.2-py3-none-any.whl
- Upload date:
- Size: 56.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65102c69a742b440d09d81f5a7a9a19082f3e2072bc24a5d9b9446c1066c5241
|
|
| MD5 |
3b06b5956316d08ad1ffc91c59a82fe1
|
|
| BLAKE2b-256 |
2e3e0b26281a94017294ce8fc63bb7dce9873bff4109054aa4e194eb6ff0d43a
|