# Palpable API and MCP server (https://docs.palpable.technology/docs/developers)

There are four ways to reach Palpable from outside the app. Each one is a standard protocol: MCP, WebSocket, HTTPS and HTTP callbacks.

| | What it is | Use it when | Credential |
| --- | --- | --- | --- |
| [MCP server](/docs/developers/mcp) | PAL's tools, for an AI app or agent | You want Claude, ChatGPT, Cursor or your own agent to work with your boards and projects the way PAL does | OAuth sign-in in the browser |
| [Project API](/docs/developers/project-api) | A live WebSocket for one project | You are building a dashboard or app that shows live readings, or sets a variable, or runs a part's command | A project key (`pk_…`) |
| [Saved readings](/docs/developers/readings) | REST, JSON or CSV | You want a project's history: a chart of last week, a spreadsheet | The same project key |
| [Webhooks](/docs/developers/webhooks) | HTTP POSTs to your server | You want your server to be told when a reading arrives, a variable changes or a board comes online | A signing secret, made with the webhook |

## Which one [#which-one]

- **An AI agent** that should read readings, write a script, change a view or delete a project: use the MCP server. It has PAL's tools and asks the person before anything that deletes.
- **Your own app for one project**: use the project API for the live part and saved readings for the history. Both take the same key, and a key opens only its own project.
- **Your own server**, reacting to events across the whole account: use webhooks.

Keys, connections and secrets are listed in one place on [API keys and connections](/docs/developers/api-keys).

Every MCP tool, socket message and HTTP endpoint, with its parameters, is on the [API reference](/docs/developers/api-reference). It is generated from the code.

## For AI agents reading this [#for-ai-agents-reading-this]

Plain facts, for an agent that is reading these docs to use Palpable.

| | |
| --- | --- |
| MCP server | `https://palpable.technology/mcp`, Streamable HTTP, POST only |
| MCP auth | OAuth 2.1 with PKCE (S256) and dynamic client registration. Metadata at `https://palpable.technology/.well-known/oauth-protected-resource/mcp` and `https://palpable.technology/.well-known/oauth-authorization-server`. The person approves in a browser. |
| Project API discovery | `GET https://palpable.technology/api/projects/{projectId}/connect` with `Authorization: Bearer pk_…` |
| Project API socket | The `wsUrl` that discovery returns, with `?token=pk_…` added |
| Saved readings | `GET https://palpable.technology/api/projects/{projectId}/readings` with `Authorization: Bearer pk_…` |
| Webhook signature | `X-Palpable-Signature`: hex HMAC-SHA256 of the raw body |
| These docs as Markdown | `https://docs.palpable.technology/llms.txt` (index), `https://docs.palpable.technology/llms-full.txt` (every page), and one page at `https://docs.palpable.technology/llms.mdx/docs/<page>.md`, for example `/llms.mdx/docs/developers/mcp.md` |

A project key is made by a person in the Palpable app, in the project's **Manage API**, and shown to them once.