Pica MCP Server
A Model Context Protocol Server for Pica, built in TypeScript.
Setup Video: https://youtu.be/JJ62NUEkKAs
Demo Video: https://youtu.be/0jeasO20PyM
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"pica-mcp-server": {
"command": "node",
"args": [
"/path/to/pica-mcp-server/build/index.js"
],
"env": {
"PICA_SECRET": "YOUR_PICA_SECRET_KEY"
}
}
}
}
Environment Setup
This server requires a Pica API key. Set the environment variable:
export PICA_SECRET=your_pica_secret_key
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Example Usage
Once you've added the server config and connected some platforms in the Pica dashboard, restart Claude Desktop and try out some examples:
- What connections do I have access to?
- Send an email using gmail to [email protected]
- What actions can I perform with google sheets?
- Create an event in my calendar
- List 5 users from my postgres users table
- Send a message in slack to the #general channel with today's weather
Got any cool examples? Open a PR and share them!
License
This project is licensed under the GPL-3.0 license. See the LICENSE file for details.