Skip to main content

Demo MCP Server

A Model Context Protocol (MCP) server providing math operations and OnceHub booking calendar integration.

PyPI version License: MIT

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.

Metadata

Release files for demo-mcp-server 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for demo-mcp-server 1.0.2
File Size Uploaded Provenance Actions
demo_mcp_server-1.0.2.tar.gz 51.3 kB Without provenance Details for demo_mcp_server-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for demo-mcp-server 1.0.2
File Interpreter ABI Platform Actions
demo_mcp_server-1.0.2-py3-none-any.whl Python 3 none any Details for demo_mcp_server-1.0.2-py3-none-any.whl

Total release size: 107.2 kB

Release files / demo_mcp_server-1.0.2.tar.gz

Download URL demo_mcp_server-1.0.2.tar.gz
Size 51.3 kB
Tags Source
SHA-256 checksum
How to use checksums
286d5a418c9ef93a0e8b6d1d124482b2c6b0992893093b5a618fb7593c70dcaf
BLAKE2b-256 checksum
How to use checksums
6b85733851e527a0caed9e72485caf7127029e11866be0e863c9f0b5aa0e8b26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Release files / demo_mcp_server-1.0.2-py3-none-any.whl

Download URL demo_mcp_server-1.0.2-py3-none-any.whl
Size 56.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65102c69a742b440d09d81f5a7a9a19082f3e2072bc24a5d9b9446c1066c5241
BLAKE2b-256 checksum
How to use checksums
2e3e0b26281a94017294ce8fc63bb7dce9873bff4109054aa4e194eb6ff0d43a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Security for demo-mcp-server 1.0.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page