This release is a pre-release and may not be stable for production use.
pipefy-mcp-server
MCP server for Pipefy — 187 tools for AI agents (Cursor, Claude Desktop, Claude Code, Codex, and any MCP-compatible client). Depends on pipefy for all GraphQL and API logic.
Install
uvx pipefy-mcp-server
pipefy-mcp-server and its workspace dependencies (pipefy, pipefy-auth, pipefy-infra) are published to PyPI, so uvx resolves the whole set from there. While the toolkit ships only pre-release versions (the 0.x line), uvx resolves the latest pre-release automatically; once a stable release exists it resolves that instead. Do not pass a global --prerelease allow: it also lets transitive dependencies jump to their own pre-releases, which can pull a broken build.
For per-client wiring (Claude Code / Cursor / Claude Desktop / Codex), see root README.md#installation.
Configuration
Set the following environment variables (or add them to a .env file in the working directory, or pin them in ~/.config/pipefy/config.toml):
PIPEFY_SERVICE_ACCOUNT_CLIENT_ID=your_client_id
PIPEFY_SERVICE_ACCOUNT_CLIENT_SECRET=your_client_secret
# Non-prod environments only:
# PIPEFY_BASE_URL=https://<your-api-host>
# PIPEFY_AUTH_URL=https://<your-signin-host>/realms/<realm>
PIPEFY_BASE_URL defaults to https://app.pipefy.com (drives the four API endpoints) and PIPEFY_AUTH_URL defaults to https://signin.pipefy.com/realms/pipefy (the OIDC issuer). Set them only for non-prod environments.
Full reference (every PIPEFY_* variable, validation rules, TOML schema, precedence chain): docs/config.md.
Edge cases and alternative wiring
macOS keychain errSecInvalidOwnerEdit (-25244)
pipefy auth login may exit with errSecInvalidOwnerEdit (-25244) ("Invalid attempt to change the owner of this item") at the final keychain-write step even though OAuth itself succeeded. Clear the entry with pipefy auth logout; if it reports Not signed in. Nothing to do. (or fails), remove it with security delete-generic-password -s pipefy. Then run pipefy auth login again from Terminal.app and click Always Allow if prompted. If the OS keychain remains unusable, set PIPEFY_KEYCHAIN_BACKEND=file or use a static PIPEFY_TOKEN. See docs/cli/auth.md for the full platform-specific troubleshooting.
Claude Code: claude mcp add (per-project terminal flow)
Useful when you want to wire the server without editing ~/.claude.json by hand.
Hosted MCP (HTTP) — zero local Python; OAuth in Claude Code. Prefer this when you do not need the full local tool surface. Do not also install the Claude Code plugin’s local pipefy server under the same name. Canonical snippet: root README — Hosted MCP.
Local stdio — runs uvx pipefy-mcp-server on the machine:
claude mcp add --scope project pipefy \
-- uvx pipefy-mcp-server
Then (repeat for each key you need; service-account path):
claude mcp add-env pipefy PIPEFY_SERVICE_ACCOUNT_CLIENT_ID <YOUR_CLIENT_ID>
claude mcp add-env pipefy PIPEFY_SERVICE_ACCOUNT_CLIENT_SECRET <YOUR_CLIENT_SECRET>
# Non-prod environments only:
# claude mcp add-env pipefy PIPEFY_BASE_URL https://<your-api-host>
# claude mcp add-env pipefy PIPEFY_AUTH_URL https://<your-signin-host>/realms/<realm>
Claude Code: settings edit (post-plugin install)
The plugin's .mcp.json ships command + args only. To set the env block, edit the pipefy server entry in ~/.claude.json (or the Claude Code settings UI):
{
"mcpServers": {
"pipefy": {
"env": {
"PIPEFY_SERVICE_ACCOUNT_CLIENT_ID": "<CLIENT_ID>",
"PIPEFY_SERVICE_ACCOUNT_CLIENT_SECRET": "<CLIENT_SECRET>"
}
}
}
}
A live MCP server picks up rotated credentials on its next tool call; if the server failed to start because credentials were missing, restart it (or restart Claude Code) after login completes.
Local-clone alternative (contributors)
If you have a clone of this repo and want the MCP server to use it directly (without uvx fetching from git), launch via uv run from the clone:
{
"mcpServers": {
"pipefy": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/pipefy-mcp-server",
"pipefy-mcp-server"
],
"env": {
"PIPEFY_SERVICE_ACCOUNT_CLIENT_ID": "<CLIENT_ID>",
"PIPEFY_SERVICE_ACCOUNT_CLIENT_SECRET": "<CLIENT_SECRET>"
}
}
}
}
This form also works as a per-project .mcp.json if your team shares a clone. Committing .mcp.json without secrets (placeholders or env injection) keeps team setups consistent.
Legacy environment variables
PIPEFY_OAUTH_CLIENT and PIPEFY_OAUTH_SECRET still resolve to the new PIPEFY_SERVICE_ACCOUNT_* names with a one-shot stderr deprecation warning. The aliases will be removed in a later 0.2.0-beta.x release. The PIPEFY_OAUTH_URL alias was dropped — set PIPEFY_BASE_URL instead. Migration notes: docs/MIGRATION.md#service-account-env-var-rename.
Tools
187 tools across fourteen domains (including Portals) — see the root README.md for the full table with per-area links. Deep reference: docs/mcp/tools/ (start with cross-cutting.md); portals: portal.md.
Development
From the repository root:
uv sync
uv run pytest packages/mcp/tests # MCP tests in isolation
uv run ruff check packages/mcp/src # lint
See the root README.md and AGENTS.md for contributor guidance.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipefy_mcp_server-0.5.0a1-py3-none-any.whl.
File metadata
- Download URL: pipefy_mcp_server-0.5.0a1-py3-none-any.whl
- Upload date:
- Size: 222.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c113498c71820c7c046f1d7b6e295511503d8abdcb01035f179d14135e6f2798
|
|
| MD5 |
5ddc929a98b188bcddd066526c726e0b
|
|
| BLAKE2b-256 |
7f042fe44de12e98623d26cdc37634c03f8caabb2dd2647b4cf8ecaa6322562a
|
Provenance
The following attestation bundles were made for pipefy_mcp_server-0.5.0a1-py3-none-any.whl:
Publisher:
release.yml on pipefy/ai-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pipefy_mcp_server-0.5.0a1-py3-none-any.whl -
Subject digest:
c113498c71820c7c046f1d7b6e295511503d8abdcb01035f179d14135e6f2798 - Sigstore transparency entry: 2306880681
- Sigstore integration time:
-
Permalink:
pipefy/ai-toolkit@7e787b1fb61a3fe937bd2fb39e2c2dbe34e4b769 -
Branch / Tag:
refs/tags/v0.5.0-alpha.1 - Owner: https://github.com/pipefy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7e787b1fb61a3fe937bd2fb39e2c2dbe34e4b769 -
Trigger Event:
push
-
Statement type: