This topic was automatically generated from Slack. You can find the original thread here.
I am trying to connect via MCP in cursor to gorgias which is supported by pipedream using the API, can you please give me some guidance.
This topic was automatically generated from Slack. You can find the original thread here.
I am trying to connect via MCP in cursor to gorgias which is supported by pipedream using the API, can you please give me some guidance.
Certainly! Here’s a step-by-step guide to help you connect to Gorgias via MCP in Cursor, using Pipedream’s MCP servers and API support: — ## 1. Use Pipedream’s Hosted MCP Server - Go to mcp.pipedream.com and sign in or create an account (note: this is a separate account from pipedream.com). - Browse the available MCP servers and locate the one that supports Gorgias (if available). ## 2. Configure MCP in Cursor - In Cursor, open the MCP integration settings. - Add a new MCP server, using the configuration details provided on mcp.pipedream.com. - Follow any specific instructions on the server page to add it to Cursor as your MCP client. ## 3. Connect Your Gorgias Account - Once the MCP server is added, you’ll be prompted (either in the UI or by the AI) to connect your Gorgias account. - Authenticate and authorize access as required. ## 4. Start Using Gorgias via MCP - Enter a prompt in Cursor that uses Gorgias (e.g., “List my Gorgias tickets”). - The MCP server will route your request through Pipedream’s Gorgias integration using the API. — ### Additional Notes - If you don’t see Gorgias listed, you may need to request its addition or check if it’s available on the MCP server you selected. - For more details, see the Pipedream MCP documentation. — If you run into any issues or need more detailed, step-by-step help, please let me know what step you’re stuck on, or visit Support - Pipedream for more support options.
I want to create a voice application with retellai.com and connect to gorgias which you support, can you point me in the correct direction? I am. being told to use this code, which includes a bearer token, which I need your advice on how to generate.
To connect your Retell AI voice application to Gorgias using Pipedream (which supports Gorgias), and to use a Bearer token as required, here’s a step-by-step guide based on your scenario: — ## 1. Connecting Retell AI to Gorgias via Pipedream MCP ### A. Add the MCP Server - In your Retell AI or other agent platform, add a new MCP server. - Use the configuration form you provided: - Name: (Any name you choose, e.g., “Pipedream MCP”) - URL: Use the MCP server URL from https://mcp.pipedream.com - Timeout: 10000 ms (default is fine) - Headers: You’ll need to add an Authorization header with a Bearer token (see below). — ### B. Generating the Bearer Token for Gorgias API To connect to Gorgias via API, you need an API token from Gorgias. Here’s how to generate it: 1. Log in to your Gorgias account. 2. Go to Settings > REST API. 3. Click Create API Key. 4. Name your key (e.g., “Retell AI Integration”). 5. Copy the generated API key. This API key is your Bearer token. — ### C. Add the Bearer Token to Your MCP Headers In the Headers section of your MCP configuration, add: | Key | Value | |----------------|----------------------------| | Authorization | Bearer YOUR_GORGIAS_TOKEN | Replace YOUR_GORGIAS_TOKEN with the API key you generated in Gorgias. — ## 2. Connecting in Pipedream If you want to build the integration in Pipedream directly (for example, to connect Retell AI to Gorgias via a workflow): - Use the Gorgias integration in Pipedream. - When you connect your Gorgias account in Pipedream, you’ll be prompted to enter your API key (the same as above). - You can then use pre-built triggers and actions, or custom code steps, to interact with Gorgias. — ## 3. Sample Pipedream Code Step (Node.js) If you want to make a direct API call to Gorgias in a Pipedream code step: ```
import { axios } from “@pipedream/platform”; export default defineComponent({ props: { gorgiasApiKey: { type: “string”, label: “Gorgias API Key”, description: “Your Gorgias API key (Bearer token)”, }, subdomain: { type: “string”, label: “Gorgias Subdomain”, description: “Your Gorgias account subdomain (e.g., ‘mycompany’ for mycompany.gorgias.com)”, }, }, async run({ steps, $ }) { return await axios($, { url: https://${this.subdomain}.[gorgias.com/api/tickets](http://gorgias.com/api/tickets), headers: { Authorization: Bearer ${this.gorgiasApiKey}, }, }); }, });
i don’t want to connect via the workflow from Pipedream, I would rather just add it to the MCP add section in retell, please evaluate my options.
Based on your requirements and the relevant documentation, here’s an evaluation of your options for connecting Retell AI (or a similar voice application) to Gorgias using the Pipedream MCP (Multi-Channel Platform) server, without building a workflow in Pipedream: — ## 1. Using Pipedream MCP Directly in Retell - Pipedream MCP allows you to connect your app (Retell) to thousands of APIs (including Gorgias) without building custom workflows or handling authentication flows yourself. - You add the MCP server as a “tool” or integration in Retell, typically by providing the MCP server URL (e.g., https://mcp.pipedream.com) and any required headers (like Authorization). - Authentication: Pipedream MCP handles user authentication for you, so you don’t need to manage or store API tokens for Gorgias yourself. This is a major benefit if you want to avoid building and maintaining OAuth/token flows. Relevant Docs: > Pipedream Connect includes built-in user authentication for every MCP server, which means you don’t need to build any authorization flows or deal with token storage and refresh in order to make authenticated requests on behalf of your users. — ## 2. How to Add MCP to Retell - In Retell, go to the section where you add integrations or tools. - Click Create (or equivalent) and select Pipedream. - Enter the MCP server URL: https://mcp.pipedream.com - For headers, you typically do not need to manually generate or add a Bearer token for Gorgias. MCP manages this for you, provided you connect your Gorgias account via the MCP UI when prompted. Relevant Docs: > Click the Create button in the Tools section, then select Pipedream. — ## 3. What Happens Next? - When your voice app (Retell) makes a request to Gorgias via MCP, MCP will prompt you (or your users) to connect their Gorgias account the first time. - After connecting, MCP securely stores and injects the required Bearer token for Gorgias API calls. - You do not need to manually generate or manage the Bearer token in this flow. — ## 4. Summary of Your Options - Recommended: Use the MCP integration in Retell as described above. Let MCP handle authentication and API calls to Gorgias. - Not Recommended: Manually generate and manage Bearer tokens unless you have a specific security or workflow requirement that MCP cannot meet. — ## 5. If You Need Help If you run into issues or need more advanced configuration, please visit Support - Pipedream for more support options. — In summary: You should add the Pipedream MCP server in Retell’s integration section, and let MCP handle authentication and API calls to Gorgias. You do not need to manually generate or manage Bearer tokens when using MCP as intended.
Based on your screen and the Pipedream MCP documentation, here’s how to proceed: ### 1. Add the MCP Server - You’ve already pasted https://mcp.pipedream.com as the MCP server URL. That’s correct. ### 2. Selecting Gorgias as the Target Tool - You do NOT specify Gorgias as the target tool in this screen. - The MCP server acts as a gateway to multiple tools (including Gorgias). You only need to add the MCP server here. ### 3. How to Use Gorgias via MCP - Once the MCP server is added, when you use a tool or action in Retell that requires Gorgias, the MCP server will prompt you (or your users) to connect their Gorgias account the first time you try to use it. - You’ll select Gorgias as the tool within the Retell UI when you configure the specific action or integration you want (e.g., “Send a ticket to Gorgias”). - The MCP server will handle authentication and routing to Gorgias automatically. ### 4. Summary - You do not need to add Gorgias as a header, query param, or in the URL. - Just add the MCP server. - When you use an action that involves Gorgias, you’ll be prompted to connect your Gorgias account, and MCP will handle the rest. — If you have trouble finding the Gorgias tool or connecting your account, please visit Support - Pipedream for more support options.
I am still having problems connecting the tool to retell ai. My accounts are connected, but I can’t figure out how to get the tools to show in my settings in retellai.com should the authorization header be the API from Gorgias?
It sounds like you’re having trouble getting Gorgias tools to appear in your Retell AI settings, even though your Gorgias and Notion accounts show as connected in Pipedream Connect. Let’s clarify a few key points and next steps: — ## 1. Authorization Header You should NOT manually set the Authorization header to your Gorgias API key in Retell AI. When using Pipedream Connect (MCP), authentication is managed for you. The MCP server handles the secure connection to Gorgias using the account you connected in Pipedream. You do not need to (and should not) paste your Gorgias API key or token into Retell AI or any Authorization header. — ## 2. How Tools Appear in Retell AI - Once you connect your accounts in Pipedream Connect, tools like Gorgias should become available in your Retell AI tool selection UI (assuming Retell AI has integrated with Pipedream Connect properly). - If you do not see Gorgias as an available tool in Retell AI, it is likely an issue with how Retell AI is surfacing available tools from Pipedream Connect, not with your Gorgias credentials or headers. — ## 3. What You Should Do - Do not add your Gorgias API key to the Authorization header. - Make sure you have connected your Gorgias account in Pipedream Connect (see docs). - In Retell AI, ensure you have added the MCP server URL (e.g., https://mcp.pipedream.com) as the integration endpoint. - If Gorgias still does not appear as a tool in Retell AI, this is likely a limitation or bug in Retell AI’s integration with Pipedream Connect. — ## 4. Next Steps & Support - Double-check that your Gorgias account is connected at Pipedream - Connect APIs, AI, databases and more. - If everything is connected and you still don’t see Gorgias in Retell AI, please contact support for further help: Support - Pipedream — ### Summary - Don’t set the Authorization header to your Gorgias API key. - Account connections are managed by Pipedream Connect. - If tools don’t appear in Retell AI, it’s likely an issue on their side. - Contact Pipedream Support if you need more help. Let me know if you have more details or questions!
Does Retell AI support OAuth for their MCP servers?
Using Pipedream MCP as an end user requires that the MCP client supports OAuth to authenticate
Thanks for your reply. I am looking to connect to it as a developer, but am not sure if I need to add a bearer key or access token. I have added shopify with just the mcp token and the API Key, does Pipedream MCP work the same way?
Are you intending to make tool calls for yourself or for your customers?
I am making tool calls for my customers.
So you should really be configuring Pipedream MCP in code, since the access token that you send to Pipedream’s API only lasts for an hour and needs to be refreshed.