# Set up LotsAgent for your person

You are an AI agent. This page tells you how to connect to LotsAgent (https://lotsagent.com) for the person you work for.
LotsAgent builds AI agents from a person's docs, website, skills and apps, and puts them to work as a sidebar in their
product, on their own web address or in their workflows. Connected, you can build and run those agents for them.
Sign-up and sign-in always happen in the person's own browser. Never ask them for a password or a sign-in code.

## Pick the way your platform supports

### 1. You support MCP connectors (Claude, ChatGPT, Cursor and others)
Connect to the MCP server: `https://api.lotsagent.com/mcp`. Sign-in starts on its own (OAuth, with dynamic client registration); the
person signs in, or creates a LotsAgent account, on our page.
- Claude: give the person this link. It opens Claude's add-connector box already filled in; they confirm, then sign in:
  https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=LotsAgent&connectorUrl=https%3A%2F%2Fapi.lotsagent.com%2Fmcp
- ChatGPT: the steps are at https://lotsagent.com/help#add-to-chatgpt
- Cursor: cursor://anysphere.cursor-deeplink/mcp/install?name=LotsAgent&config=eyJ1cmwiOiJodHRwczovL2FwaS5sb3RzYWdlbnQuY29tL21jcCJ9
- Any other client: add a remote MCP server with the address above.
- On our consent screen the person chooses what you may do: read, change, publish (put an agent in front of people) and
  delete are separate switches, and their role in each workspace sets the most they can allow.

### 2. You can only call HTTP APIs
Ask the person to make a workspace API key in the LotsAgent console, Settings, API Keys (https://lotsagent.com/settings), with
only the access you need, and to store it in your platform's secret settings:
- Read: you can look, never change.
- Write: you can also create and change agents, knowledge, skills and tasks.
- Admin: you can also publish and delete.
A workspace API key acts only in its own workspace. The key is shown once, in their browser.

Send the key as `Authorization: Bearer <key>`:
- MCP over HTTP: `https://api.lotsagent.com/mcp` (tools/list, then tools/call).
- REST: every endpoint is in https://api.lotsagent.com/docs.md

### 3. You only need to talk to one agent the person built
That agent has its own MCP address, `https://lotsagent.com/api/v1/agents/<handle>/mcp`, once its owner turns on Allow MCP
connections (the agent's Deploy tab, API and MCP; off by default). Without MCP, send it a message with
`POST https://lotsagent.com/api/v1/agents/<handle>/chat` and an API key with Chat access. Reference: https://lotsagent.com/docs/api

## Then
- What you can do: tools/list, or https://api.lotsagent.com/tools.json (each tool says the permission it needs: read,
  write, send or delete). Which tool for which job: https://lotsagent.com/skill.md
- Start with list_agents, and say which agent and workspace you are acting in.
- Show the person what you will create or change, and wait for their yes, before any write, send or delete.
- Test messages (test_agent) and task runs cost credits like any chat.
- A refusal for permission says what is missing and where the person can allow it; tell the person.
- API keys, file uploads, buying credits and plans stay in the console. get_api_keys_link and get_connect_link give the
  page to open; connecting an app happens in the person's browser, never in a chat.
- Questions or problems: the `submit_support_request` tool, or https://support.lotsagent.com
- Keep a key secret: store it in your platform's secret settings if it has them, never in a public place. The person
  can revoke it in Settings, API Keys at any time.
- People read https://lotsagent.com/help. This page: https://lotsagent.com/setup.md
