Provides serverless deployment infrastructure for running the MCP server on Cloudflare's global edge network
Luma Events MCP Server
A Model Context Protocol (MCP) server that provides access to tech events from Luma. Built with mcp-lite and deployed on Cloudflare Workers.
Features
šÆ Search Tech Events: Discover upcoming tech events, conferences, and meetups
š Serverless: Runs on Cloudflare's global edge network
ā” Fast: Built with mcp-lite for minimal overhead
š§ MCP Compatible: Works with any MCP client (Claude Desktop, etc.)
Prerequisites
Before you begin, make sure you have:
Node.js 18+ installed
pnpm package manager (or npm/yarn)
Cloudflare account (free tier works fine)
Wrangler CLI (installed automatically with dependencies)
Installation
1. Clone or Navigate to Project
2. Install Dependencies
This will install:
mcp-lite- MCP server frameworkhono- Web framework for Cloudflare Workersaxios- HTTP client for API requestszod- Schema validationwrangler- Cloudflare Workers CLI
3. Set Up Authentication (Optional)
If you need to authenticate with Cloudflare:
This will open a browser window to authorize Wrangler with your Cloudflare account.
Local Development
Start Development Server
This starts a local Cloudflare Workers development server at http://localhost:8787.
Test the Server
Health Check: Visit
http://localhost:8787/in your browserShould display: "Luma MCP Server (Apify) ā connect via /mcp"
MCP Endpoint: The MCP server is available at
http://localhost:8787/mcp
Configure MCP Client
To use this server with an MCP client like Claude Desktop, add this to your MCP configuration file:
macOS/Linux: ~/.cursor/mcp.json or ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Note: For local development, use
localhost:8787. After deployment, replace with your Cloudflare Workers URL.
Deployment to Cloudflare
1. Deploy to Cloudflare Workers
This command:
Bundles your code
Minifies for production
Deploys to Cloudflare's global network
Provides you with a live URL (e.g.,
https://luma-events-mcp.your-subdomain.workers.dev)
2. Get Your Deployment URL
After deployment, Wrangler will display your Worker's URL:
3. Update MCP Client Configuration
Update your MCP configuration to use the production URL:
4. Restart Your MCP Client
Restart Claude Desktop or your MCP client to connect to the deployed server.
Usage
Once configured, you can use the following tool through your MCP client:
Available Tools
search_luma_events
Searches for tech events on Luma.
Parameters:
city(optional): City name (currently not implemented in filtering)country(optional): Country name (currently not implemented in filtering)query(optional): Search keyword or topic (e.g., "hackathon", "AI", "web3")
Example prompts in Claude:
"Find tech events on Luma"
"Search for AI events on Luma"
"Show me upcoming hackathons from Luma"
"What tech events are happening soon?"
Example Response: The tool returns a JSON array of events with details like:
Event name and description
Date and time
Location (physical or virtual)
Number of attendees
Registration link
Host information
Configuration
Environment Variables
For local development, create a .dev.vars file in the project root:
For production secrets:
Wrangler Configuration
Edit wrangler.jsonc to customize:
Project Structure
Development
Available Scripts
Adding New Tools
To add new MCP tools, edit src/index.ts:
Adding Resources
Resources provide URI-identified content:
Troubleshooting
Issue: "Module not found" errors
Solution: Make sure dependencies are installed:
Issue: Wrangler login fails
Solution: Try logging in with a different method:
Issue: Deployment fails
Solution: Check your Cloudflare account limits and verify authentication:
Issue: MCP client can't connect
Solution:
Verify the URL is correct (include
/mcppath)Check if the server is running (visit the URL in browser)
Restart your MCP client after configuration changes
Check MCP client logs for connection errors
Issue: CORS errors
Solution: If accessing from a web client, add CORS middleware to src/index.ts:
Technical Details
Built With
mcp-lite: Lightweight MCP server framework
Hono: Fast web framework for edge computing
Cloudflare Workers: Serverless execution environment
Zod: TypeScript-first schema validation
Architecture
Resources
mcp-lite Documentation: https://github.com/fiberplane/mcp-lite
Model Context Protocol: https://modelcontextprotocol.io/
Cloudflare Workers Docs: https://developers.cloudflare.com/workers/
Luma Platform: https://lu.ma
License
[Add your license here]
Contributing
Contributions welcome! Please feel free to submit a Pull Request.
Support
For issues and questions:
Check the Troubleshooting section
Review mcp-lite examples
Open an issue in this repository
Built with ā¤ļø using mcp-lite
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables users to search and discover upcoming tech events, conferences, and meetups from Luma (lu.ma) through natural language queries. Built on Cloudflare Workers for fast, global access to tech event data.