தமிழ்Events
Back to API Keys

AI Agent Integration Guide

Connect your favorite AI assistant (like Claude or Cursor) directly to your TamilEvents organizer profile to create venues and draft events.

Automate Workflows

Draft complex events instantly with standard or free ticketing tiers using simple natural language prompts.

BOLA Secure

Your API Key explicitly limits the AI to your organizer context. It cannot modify or view data belonging to others.

Native Tools

The AI executes precise, real-time GraphQL mutations against our production database.

1. Installation

Our MCP server runs locally on your machine alongside your AI client. Download the installer, read it, then run it. It downloads the server from this site and refuses to install it unless its SHA-256 matches the published checksum. It never asks for your API key.

Mac / Linux
curl -fsSLO https://tamil.events/install.sh
less install.sh
TAMILEVENTS_URL=https://tamil.events TAMILEVENTS_API_URL=https://api.tamil.events/graphql bash install.sh
Windows (PowerShell)
iwr https://tamil.events/install.ps1 -OutFile install.ps1
notepad install.ps1
$env:TAMILEVENTS_URL = "https://tamil.events"; $env:TAMILEVENTS_API_URL = "https://api.tamil.events/graphql"
powershell -ExecutionPolicy Bypass -File .\install.ps1

Published checksum: https://tamil.events/mcp-server.js.sha256

2. Connecting to Cursor

Cursor is an AI-powered code editor that natively supports the Model Context Protocol.

  1. Open ~/.cursor/mcp.json (or Settings > MCP > Add new MCP server).
  2. Add the server configuration block below, with your API key in MCP_API_KEY.
{
  "mcpServers": {
    "tamilEvents": {
      "command": "node",
      "args": ["/full/path/to/.tamilevents-mcp/index.js"],
      "env": {
        "API_URL": "https://api.tamil.events/graphql",
        "MCP_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

3. Connecting to Claude Desktop

You can use the official Claude Desktop app to manage your events via normal chat!

  1. Open your Claude Desktop config file:
    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the same server configuration block, then restart Claude Desktop.
{
  "mcpServers": {
    "tamilEvents": {
      "command": "node",
      "args": ["/full/path/to/.tamilevents-mcp/index.js"],
      "env": {
        "API_URL": "https://api.tamil.events/graphql",
        "MCP_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Keep the key in the env block, not in args: command-line arguments are visible to other programs on your computer. In args, use the full path the installer prints; MCP clients do not expand ~.