Skip to main content
This is an example of how to use Pipedream MCP servers with authentication. This is useful if your app is interfacing with the MCP servers in behalf of your users.
pipedream_auth.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as pipedream_auth.py, then run:
Full source: cookbook/91_tools/mcp/pipedream_auth.py