mcpField
P
pluggy-integration

pluggy-integration

github.com/pluggyaiDevelopment7507 installsUpdated 22w ago
Repository

About pluggy-integration

A reference skill for implementing integrations with the Pluggy Open Finance API. It organizes guidance on authentication, the Connect Widget, webhooks, item lifecycle, and error handling into prioritized rules with code examples.

Key features

  1. 01Prioritized integration rules
  2. 02API key and token guidance
  3. 03Connect Widget implementation guidance
  4. 04Webhook and item lifecycle guidance
  5. 05Error-handling examples

Use cases

  1. 01Set up Pluggy SDK authentication
  2. 02Implement the Connect Widget in a frontend
  3. 03Manage Items and MFA flows
  4. 04Configure webhooks and handle connection errors

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pluggyai/agent-skills --skill pluggy-integration

After installing, type/pluggy-integrationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
metadata.json
rules/
auth-api-keys.md
auth-token-refresh.md
error-handling.md
error-mfa.md
item-delete.md
item-lifecycle.md
webhook-setup.md
widget-integration.md
widget-update-item.md

Details

From the project README

Pluggy Integration

Comprehensive integration guide for Pluggy Open Finance API. Contains rules across 5 categories, prioritized by impact to guide accurate implementation.

When to Apply

Reference these guidelines when:

  • Setting up Pluggy SDK and authentication
  • Implementing the Connect Widget in frontend applications
  • Creating, updating, or managing Items (connections)
  • Handling MFA (Multi-Factor Authentication) flows
  • Configuring webhooks for real-time data sync
  • Managing API keys and tokens
  • Handling connection errors and edge cases

Rule Categories by Priority

PriorityCategoryImpactPrefix
1AuthenticationCRITICALauth-
2Connect WidgetCRITICALwidget-
3Webhook ConfigurationCRITICALwebhook-
4Item LifecycleHIGHitem-
5Error HandlingMEDIUMerror-

How to Use

Read individual rule files for detailed explanations and code examples:

rules/auth-api-keys.md
rules/widget-integration.md
rules/item-lifecycle.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Additional context and references
  • Pluggy-specific notes

Key Concepts

Connection Sync vs Data Sync
ResponsibilityWho HandlesHow
Connection syncPluggyAuto-sync every 24/12/8h
Triggering updatesUserOnly when user explicitly requests
Entity data syncYouFetch all on item/updated webhook
Transaction syncYouUse transactions/* webhook events
API Key vs Connect Token
  • API Key: Backend token (2h expiration) for accessing user data
  • Connect Token: Frontend token (30min expiration) for Connect Widget only
Item Lifecycle
  1. User opens Connect Widget with Connect Token
  2. User selects connector and authenticates
  3. Pluggy creates Item and starts data sync
  4. Webhook notifies when sync completes
  5. Backend retrieves data using API Key
  6. Pluggy auto-syncs daily; webhook triggers data refresh

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Comments

Markdown supported