Skip to main content

MCP server providing math operations and OnceHub booking calendar integration

Project description

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.

Project 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.0.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

demo_mcp_server-1.0.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file demo_mcp_server-1.0.0.tar.gz.

File metadata

  • Download URL: demo_mcp_server-1.0.0.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.3

File hashes

Hashes for demo_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3b2c2cfef7709412516663b4090ef1f9d3c29fb49326b11cd1e1ddce9147c643
MD5 6c927e060fa0a31c19cbfe1d660422be
BLAKE2b-256 e429edce5e1119842165fecff20947be07f7d5cb441f36127761b4ac188dac74

See more details on using hashes here.

File details

Details for the file demo_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for demo_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6807c3b2b0d3861bb780c05585fdb8012559fa93b39dfe5e12eba970eb8d68
MD5 6380c18383c655446b73b0b3f61fef6a
BLAKE2b-256 c12dc7633ae8df9b3f2760bb4e7badeefbc3b6c83ed32fa724bee2a23c6c37e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page