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 test-mcp-server

Or with uv:

uv add test-mcp-server

Configuration

API Key Setup

The OnceHub API key is configured once during integration:

For Claude Desktop:

{
  "mcpServers": {
    "test-mcp-server": {
      "command": "test-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
test-mcp-server

For Windows:

set ONCEHUB_API_KEY=your_api_key_here
test-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/test-mcp-server.git
cd test-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.1.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.1-py3-none-any.whl (56.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: demo_mcp_server-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d00d9c8443a2f6b23c6765e1066effc3cfa35c0dc4d51a0730c9d1ab367d0663
MD5 d57a391ab9bfbb6b96489ed8824b14ab
BLAKE2b-256 1000011c90cb9103da2ae9ac19dcf89b37ef70709e5c0739c65361e26c107e52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for demo_mcp_server-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc67a4fc890b7b63f4840581f64531a2e822c4f9ad5af3e2319a442a66a1d8b1
MD5 c0c0bb14ed2246be405cbbf513519fd8
BLAKE2b-256 185ca80dbd4c2af3bd7dd946cf1c918f0f037bae0ff53a972a4e78aa55415f94

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