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.2.tar.gz (51.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.2-py3-none-any.whl (56.0 kB view details)

Uploaded Python 3

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

Hashes for demo_mcp_server-1.0.2.tar.gz
Algorithm Hash digest
SHA256 286d5a418c9ef93a0e8b6d1d124482b2c6b0992893093b5a618fb7593c70dcaf
MD5 5dde01814430a50ad8b689ee61cafb31
BLAKE2b-256 6b85733851e527a0caed9e72485caf7127029e11866be0e863c9f0b5aa0e8b26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for demo_mcp_server-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65102c69a742b440d09d81f5a7a9a19082f3e2072bc24a5d9b9446c1066c5241
MD5 3b06b5956316d08ad1ffc91c59a82fe1
BLAKE2b-256 2e3e0b26281a94017294ce8fc63bb7dce9873bff4109054aa4e194eb6ff0d43a

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