MCP Server

Give your AI agents direct access to Gately

Connect any AI agent to your membership platform via the Model Context Protocol — manage members, gate content, and pull analytics programmatically.

Get started Read the docs

Works with your favourite AI tools

Claude

Cursor

Copilot

Codex

Lovable

ChatGPT

Windsurf

Replit

Antigravity

How it works

Connect your agent in four steps

01

Add the MCP server

Copy the Gately MCP server URL into your agent's configuration. Works with any MCP-compatible client.

{ "mcpServers": { "gately": { "url": "https://mcp.usegately.com" } } }

02

Authenticate MCP

Pass your Gately API key as a header. Your agent now has scoped access to your project.

Authorization: Bearer gately_sk_••••••••

03

Start using tools

Your agent can now call any of the 30+ Gately tools — list members, gate content, pull analytics and more.

list_users({ limit: 50, status: "active" })

04

Train your agent

Point your agent at Gately's documentation tools so it learns your project structure and can answer questions autonomously.

search_documentation({ query: "membership plans" })

Agent connected

Use cases

What your agent can do with Gately

Real workflows your AI agent can run autonomously — no manual work required.

  • Onboard new members automatically
    When a user signs up, your agent creates their account, assigns the right plan, sends a welcome email, and grants access to gated content — all in one flow.

  • Generate weekly business reports
    Your agent pulls revenue, churn, active users, and top products then compiles a formatted report and emails it to your team every Monday.

  • Answer support questions instantly
    An agent searches your help center articles and documentation to answer member questions in real time — no human needed for common queries.

  • Enforce access control dynamically
    Your agent checks a user's plan before serving content, upgrades or downgrades access based on payment status, and revokes permissions on cancellation.

  • Run targeted re-engagement campaigns
    The agent identifies inactive members from your CRM, segments them by plan, and sends personalised win-back emails without you lifting a finger.

  • Manage your shop autonomously
    Your agent monitors order history, flags failed payments, updates product listings, and notifies you of anomalies — keeping your store running smoothly.

Prompts

Ready-made prompts for your agent

Copy these into your AI agent to get started immediately.

  • Member report
    List all active members, group them by plan, and send me a summary with total count, MRR, and any members who joined in the last 7 days.

  • Support assistant
    Search the help center and documentation to answer this question: {user_question}. If no article exists, draft a new one.

  • Churn recovery
    Find all members who cancelled in the last 30 days. List their plan, tenure, and last activity. Draft a personalised win-back email for each.

  • Access audit
    Check all users with the {plan_name} plan. Verify their access to protected content is correct and flag any mismatches.

  • Onboarding flow
    A new member just signed up with email {email}. Create their account, assign the starter plan, and send a welcome email with their login link.

  • Weekly digest
    Pull this week's signups, cancellations, revenue, and top-viewed content. Format it as a Slack-ready digest and post it to #growth.

Available tools

30+ tools across your project

Once connected, your AI agent gains access to every part of your Gately project.

  • User Management

    • list_users: List all members in your project.
  • Plans & Billing

    • get_plans: Get all active subscription plans.
  • Forms

    • list_forms: List forms in your project.
  • Help Center

    • list_articles: List help center articles.
  • Documentation

    • search_documentation: Search Gately documentation.
  • Analytics & CRM

    • get_online_users: View active users.
  • E-commerce

    • list_products: Get all shop products.

Ready to connect your agent?

Add the Gately MCP server to your agent in minutes.

Get started free View docs →

Ask AI

Gately AI

Docs

Hi! I'm the Gately AI assistant. Ask me anything about forms, authentication, billing, and more.

Try asking:

  • How do I use the form builder?
  • What authentication methods are supported?
  • How do I set up Google OAuth?
  • How do I set up email notifications?

Ask our assistant anything