Home

MCP Server Documentation

LotsTech MCP Server

Connect AI agents like Claude and Cursor to LotsTech using the Model Context Protocol

Quick Information
MCP Endpoint
https://api.lotstech.com/mcp
Available Tools
14 tools
Authentication
OAuth 2.1 with PKCE
Setup Instructions
Configure your MCP client to connect to LotsTech

Add this configuration to your Cursor settings:

{
  "mcpServers": {
    "lotstech": {
      "url": "https://api.lotstech.com/mcp"
    }
  }
}

Steps:

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Search for "MCP Servers"
  3. Click "Edit in settings.json"
  4. Add the configuration above
  5. Restart Cursor
  6. Cursor will automatically discover OAuth endpoints and handle authentication
Authentication
This server implements OAuth 2.1 with PKCE for secure authentication
OAuth 2.1 with PKCE (S256)

Most modern MCP clients will automatically discover and handle the OAuth flow. The server uses OAuth 2.1 with PKCE (S256) for secure authentication.

OAuth Discovery
https://api.lotstech.com/.well-known/oauth-authorization-server
Authorization Endpoint
https://api.lotstech.com/api/oauth/authorize
Token Endpoint
https://api.lotstech.com/api/oauth/token

How it works:

  1. Clients automatically discover OAuth endpoints
  2. Users are redirected to authenticate via browser
  3. Authorization code is exchanged for access token
  4. Bearer token is used for all MCP requests
Available Tools
14 MCP tools available for LotsTech. Use these tool names when calling the MCP server.

account

Disconnect App
Disconnect an AI agent app from your Lots account: every access and refresh token it holds for you is revoked at once. Pass the client_id from list_connected_apps; optional product limits it to one product. The app can only come back by asking you to approve it again.
List Connected Apps
List the AI agent apps (Claude, ChatGPT, Cursor and others) that can act on your Lots account right now, with the products each can reach, when it was first granted and last used. Covers every Lots product. Optional product limits the list to one product key, for example lotssocial.

billing

Acquire Resource Entitlement
Atomically acquire a named resource and assess its current UTC service day.
Create Checkout Link
Create a checkout link to buy a LotsTech plan or credits. Returns the checkout URL, where the buyer pays, and the price. To buy a LotsTech suite, send suite (business or founders), units and cycle instead of polar_product_id. LotsTech for Business is priced per business and LotsTech for Founders per product; the tier sizes, prices and what each app includes are at https://api.lotstech.com/api/v1/pricing-facts?project=LotsTech. The answer names the suite, the units, the cycle, the price and what each app includes. A suite comes with a 14-day free trial when the buyer can have one (up to 5 businesses or 3 products, one trial per person): the card is taken at checkout and nothing is charged today; the answer's trial gives the first charge and its date, or why there is no trial. When a few more businesses or products would cost less, the answer's suite.round_up says so; the link is always for the number sent. For anything else, send polar_product_id and success_url; for credits with a custom amount, also send custom_amount. discount_code applies a discount code, checked the same way as on the checkout page. The buyer's email is filled in.
Create Customer Portal Link
Create a Polar customer portal link for the signed-in user's paid plan, where they can upgrade, downgrade, switch billing cycle or cancel. Returns { available: false } for gift or credits-only accounts.
Get Project Products
Get all available products for a specific project (SaaS). Returns product listings with pricing details for monthly, yearly, and one-time purchases.
Get User Subscription
Get the authenticated user's active subscription for a specific project. Returns subscription status, billing cycle, and product details.
List Resource Entitlements
List active resource holdings owned by the authenticated payer.
Project Resource Entitlements
Project every held resource against the contract active at a timestamp; use for cancellation and renewal previews.
Quote Resource Entitlement
Quote plan coverage and credit-funded overflow without changing state.
Release Resource Entitlement
Release a named resource; future daily billing stops and the product resource is not deleted.

credits

Deduct User Credits
Deduct credits from the authenticated user's balance for feature usage. Validates sufficient balance before deduction. Automatically calculates balance_after and sets transaction_type to 'usage'. Supports reference_type and reference_id for linking to external records.
Get Credit History
Get the authenticated user's credit transaction history with pagination. Can optionally filter by project_id to show only transactions for a specific SaaS. Returns all credit transactions including purchases, usage, refunds, bonuses, and admin adjustments. Shows which project consumed credits and when.
Get User Credits
Get the authenticated user's current credit balance. Credits are shared across all LOTS products and never expire.
REST API DocumentationGet API Key