Self-Hosted Pardot MCP
MCP server for Salesforce Account Engagement (Pardot). The MCP endpoint is at /api/mcp.
Connect this server from Claude (web or desktop) as a custom MCP server.
Configuration status
- ✓ SetSALESFORCE_CLIENT_ID— Salesforce Connected App client id
- ✓ SetSALESFORCE_CLIENT_SECRET— Salesforce Connected App client secret
- ✓ SetTOKEN_ENC_KEY— Encryption key for the OAuth bridge
- ✓ SetPARDOT_BUSINESS_UNIT_ID— Account Engagement Business Unit id
All required configuration is present.
How to configure it
- Create a Salesforce Connected App with OAuth enabled and scopes
pardot_api,api,refresh_token,offline_access,openid. PKCE must be allowed. - Register this server’s callback on the Connected App:
https://<your-domain>/api/oauth/callback. - Set
SALESFORCE_CLIENT_IDandSALESFORCE_CLIENT_SECRETfrom the Connected App. - Generate an encryption key and set
TOKEN_ENC_KEY:openssl rand -base64 32. - Set
PARDOT_BUSINESS_UNIT_IDto your Account Engagement Business Unit id (Setup → Account Engagement Settings in Salesforce). - Restart the server with the new environment variables set.