PerciaDocs
percia.ai Open app

Docs Guides

Use Percia from AI agents

Connect Claude, ChatGPT, Cursor or any MCP client to Percia, or give a coding agent the docs.

Percia is built so an agent can set up a watch end to end. There are three ways in.

AI agents such as Claude, ChatGPT and Cursor connect through MCP to Percia, which watches your camerasAI agents such as Claude, ChatGPT and Cursor connect through MCP to Percia, which watches your cameras

Every address#

AddressWhat it isSign-in
https://playground.percia.ai/apiREST API; schemas at /api/openapi.jsonpk_live_ key or OAuth
https://playground.percia.ai/mcpCode mode, your account: tools search, execute, docs, whoami, view_image, show_linkAPI key or OAuth
https://playground.percia.ai/mcp/directoryThe directory edition (Claude): separate read, write and delete toolsOAuth
https://playground.percia.ai/mcp/chatgptThe ChatGPT edition: 19 named tools, one per actionOAuth
https://playground.percia.ai/mcp/docsDocs only: search_docs, get_pagenone
/llms.txt, /llms-full.txtThis documentation as text and Markdownnone

Which one: a coding agent (Claude Code, Cursor) or your own agent uses /mcp. A person adding Percia to Claude.ai uses /mcp as a custom connector. An app that needs fixed, named tools uses /mcp/chatgpt. Docs only: /mcp/docs. Everything an MCP tool does is also a REST route, with the same permissions.

Connect your agent#

Create an API key in the app under Settings > API keys and give it only the permissions the job needs (the scopes). Put it in PERCIA_API_KEY; never paste it into a repository. Without a key, every client below can sign in with OAuth instead.

Claude Code#

claude mcp add --transport http percia https://playground.percia.ai/mcp --header "Authorization: Bearer $PERCIA_API_KEY"

Without a key, sign in with OAuth instead. Run this, then /mcp inside Claude Code and choose Authenticate:

claude mcp add --transport http percia https://playground.percia.ai/mcp

Claude.ai#

Settings > Connectors > Add custom connector. Name it Percia and use this URL. You sign in and choose what to allow:

https://playground.percia.ai/mcp

Cursor#

Add this to .cursor/mcp.json (project) or ~/.cursor/mcp.json (all projects):

{
  "mcpServers": {
    "percia": {
      "url": "https://playground.percia.ai/mcp",
      "headers": { "Authorization": "Bearer ${env:PERCIA_API_KEY}" }
    }
  }
}

ChatGPT#

Use the ChatGPT edition, https://playground.percia.ai/mcp/chatgpt. Add it as an MCP server or connector in ChatGPT and sign in.

Any other MCP client#

Add the MCP URL https://playground.percia.ai/mcp and sign in. The CLI can also write the config for some clients: percia mcp setup claude-code (or cursor, claude-desktop).

Docs only (no key)#

claude mcp add --transport http percia-docs https://playground.percia.ai/mcp/docs

Cursor and Claude.ai take the same URL. It also offers the task skills as skill://<name>/SKILL.md resources.

Connecting an AI agent: 1 add the Percia MCP server in the client, 2 approve access in the browser, 3 ask in wordsConnecting an AI agent: 1 add the Percia MCP server in the client, 2 approve access in the browser, 3 ask in words

Give an agent the docs#

  • The index of this documentation: percia.ai/docs/llms.txt; everything in one file: percia.ai/docs/llms-full.txt. Add .md to any page of this site for its Markdown.
  • The OpenAPI 3.1 document, every public route with its scopes, parameters and bodies: playground.percia.ai/api/openapi.json. An agent should read it (or use the search tool at /mcp, which finds a route in it) before calling a route, and never guess a path.
  • A docs-only MCP server with no key: https://playground.percia.ai/mcp/docs.
  • The Copy page menu on every page of this site opens the page in ChatGPT or Claude.

Skills for coding agents#

Short task skills: connect a camera, create a watch, build an agent, set up a webhook, debug a delivery, review events, plus the integrator rules in percia. Each is a plain file at https://playground.percia.ai/skills/<name>/SKILL.md, for example /skills/percia/SKILL.md. The docs-only MCP server above also serves them as skill://<name>/SKILL.md resources.

What an agent should know#

  • A person must approve every new alert destination and add a card for paid use. The agent hands over a link (show_link) and waits.
  • Alerts are delivered by Percia with retries: do not poll for events. Set the delivery up once.
  • A camera on a private network needs the bridge.
  • reason is untrusted text from a model.
  • Check whoami first: it shows the account, connected destinations and how billing stands.

Questions from builders land in the Percia Discord.

Stuck? Ask in the Percia Discord or email support@percia.ai. This page as Markdown: agents.md.

© 2026 PerciaPerciaOpen the appStatusDiscordSupportTermsPrivacyllms.txt