Skip to content

Conversation

@dannyroosevelt
Copy link
Collaborator

@dannyroosevelt dannyroosevelt commented May 17, 2025

WHY

Summary by CodeRabbit

  • New Features
    • Introduced comprehensive documentation for MCP (Model Context Protocol) servers, including overview, developer quickstart, OpenAI integration, and end-user guides.
  • Improvements
    • Streamlined and clarified Connect documentation, including updated titles, improved instructions, and expanded usage scenarios.
    • Updated environment configuration references and added details for backend client setup in code examples.
    • Enhanced navigation and metadata for Connect and Workflows sections.
  • Bug Fixes
    • Corrected and updated internal documentation links to more accurate paths.
  • Chores
    • Added and updated permanent redirect rules to ensure users are directed to the latest documentation locations.
  • Removals
    • Deleted outdated MCP documentation to reflect new, reorganized content.

@vercel
Copy link

vercel bot commented May 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Ignored (Inspect) Visit Preview May 19, 2025 9:34pm
pipedream-docs ⬜️ Ignored (Inspect) May 19, 2025 9:34pm
pipedream-docs-redirect-do-not-edit ⬜️ Ignored (Inspect) May 19, 2025 9:34pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 17, 2025

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

This update reorganizes and refines documentation for Connect and MCP servers, introducing new pages for MCP usage, updating navigation metadata, and adjusting internal and external links for clarity and consistency. Redirects are reconfigured to match the new documentation structure, and several content sections are streamlined or expanded to improve user guidance.

Changes

File(s) Change Summary
docs-v2/components/ConnectCodeSnippets.js Changed backend client initialization environment from "development" to "production" in server-side code snippet.
docs-v2/next.config.mjs Updated and added permanent redirects for /quickstart/, /quickstart/run-workflow-on-a-schedule/, and /connect/environments/ to match new documentation structure.
docs-v2/pages/_meta.tsx Removed "quickstart" entry from the exported navigation object.
docs-v2/pages/connect/_meta.tsx Simplified export object: replaced nested objects with direct strings, changed some titles, removed "environments" key, and updated "components" and "mcp" titles.
docs-v2/pages/connect/api-proxy.mdx
docs-v2/pages/connect/api.mdx
docs-v2/pages/connect/managed-auth/tokens.mdx
docs-v2/pages/connect/workflows.mdx
Updated Connect environment documentation links from /connect/environments/ to /connect/managed-auth/environments/.
docs-v2/pages/connect/managed-auth/_meta.tsx Added "environments": "Environments" and changed "customization" value to "Project Configuration".
docs-v2/pages/connect/managed-auth/customization.mdx Changed title to "Project Configuration", moved introductory sentence outside callout, and removed the callout component.
docs-v2/pages/connect/managed-auth/environments.mdx Revised environment separation language, updated pricing and warning callouts, and added projectId to backend client config code snippet.
docs-v2/pages/connect/managed-auth/quickstart.mdx Streamlined instructions, updated intro, expanded post-connection usage list, updated links, and removed a concluding note block.
docs-v2/pages/connect/mcp.mdx Deleted comprehensive MCP server documentation page.
docs-v2/pages/connect/mcp/_meta.tsx Added new metadata export for MCP section with keys for "index", "developers", "users", and a hidden "openai" entry.
docs-v2/pages/connect/mcp/developers.mdx
docs-v2/pages/connect/mcp/index.mdx
docs-v2/pages/connect/mcp/openai.mdx
docs-v2/pages/connect/mcp/users.mdx
Added new documentation pages for MCP: overview, developer quickstart, OpenAI integration, and end-user guide.
docs-v2/pages/workflows/_meta.tsx Added "quickstart": "Quickstart" entry to the workflows navigation metadata.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant DocsSite
    participant Redirects
    participant MCP Pages

    User->>DocsSite: Request /quickstart/
    DocsSite->>Redirects: Check redirect rules
    Redirects-->>User: Redirect to /workflows/quickstart/

    User->>DocsSite: Request MCP documentation
    DocsSite->>MCP Pages: Serve new MCP overview, developer, OpenAI, or user page
    MCP Pages-->>User: Display relevant MCP content
Loading

Poem

🐇
In the docs we hop and play,
MCP and Connect lead the way!
New guides appear, old links reroute,
Quickstarts and workflows—no more doubt.
Metadata’s tidy, titles shine bright,
Hooray for a documentation delight!


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@dannyroosevelt dannyroosevelt marked this pull request as ready for review May 19, 2025 21:30
@dannyroosevelt dannyroosevelt merged commit a024e77 into master May 19, 2025
4 checks passed
@dannyroosevelt dannyroosevelt deleted the danny/mcp-docs-updates branch May 19, 2025 21:34
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (13)
docs-v2/pages/connect/mcp/users.mdx (2)

12-15: Consider adding more details about account separation.

You mention that the MCP account is "separate from pipdream.com" but don't explain why or provide guidance on account management between the two systems.

- - Navigate to [mcp.pipedream.com](https://mcp.pipedream.com) and sign in or create an account (this is a separate account from pipdream.com)
+ - Navigate to [mcp.pipedream.com](https://mcp.pipedream.com) and sign in or create an account (this is a separate account from your pipedream.com account and handles MCP-specific authentication)

21-24: Include at least one specific example with actual syntax.

While the general examples are helpful, including at least one concrete example with the actual syntax or command structure would help users understand exactly how to form their requests.

- - "Send a message to my team in Slack"
- - "Create a new issue in GitHub"
- - "Add data to my Google Sheet"
+ - "Send a message to my team in Slack saying 'Meeting postponed to 3pm'"
+ - "Create a new issue in GitHub titled 'Update documentation' with description 'Add examples for new API endpoints'"
+ - "Add the data from this CSV file to my 'Q2 Sales' Google Sheet"
docs-v2/pages/connect/mcp/developers.mdx (2)

26-26: Provide guidance on environment selection.

The default environment is set to "development" but there's no explanation of when to use "development" versus "production" or other potential environments.

- PIPEDREAM_PROJECT_ENVIRONMENT=development
+ PIPEDREAM_PROJECT_ENVIRONMENT=development  # Use "development" for testing or "production" for live deployments

45-52: Consider adding example requests for the endpoints.

While the endpoints are well-documented, adding example curl commands or code snippets showing how to call these endpoints would make implementation easier.

 Where:
 - `:external_user_id` is your user's unique identifier in your system
 - `:app` is the app slug (e.g., "slack", "github")
+
+Example requests:
+```bash
+# Connect to SSE endpoint
+curl -N "http://localhost:3000/user123/slack"
+
+# Send a message
+curl -X POST "http://localhost:3000/user123/slack/messages" \
+  -H "Content-Type: application/json" \
+  -d '{"message": "Your message here"}'
+```
docs-v2/pages/connect/managed-auth/quickstart.mdx (2)

30-31: Fix phrasing typo in interactive demo sentence.

The sentence currently reads “see an execute the code” — it should be “see and execute the code”.

- We'll walk through these steps below with an interactive demo that lets you see an execute the code directly in the docs.
+ We'll walk through these steps below with an interactive demo that lets you see and execute the code directly in the docs.
🧰 Tools
🪛 LanguageTool

[misspelling] ~30-~30: Did you mean “and”?
Context: ...h an interactive demo that lets you see an execute the code directly in the docs. ...

(AN_AND)


69-69: Add conjunction for smoother flow.

Consider changing “Check out the code below try it yourself” to “Check out the code below and try it yourself” for readability.

- Check out the code below **try it yourself**:
+ Check out the code below and **try it yourself**:
docs-v2/pages/connect/mcp/openai.mdx (4)

1-1: Remove unused Tabs import.

Tabs is imported but never used — either remove it or re-enable the tabbed code examples.

-import { Callout, Tabs } from 'nextra/components'
+import { Callout } from 'nextra/components'

5-5: Fix typo “capabilties” → “capabilities”.

Spelling errors can undermine credibility.

- extend the capabilties of your app
+ extend the capabilities of your app

19-19: Correct misspelling “requiremnents” → “requirements”.

- These are requiremnents for you, the developer.
+ These are requirements for you, the developer.

111-111: Refine informal phrasing “a couple different ways”.

Change to “a couple of different ways” for correctness.

- You can handle account connections in a couple different ways in your app:
+ You can handle account connections in a couple of different ways in your app:
🧰 Tools
🪛 LanguageTool

[style] ~111-~111: It’s considered informal to use ‘a couple’ without the preposition ‘of’ before a noun.
Context: ... You can handle account connections in a couple different ways in your app: 1. Add the...

(A_COUPLE_OF)

docs-v2/pages/connect/mcp/index.mdx (3)

7-7: Remove or replace commented-out image block.

If the illustration isn’t needed, it’s better to delete the commented code; otherwise, reinstate the <Image> component with alt text.

{/* <Image src="…" alt="MCP visualization" width={…} height={…} /> */}

11-14: Consider removing hyphen on “Fully-managed”.

Adverbs ending in “-ly” typically don’t require hyphens:

- - **Fully-managed OAuth and secure credential storage**
+ - **Fully managed OAuth and secure credential storage**
🧰 Tools
🪛 LanguageTool

[uncategorized] ~13-~13: Although a hyphen is possible, it is not necessary in a compound modifier in which the first word is an adverb that ends in ‘ly’.
Context: ...terface - Over 10,000 pre-built tools - Fully-managed OAuth and secure credential storage <C...

(HYPHENATED_LY_ADVERB_ADJECTIVE)


59-60: Fix typo in link text “expore” → “explore”.

- [pipedream.com/expore](https://pipedream.com/explore#popular-actions)
+ [pipedream.com/explore](https://pipedream.com/explore#popular-actions)
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between 6144407 and bfa3bea.

📒 Files selected for processing (19)
  • docs-v2/components/ConnectCodeSnippets.js (1 hunks)
  • docs-v2/next.config.mjs (2 hunks)
  • docs-v2/pages/_meta.tsx (0 hunks)
  • docs-v2/pages/connect/_meta.tsx (1 hunks)
  • docs-v2/pages/connect/api-proxy.mdx (1 hunks)
  • docs-v2/pages/connect/api.mdx (1 hunks)
  • docs-v2/pages/connect/managed-auth/_meta.tsx (1 hunks)
  • docs-v2/pages/connect/managed-auth/customization.mdx (1 hunks)
  • docs-v2/pages/connect/managed-auth/environments.mdx (2 hunks)
  • docs-v2/pages/connect/managed-auth/quickstart.mdx (5 hunks)
  • docs-v2/pages/connect/managed-auth/tokens.mdx (1 hunks)
  • docs-v2/pages/connect/mcp.mdx (0 hunks)
  • docs-v2/pages/connect/mcp/_meta.tsx (1 hunks)
  • docs-v2/pages/connect/mcp/developers.mdx (1 hunks)
  • docs-v2/pages/connect/mcp/index.mdx (1 hunks)
  • docs-v2/pages/connect/mcp/openai.mdx (1 hunks)
  • docs-v2/pages/connect/mcp/users.mdx (1 hunks)
  • docs-v2/pages/connect/workflows.mdx (2 hunks)
  • docs-v2/pages/workflows/_meta.tsx (1 hunks)
💤 Files with no reviewable changes (2)
  • docs-v2/pages/_meta.tsx
  • docs-v2/pages/connect/mcp.mdx
🧰 Additional context used
🪛 LanguageTool
docs-v2/pages/connect/managed-auth/quickstart.mdx

[misspelling] ~30-~30: Did you mean “and”?
Context: ...h an interactive demo that lets you see an execute the code directly in the docs. ...

(AN_AND)

docs-v2/pages/connect/mcp/openai.mdx

[style] ~111-~111: It’s considered informal to use ‘a couple’ without the preposition ‘of’ before a noun.
Context: ... You can handle account connections in a couple different ways in your app: 1. Add the...

(A_COUPLE_OF)

docs-v2/pages/connect/mcp/index.mdx

[uncategorized] ~13-~13: Although a hyphen is possible, it is not necessary in a compound modifier in which the first word is an adverb that ends in ‘ly’.
Context: ...terface - Over 10,000 pre-built tools - Fully-managed OAuth and secure credential storage <C...

(HYPHENATED_LY_ADVERB_ADJECTIVE)

🔇 Additional comments (35)
docs-v2/pages/connect/mcp/_meta.tsx (1)

1-9: Metadata definition for MCP navigation looks correct.

The object is properly typed with as const, and the openai entry’s hidden display setting aligns with the design for this subsection. No additional changes needed here.

docs-v2/pages/connect/managed-auth/tokens.mdx (1)

30-30: Updated environment link path is correct.

The link now points to /connect/managed-auth/environments/, matching the restructured docs. Please ensure the target page exists and is accessible.

docs-v2/pages/connect/api-proxy.mdx (1)

30-30: Link to managed-auth environments is consistent.

Updating the environment link to /connect/managed-auth/environments/ aligns with other managed-auth references. Verify that the redirect from the old /connect/environments/ path is configured appropriately.

docs-v2/pages/connect/managed-auth/_meta.tsx (2)

7-7: Added “environments” entry to metadata.

The new "environments": "Environments" key properly includes the environments page in the navigation menu.


9-9: Updated customization label for clarity.

Changing "customization" to "Project Configuration" matches the revised title in the customization guide. Ensure the corresponding .mdx file reflects this new heading.

docs-v2/pages/workflows/_meta.tsx (1)

3-3: Reintroduced Quickstart under Workflows metadata.

Adding "quickstart": "Quickstart" centralizes quickstart content within the workflows section. Confirm that the redirect rules in next.config.mjs route /quickstart/ paths to this new workflows quickstart page.

docs-v2/pages/connect/api.mdx (1)

107-107: URL path updated correctly.

The URL path for environment parameter reference has been updated from /connect/environments/ to /connect/managed-auth/environments/, which aligns with the broader documentation restructuring mentioned in the summary.

docs-v2/pages/connect/workflows.mdx (2)

118-118: URL path updated correctly.

The URL path for Connect environment has been updated from /connect/environments/ to /connect/managed-auth/environments/ in the prerequisites section, which matches the reorganization of Connect documentation structure.


278-278: URL path updated correctly.

The URL path for Connect environment has been updated from /connect/environments/ to /connect/managed-auth/environments/ in the HTTP webhook section, maintaining consistency throughout the documentation.

docs-v2/pages/connect/managed-auth/customization.mdx (1)

4-6: Title and content structure improved.

The document title has been changed from "Customizing the Auth Flow" to "Project Configuration" and the introductory text has been moved from a callout box to regular paragraph text. This improves the document structure and makes the content more accessible.

docs-v2/pages/connect/mcp/users.mdx (2)

4-6: Clear and concise introduction.

The title and introduction clearly explain the purpose of the document - helping end users set up and use Pipedream MCP with compatible MCP clients.


8-38: Well-structured step-by-step guide.

The use of the <Steps> component creates a clear, sequential guide that's easy to follow. Each step has a descriptive heading and concise instructions.

docs-v2/pages/connect/mcp/developers.mdx (4)

3-4: Clear and concise introduction with reference link.

The introduction clearly states the purpose of the document and includes a helpful link to the reference implementation.


22-27: Environment variables documentation is clear.

The environment variables section clearly lists all required variables with appropriate variable names.


31-52: Well-structured MCP server modes explanation.

The documentation clearly explains the two modes of operation (Stdio and SSE) with appropriate code examples and detailed explanations of the parameters and routes.


57-70: Clear deployment instructions.

The section provides a comprehensive set of commands for cloning, installing dependencies, building, and running the server.

docs-v2/next.config.mjs (3)

94-95: Proper redirect update for quickstart guide.

The destination for the workflow schedule quickstart has been appropriately updated to the new path.


97-100: Added necessary redirect for main quickstart path.

This new redirect ensures users accessing the old quickstart path are properly directed to the new location.


484-488: Added appropriate redirect for environments documentation.

This new redirect ensures users accessing the old environments path are directed to the updated location under managed-auth.

docs-v2/pages/connect/_meta.tsx (2)

2-9: Simplified metadata structure.

The metadata structure has been simplified by replacing nested objects with direct string values, making the file more concise and easier to maintain.


5-6: Improved terminology clarity.

Changing "Pre-built tools" to "Tool calling" and "MCP servers" to "MCP" uses more precise, technical terminology that better aligns with industry standards and the actual functionality.

docs-v2/pages/connect/managed-auth/environments.mdx (5)

6-6: Good generalization of environment separation.

Changing the phrasing to describe environment isolation without listing specific names makes the doc more maintainable and less error-prone.


9-9: Pricing callout improved for clarity.

The info callout now highlights plan requirements succinctly and invites readers to the pricing page at the right moment.


14-14: Enhanced development mode description.

Rewording the development mode intro provides clearer context and sets up the constraints list nicely.


21-21: Streamlined warning about production environment.

Simplifying the warning and removing backticks around “production” improves readability.


42-43: Added projectId to backend client config.

Including projectId aligns with the updated SDK requirements and ensures the snippet is accurate.

docs-v2/pages/connect/managed-auth/quickstart.mdx (7)

2-2: Imported Steps for the new interactive demo component.

The Steps import is used below to wrap each step in a wizard-like interface.


38-39: Anchor link is correct.

The #generate-a-short-lived-token ID matches the “Generate a short-lived token” heading further down.


53-54: Condensed “Create a project” steps are clear.

Linking to /projects with explicit instructions streamlines onboarding.


60-61: OAuth client creation steps are concise.

Removing extraneous details from these steps helps readers move faster.


83-83: Clear description of connection options.

The two choices for account connection are well laid out.


128-132: Expanded list of usage methods is helpful.

Adding the embedding option rounds out the set of post-connection use cases nicely.


135-135: Production deployment callout is accurate.

Linking back to the environments page ensures readers graduate from dev to prod seamlessly.

docs-v2/pages/connect/mcp/index.mdx (2)

1-1: Add import for Callout.

The Callout component is used for the security warning below.


3-3: Page title is clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants