mcp server
A TypeScript implementation of the Model Context Protocol server for Pica that enables Claude Desktop users to interact with connected platforms like Gmail, Google Sheets, Slack, and databases through natural language commands.
A TypeScript implementation of the Model Context Protocol server for Pica that enables Claude Desktop users to interact with connected platforms like Gmail, Google Sheets, Slack, and databases through natural language commands.
A Model Context Protocol Server for Pica, built in TypeScript.
Setup Video: https://youtu.be/JJ62NUEkKAs
Demo Video: https://youtu.be/0jeasO20PyM
Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desktop, connect to external tools and data sources. It gives a clear and safe way for AI assistants to work with local services and APIs while keeping the user in control.
Pica is a powerful agentic tooling platform that enables connections to 70+ third-party services and applications. This MCP server allows Claude Desktop and anything using the Model Context Protocol to securely interact with all these connections through natural language requests.
With Pica MCP Server, you can:
Pica supports 70+ connections (with more added regularly) across categories like:
You can use this package directly with npx:
npx @picahq/pica-mcp
Or install it globally:
npm install -g @picahq/pica-mcp
To install pica for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @picahq/pica --client claude
This server requires a Pica API key. Set the environment variable:
export PICA_SECRET=your_pica_secret_key
Build the Docker Image:
docker build -t pica-mcp-server .
Run the Docker Container:
docker run -e PICA_SECRET=your_pica_secret_key pica-mcp-server
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
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
To use the Docker container with Claude Desktop, update your claude_desktop_config.json
with:
{
"mcpServers": {
"pica-mcp-server": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "PICA_SECRET=YOUR_PICA_SECRET_KEY",
"pica-mcp-server"
]
}
}
}
{
"mcpServers": {
"pica-mcp-server": {
"command": "node",
"args": [
"/path/to/pica-mcp-server/build/index.js"
],
"env": {
"PICA_SECRET": "YOUR_PICA_SECRET_KEY"
}
}
}
}
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.
Once you've added the server config and connected some platforms in the Pica dashboard, restart Claude Desktop and try out some examples:
Got any cool examples? Open a PR and share them!
This project is licensed under the GPL-3.0 license. See the LICENSE file for details.