Blinkpage MCP
Connect Claude Desktop, Claude Code, or Cursor to Blinkpage with the MCP server, then list projects and upload components from chat.
On this page
The Blinkpage MCP server lets an AI assistant work with your Blinkpage projects. Your MCP client starts the server for you with npx, so there is nothing to install by hand.
#Before you begin
- Node.js 18 or later on your computer. Run
node --versionto check. - A Blinkpage account with at least one project.
- An MCP client: Claude Desktop, Claude Code, or Cursor.
#Create a token
The server signs in to your account with a personal access token.
Open your account
Click the profile icon in the top bar, then click Account.
Create the token
Expand Advanced, click Create New Token, enter a name such as "Claude Desktop on Mac", and click Create Token.
Copy the token
Click Copy in the Your new token dialog. Blinkpage shows the token only once.
See Personal access tokens for every option.
#Configure your client
The server reads its settings from environment values. Your client passes them in the env block of its config.
| Value | Required | What it holds |
|---|---|---|
BLINKPAGE_TOKEN | Yes | Your personal access token, which starts with bpat_ |
BLINKPAGE_API_URL | Yes | The Blinkpage API address. Copy it from the configs below |
BLINKPAGE_LOG_LEVEL | No | debug, info, warn, or error. The default is info |
Choose your client and add the server. Replace bpat_<your-token> with your own token.
In Claude Desktop, open Settings, go to Developer, and click Edit Config. Add the server under mcpServers in claude_desktop_config.json, save the file, then quit Claude Desktop completely and open it again.
{ "mcpServers": { "blinkpage": { "command": "npx", "args": ["-y", "@blinkpage/mcp"], "env": { "BLINKPAGE_TOKEN": "bpat_<your-token>", "BLINKPAGE_API_URL": "https://blinkpage-prod-dfbef.aws.spicaengine.com/api/fn-execute" } } }}In a terminal, run this command to add the server to your own Claude Code settings:
claude mcp add blinkpage -e BLINKPAGE_TOKEN=bpat_<your-token> -e BLINKPAGE_API_URL=https://blinkpage-prod-dfbef.aws.spicaengine.com/api/fn-execute -- npx -y @blinkpage/mcpTo set up the server for one project instead, add it to a .mcp.json file in the project folder. Do not commit that file, because it holds your token.
{ "mcpServers": { "blinkpage": { "command": "npx", "args": ["-y", "@blinkpage/mcp"], "env": { "BLINKPAGE_TOKEN": "bpat_<your-token>", "BLINKPAGE_API_URL": "https://blinkpage-prod-dfbef.aws.spicaengine.com/api/fn-execute" } } }}In Cursor, create or edit ~/.cursor/mcp.json to add the server for every project. To add it for one project, use .cursor/mcp.json in the project folder. Save the file, then reload Cursor.
{ "mcpServers": { "blinkpage": { "command": "npx", "args": ["-y", "@blinkpage/mcp"], "env": { "BLINKPAGE_TOKEN": "bpat_<your-token>", "BLINKPAGE_API_URL": "https://blinkpage-prod-dfbef.aws.spicaengine.com/api/fn-execute" } } }}Other MCP clients that start local servers accept the same command, args, and env values.
#Check the connection
Restart your client
If you did not restart your client after you saved the config, quit it completely and open it again.
Ask for your projects
Send the prompt "List my Blinkpage projects."
Allow the tool
If your client asks for permission to run
list_projects, allow it.Check the answer
The assistant replies with the names of your projects. If it does not, see Troubleshooting.
#Available tools
The server fetches its tool list from Blinkpage when it starts. The list can grow, so restart your client after Blinkpage adds tools. These tools are available today.
| Tool | What it does | Example prompt |
|---|---|---|
list_projects | Lists the projects you can access. Most other tools need a project from this list | "List my Blinkpage projects." |
pb_list_pages | Lists the pages in a project with their titles and slugs | "Which pages does Blinkpage Demo have?" |
acc_list_recent_pages | Lists your most recently created pages across all projects | "Show my five newest Blinkpage pages." |
cc_list | Lists the custom components in a project and their versions | "Which custom components does Blinkpage Demo have?" |
upload_component | Builds a component from your code and uploads it to a project | "Upload this component to Blinkpage Demo as MyHero, version 1." |
#Upload a component from chat
Give the assistant your component code and the project name. The assistant looks up the project, builds the component, and uploads it.
- The component name starts with a capital letter and uses only letters and numbers.
- The version is a whole number that starts at 1. Raise it each time you upload the same component again.
- The assistant follows the component rules in the tool description. See Custom components for how a component is structured.
After a successful upload, the component appears in the Custom Components tab of the project and in the Custom category of the block library.