MCPHub LabRegistrycraigk5n/webcalendar
craigk5n

craigk5n/webcalendar

Built by craigk5n • 174 stars

What is craigk5n/webcalendar?

A high-performance MCP server implementation for craigk5n/webcalendar that bridges the gap between the Model Context Protocol and external services. It allows Large Language Models to interact with your data and tools with low latency and native support.

How to use craigk5n/webcalendar?

1. Ensure you have an MCP-compatible client (like Claude Desktop) installed. 2. Configure your server with: npx @modelcontextprotocol/craigk5n/webcalendar 3. Restart your client and verify the new tools are available in the system catalog.
🛡️ Scoped (Restricted)
npx @modelcontextprotocol/craigk5n-webcalendar --scope restricted
🔓 Unrestricted Access
npx @modelcontextprotocol/craigk5n-webcalendar

Key Features

Native MCP Protocol Support
High-performance Data Streaming
Type-safe Tool Definitions
Seamless Environment Integration

Optimized Use Cases

Connecting external databases to AI workflows
Automating workflow tasks via natural language
Augmenting developer productivity with specialized tools

craigk5n/webcalendar FAQ

Q

What is an MCP server?

MCP is an open standard that enables developers to build secure, two-way integrations between AI models and local or remote data sources.

Q

Is this server ready for production?

Yes, this server follows standard MCP security patterns and tool-restricted access.

Official Documentation

View on GitHub

WebCalendar

Version License PHP CI GitHub stars Downloads

WebCalendar is a multi-user, web-based calendar application built with PHP. It supports multiple database backends, features event management, user groups, access controls, and integrates with external applications. Designed for both personal and enterprise use, WebCalendar can be deployed on any web server with PHP support.

WebCalendar Month View

<p align="center"> <a href="https://www.k5n.us/webcalendar/webcalendar-screenshots/"> <img src="https://www.k5n.us/wp-content/gallery/webcalendar/thumbs/thumbs_wcss-week.png" alt="Week View" width="150"> </a> <a href="https://www.k5n.us/webcalendar/webcalendar-screenshots/"> <img src="https://www.k5n.us/wp-content/gallery/webcalendar/thumbs/thumbs_wcss-day.png" alt="Day View" width="150"> </a> <a href="https://www.k5n.us/webcalendar/webcalendar-screenshots/"> <img src="https://www.k5n.us/wp-content/gallery/webcalendar/thumbs/thumbs_wcss-add-entry.png" alt="Add Event" width="150"> </a> </p> <p align="center"><a href="https://www.k5n.us/webcalendar/webcalendar-screenshots/">View all screenshots →</a></p>

Features

  • Multiple Calendar Views - Month, week, day, year, and agenda views
  • Multi-User Support - User management with groups and permissions
  • Recurring Events - Support for complex event repetition patterns
  • Access Control - Granular permissions for viewing and editing events
  • Email Notifications - Event reminders and updates via email
  • Responsive Design - Works on desktop and mobile devices
  • Multi-Language - Translation files for 100+ languages (~35 human-contributed with substantial coverage)
  • iCal Import/Export - Import and export calendar data in iCalendar format
  • External Integration - LDAP, IMAP, and custom authentication bridges
  • Docker Ready - Pre-built Docker images for easy deployment
  • MCP Server - Model Context Protocol support for AI assistant integration

Requirements

  • PHP 8.2+ (tested against 8.2, 8.3, 8.4)
  • Database: MySQL/MariaDB, PostgreSQL, or SQLite3
  • Web server: Apache or Nginx with PHP support

Quick Start

Using Docker (Recommended)

# Clone the repository
git clone https://github.com/craigk5n/webcalendar.git
cd webcalendar

# Build and start with Docker Compose
docker compose -f docker/docker-compose-prod.yml up -d --build

# Open http://localhost:8080 and complete the install wizard

The wizard creates the administrator account; there is no default login. See docs/installation.md for a scripted install and for running the published craigk5n/webcalendar image.

Manual Installation

  1. Download the latest release or clone the repository:

    git clone https://github.com/craigk5n/webcalendar.git
    
  2. Point your web server to the WebCalendar directory

  3. Run the web-based installer by visiting your WebCalendar URL:

    https://yourserver.com/webcalendar/
    

    The installer will automatically redirect to the setup wizard.

  4. Follow the guided setup to configure your database and admin user

Headless Installation

For automated deployments, use the headless installer:

php wizard/headless.php

See the Installation Guide for detailed instructions.

Docker Development

Build and run a development environment with live file mounting:

# Start the development containers (MariaDB + PostgreSQL)
docker-compose -f docker/docker-compose-dev.yml up

# Access at http://localhost:8080 (MariaDB) or http://localhost:8081 (PostgreSQL)

Changes to your local files are immediately reflected in the container.

See Docker Deployment for all available configurations.

Configuration

Environment Variables

WebCalendar supports containerized deployments via environment variables:

# Docker Compose example
environment:
  WEBCALENDAR_USE_ENV: "true"
  WEBCALENDAR_DB_TYPE: mysqli
  WEBCALENDAR_DB_HOST: db
  WEBCALENDAR_DB_DATABASE: webcalendar
  WEBCALENDAR_DB_LOGIN: webcalendar
  WEBCALENDAR_DB_PASSWORD: "your_secure_password"
  WEBCALENDAR_MODE: prod

For Apache deployments, add to .htaccess or web server configuration:

SetEnv WEBCALENDAR_USE_ENV true
SetEnv WEBCALENDAR_DB_TYPE mysqli
SetEnv WEBCALENDAR_DB_HOST localhost
SetEnv WEBCALENDAR_DB_DATABASE webcalendar
SetEnv WEBCALENDAR_DB_LOGIN webcalendar
SetEnv WEBCALENDAR_DB_PASSWORD "your_secure_password"
SetEnv WEBCALENDAR_MODE prod

Database Support

  • ✅ MySQL / MariaDB (recommended)
  • ✅ PostgreSQL
  • ✅ SQLite3

Legacy backends (code present, untested on PHP 8): Oracle, DB2, ODBC, Interbase

Testing

Run the test suite with PHPUnit:

# Install dev dependencies (only needed for testing/development)
composer install

# Run PHPUnit tests
cd tests; ./run_unit_tests.sh; cd ..

# Syntax check all PHP files
cd tests; ./compile_test.sh; cd ..

Building from Source

WebCalendar includes all required dependencies in the release: front-end assets in pub/, PHPMailer in includes/classes/phpmailer/, and the MCP SDK in includes/classes/mcp-sdk/. You do not need to run Composer unless you are adding or updating dependencies.

If you need to modify dependencies:

# Install PHP dependencies (only needed for adding/updating dependencies)
composer install

# Copy vendor assets to project directories (requires Linux — uses sha384sum)
make

# After `composer update mcp/sdk`: refresh the bundled MCP SDK (any OS) and
# commit includes/classes/mcp-sdk/ and release-files together
make mcp-sdk

External Application Integration

WebCalendar can integrate with external systems for user authentication and configuration:

User Integration

Create a bridge script in includes/user-app-yourapp.php:

// Implement required functions for authentication
function user_valid_login($login, $password) { ... }
function user_get_users() { ... }

See user-ldap.php and user-app-joomla.php for examples.

Configuration Integration

Create includes/config-app-yourapp.php to override settings dynamically.

Roadmap

v1.9.16

  • PHP 8.2+ required (tested against 8.2, 8.3, 8.4)
  • New web-based installation/upgrade wizard
  • Headless CLI installer for automated deployments
  • MCP server for AI assistant integration
  • Multi-database Docker test infrastructure

v2.0.0 (Planned)

  • Modernized codebase with PHP 8.2+ features
  • Namespace implementation
  • Enhanced security and access control

Documentation

Browse the full documentation or see the docs index on GitHub.

Security

To report a security vulnerability, please see SECURITY.md. Do not open a public issue for security reports.

Contributing

Contributions are welcome! Please read the Contributing Guide for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Bug reports and feature requests use GitHub issue templates.

This project has a Code of Conduct. Please follow it in all interactions.

License

WebCalendar is licensed under the GNU General Public License v2.0.

Changelog

See CHANGELOG.md for release history.

Links

Maintainer

Craig Knudsen - craig@k5n.us - https://k5n.us

See AUTHORS for a complete list of contributors.

Global Ranking

5.9
Trust ScoreMCPHub Index

Based on codebase health & activity.

Manual Config

{ "mcpServers": { "craigk5n-webcalendar": { "command": "npx", "args": ["craigk5n-webcalendar"] } } }