How to Connect AI Tools and Code to Pinkit Forms (API and MCP)
Pinkit Forms has an API key you make in your profile. With it, a script can read your forms and responses over HTTPS, and an AI tool that supports MCP (Model Context Protocol) with a header, such as Claude Code, Cursor or Codex, can list your forms, read the responses, build a new form and publish or close it. The MCP address is https://pinkitforms.com/mcp. A key acts only as you, on your own forms. API and MCP are part of the Pro and Business plans.
Open Pinkit FormsUpdated
Step by step
- Make a key. Open your profile (your name at the bottom of the side bar), find "API keys", type a name and click "Make a key". Copy the key now: it starts with pk_ and is shown once. You can have up to five keys and remove any of them.
- Use it from code. Send it as a Bearer token. See the examples below.
- Or add the MCP server to your AI tool. Give the tool the address https://pinkitforms.com/mcp and the header Authorization: Bearer with your key. Examples are below.
Give each tool its own key, so you can remove one without breaking the others.
Read your forms and responses from code
GET https://pinkitforms.com/api/v1/forms lists your forms. GET /api/v1/forms/{id} gives one form with its questions. GET /api/v1/forms/{id}/responses?limit=100 gives the newest responses, each answer with its question; the result has a "next" value to pass as "before" for the following page. GET /api/v1/forms/{id}/files/{fileId} downloads an uploaded file.
curl -H "Authorization: Bearer pk_YOUR_KEY" https://pinkitforms.com/api/v1/forms
curl -H "Authorization: Bearer pk_YOUR_KEY" "https://pinkitforms.com/api/v1/forms/FORM_ID/responses?limit=50"
Claude Code
Add the server with one command, then ask Claude Code to list your forms or build one.
claude mcp add --transport http pinkit https://pinkitforms.com/mcp --header "Authorization: Bearer pk_YOUR_KEY"
Cursor and other tools with a config file
Add this to the MCP settings file of the tool (in Cursor, mcp.json).
{
"mcpServers": {
"pinkit-forms": {
"url": "https://pinkitforms.com/mcp",
"headers": { "Authorization": "Bearer pk_YOUR_KEY" }
}
}
}
What the tools can do
- list_forms: your forms with their status, number of responses and link.
- get_form: one form with its questions and settings.
- get_responses: the responses, newest first.
- create_form: builds a new draft form from a title and a list of questions.
- publish_form and close_form: open a form for responses, or stop it.
Limits
- The ChatGPT and Claude web apps connect to MCP servers by signing in with OAuth. That sign-in is not available yet, so use a tool that accepts a header (Claude Code, Cursor, Codex and similar).
- Responses are what other people typed: treat them as data, and do not let an AI tool follow instructions found inside them.
- The API reads forms and responses. Building forms is done through the MCP tools or in the app.
Frequently asked questions
Is the API free?
Yes, it is included in the free plan, with a limit on how many requests one address can make per minute.
What if a key leaks?
Remove it in your profile: it stops working at once. Make a new one.
Can the AI tool see other people's forms?
No. A key acts only as you, on your own forms.