MCP Hub
Back to servers

EventHorizon

A comprehensive MCP server for interacting with the EventHorizon Django platform to manage event lifecycles, user registrations, and approval workflows using Knox authentication.

Stars
2
Tools
13
Updated
Dec 29, 2025
Validated
Jan 11, 2026

EventHorizon MCP Server

A Model Context Protocol (MCP) server for integrating with the EventHorizon Django event management platform.

Installation

From GitHub (Recommended)

Run directly using npx without cloning:

npx github:NotoriousArnav/EventHorizon-MCP

From Source

git clone https://github.com/NotoriousArnav/EventHorizon-MCP.git
cd EventHorizon-MCP
npm install
npm run build

Configuration

Environment Variables

VariableRequiredDefaultDescription
EVENTHORIZON_BASE_URLYeshttp://localhost:8000EventHorizon API URL
EVENTHORIZON_API_TOKENYes-Knox authentication token
LOG_LEVELNoinfodebug, info, warn, error
API_TIMEOUTNo30000Request timeout in ms

Getting a Knox Token

  1. Log into your EventHorizon Django instance
  2. Go to Django Admin > Knox Tokens > Add Token
  3. Or use the API: POST /api/auth/login/ with credentials

MCP Client Setup

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json (Linux) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "eventhorizon": {
      "command": "npx",
      "args": ["-y", "github:NotoriousArnav/EventHorizon-MCP"],
      "env": {
        "EVENTHORIZON_BASE_URL": "http://localhost:8000",
        "EVENTHORIZON_API_TOKEN": "your_knox_token_here"
      }
    }
  }
}

OpenCode

Add to your OpenCode MCP config (~/.config/opencode/config.json):

{
  "mcp": {
    "servers": {
      "eventhorizon": {
        "type": "local",
        "command": ["npx", "-y", "github:NotoriousArnav/EventHorizon-MCP"],
        "env": {
          "EVENTHORIZON_BASE_URL": "http://localhost:8000",
          "EVENTHORIZON_API_TOKEN": "your_knox_token_here"
        }
      }
    }
  }
}

Cursor

Add to Cursor's MCP settings:

{
  "mcpServers": {
    "eventhorizon": {
      "command": "npx",
      "args": ["-y", "github:NotoriousArnav/EventHorizon-MCP"],
      "env": {
        "EVENTHORIZON_BASE_URL": "http://localhost:8000",
        "EVENTHORIZON_API_TOKEN": "your_knox_token_here"
      }
    }
  }
}

Local Development

If running from source:

{
  "mcpServers": {
    "eventhorizon": {
      "command": "node",
      "args": ["/absolute/path/to/EventHorizon-MCP/dist/index.js"],
      "env": {
        "EVENTHORIZON_BASE_URL": "http://localhost:8000",
        "EVENTHORIZON_API_TOKEN": "your_knox_token_here"
      }
    }
  }
}

Available Tools

Event Management

ToolDescription
list_eventsList events with optional search/location filters
get_eventGet detailed event information by ID
create_eventCreate a new event
update_eventUpdate an existing event
delete_eventDelete an event (organizer only)

Registration

ToolDescription
register_for_eventRegister for an event
unregister_from_eventCancel registration
get_event_registrationsView registrations (organizer only)
manage_registrationApprove/waitlist/cancel registration

User

ToolDescription
get_my_profileGet current user profile
get_my_registrationsList your event registrations
get_my_hosted_eventsList events you organize

Utility

ToolDescription
health_checkTest API connection and auth

Development

# Install dependencies
npm install

# Run in development mode (hot reload)
npm run dev

# Build for production
npm run build

# Run production build
npm start

# Run tests
npm test

Testing Without an MCP Client

Use the MCP Inspector:

npx @modelcontextprotocol/inspector node dist/index.js

Or send raw JSON-RPC:

echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' | node dist/index.js

Requirements

  • Node.js 18+
  • EventHorizon Django instance with Knox authentication enabled

License

MIT

Reviews

No reviews yet

Sign in to write a review