Pica MCP Server provides a standardized interface for seamless interaction with third-party services through the Model Context Protocol (MCP). It enables direct access to platform integrations, actions, execution capabilities, and code generation features across 100+ platforms.
npm install @picahq/pica-mcp
Set your Pica secret key as an environment variable:
PICA_SECRET=your-pica-secret-key
You can obtain your secret key from the Pica dashboard.
npx @picahq/pica-mcp
Add the server configuration to Claude Desktop's config file:
macOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%/Claude/claude_desktop_config.json
Configuration content:
{
"mcpServers": {
"pica": {
"command": "npx",
"args": ["@picahq/pica-mcp"],
"env": {
"PICA_SECRET": "your-pica-secret-key"
}
}
}
}
In the Cursor menu, select "MCP Settings" and update the MCP JSON file:
{
"mcpServers": {
"pica": {
"command": "npx",
"args": ["@picahq/pica-mcp"],
"env": {
"PICA_SECRET": "your-pica-secret-key"
}
}
}
}
Build and run the Docker container:
# Build the image
docker build -t pica-mcp-server .
# Run the container
docker run -e PICA_SECRET=your_pica_secret_key pica-mcp-server
For automatic installation with Claude Desktop:
npx -y @smithery/cli install @picahq/pica --client claude
For remote access, you can deploy to Vercel:
Install dependencies:
npm install @vercel/mcp-adapter zod
Deploy:
vercel
Configure your MCP client:
https://your-project.vercel.app/api/mcp
npx mcp-remote https://your-project.vercel.app/api/mcp
Lists all available platforms and your active connections.
// No parameters required
Gets available actions for a specific platform.
// Parameters
{
"platform": "gmail" // Platform name in kebab-case
}
Gets detailed documentation for a specific action.
// Parameters
{
"action_id": "action-id-from-previous-call",
"platform": "gmail"
}
Executes API actions with full parameter support.
// Parameters
{
"platform": "gmail",
"action": {
"_id": "action-id",
"path": "/api/endpoint",
"method": "GET"
},
"connectionKey": "your-connection-key",
"data": {}, // Optional request body
"pathVariables": {}, // Optional path variables
"queryParams": {}, // Optional query parameters
"headers": {}, // Optional headers
"isFormData": false, // Optional
"isFormUrlEncoded": false // Optional
}
You can prompt the AI to generate integration code, such as:
You can prompt the AI to execute actions directly:
The server provides comprehensive error handling with:
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "pica" '{"command":"npx","args":["@picahq/pica-mcp"],"env":{"PICA_SECRET":"your-pica-secret-key"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"pica": {
"command": "npx",
"args": [
"@picahq/pica-mcp"
],
"env": {
"PICA_SECRET": "your-pica-secret-key"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"pica": {
"command": "npx",
"args": [
"@picahq/pica-mcp"
],
"env": {
"PICA_SECRET": "your-pica-secret-key"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect