# Noloco — how to use (mcp.ai)

Connect your Noloco account and use 7 tools for app builder straight from your AI agent. Connect with your own API key. Noloco is a no-code platform for building internal tools, client portals, and business applications backed by a dynamic GraphQL data API.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_noloco?ms=1787293440000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `noloco_create_record`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/noloco`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/noloco/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/noloco/create/record` — Create one record in a table in the connected Noloco app. Use NOLOCO_DESCRIBE_TABLE first to supply valid input fields and values.
  - body: { values: object, table_name: string, return_fields?: string[] }
- `POST https://api.mcp.ai/api/noloco/delete/record` — Permanently delete one record from a Noloco table by ID. This is destructive and cannot be undone.
  - body: { record_id: string|integer, table_name: string, return_fields?: string[] }
- `POST https://api.mcp.ai/api/noloco/describe/table` — Describe one Noloco table's selectable fields, unique lookup selectors, filters, and create/update inputs. Use this before record CRUD to learn the connected app's exact field names and GraphQL types.
  - body: { table_name: string }
- `POST https://api.mcp.ai/api/noloco/get/record` — Fetch one record from a Noloco table by a supported unique selector. Use NOLOCO_DESCRIBE_TABLE first because selectors and fields vary by app and table.
  - body: { fields: string[], table_name: string, selector_field: string, selector_value: string|integer|number|boolean }
- `POST https://api.mcp.ai/api/noloco/list/records` — Return one forward-paginated page of records from a table in the connected Noloco app. Use NOLOCO_DESCRIBE_TABLE first to choose valid fields, filters, and sort fields.
  - body: { sort?: object[], first?: integer, where?: object, fields: string[], table_name: string, next_cursor?: string }
- `POST https://api.mcp.ai/api/noloco/list/tables` — List the record tables and generated CRUD operation names available in the connected Noloco app. Call this before using a table-specific record tool when the app schema is unknown.
- `POST https://api.mcp.ai/api/noloco/update/record` — Partially update one Noloco record by ID. Only supplied fields are changed; use NOLOCO_DESCRIBE_TABLE first to choose valid update fields.
  - body: { values: object, record_id: string|integer, table_name: string, return_fields?: string[] }

## Example prompts
- "What can I do in Noloco?"
- "Show me a summary of my Noloco account"

## More
- Page: https://mcp.ai/noloco
- Agent spec (llms.txt): https://mcp.ai/noloco/llms.txt
- Postman collection: https://mcp.ai/noloco/postman.json
