-
Notifications
You must be signed in to change notification settings - Fork 16
Help center/MCP server: visual debugger mention added #474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,17 +9,21 @@ A debug session is a temporary authorization to access execution traces on the [ | |||||
|
|
||||||
| ## Start a debug session | ||||||
|
|
||||||
| Go to your MCP server settings and create a new session. You will get a unique token to authenticate your requests. | ||||||
| Go to your MCP server settings and create a new session. | ||||||
|
|
||||||
| From the debug session page, select a tool to get a pre-filled cURL command. The request uses 4 variables: | ||||||
| ### Send requests using the MCP server | ||||||
|
|
||||||
| After starting a session, you can analyze requests sent by your AI tool. For debug/QA, we recommend using [MCPJam](/help/mcp-servers/use-mcp-server/#mcpjam-debug-tool), a free MCP testing platform. | ||||||
|
|
||||||
| ### Send requests using cURL | ||||||
|
|
||||||
| You can also directly send requests using cURL. From the debug session page, select a tool to get a pre-filled cURL command. The request uses 4 variables: | ||||||
|
|
||||||
| - `ORGANIZATION_SLUG`: your Bump.sh organization slug. | ||||||
| - `MCP_SERVER_SLUG`: your MCP server slug. | ||||||
| - `DEBUG_TOKEN`: your unique session token. | ||||||
| - `TOOL_NAME`: the tool to debug, as defined in your workflow file. | ||||||
|
|
||||||
| ### Pass inputs | ||||||
|
|
||||||
| If the workflow requires inputs, you can pass them in two ways. | ||||||
|
|
||||||
| **As query parameters** (simplest, with a GET request): | ||||||
|
|
@@ -47,18 +51,26 @@ $ curl \ | |||||
|
|
||||||
| ## Read the response | ||||||
|
|
||||||
| ### Using the visual debugger | ||||||
|
|
||||||
| The visual debugger allows you to visually analyze workflow's execution. To access it, click on "Open debugger" from the Debug sessions page. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| It returns the same level of information as the debug endpoint. [`trace` content detailed here.](/help/mcp-servers/debug-sessions/#understand-the-trace) | ||||||
|
|
||||||
|  | ||||||
|
|
||||||
| ### Using the debug endpoint | ||||||
|
|
||||||
| The debug endpoint returns a JSON object with two keys: | ||||||
|
|
||||||
| - `outputs`: the final values returned to the AI agent after running the workflow. | ||||||
| - `trace`: the full execution trace, showing every step the data plane ran. | ||||||
|
|
||||||
| ### Quick check | ||||||
|
|
||||||
| Start by looking at `outputs`. If the values are wrong or missing, dive into the `trace` to find where things went wrong. | ||||||
|
|
||||||
| ### Understand the trace | ||||||
|
|
||||||
| The `trace` object contains: | ||||||
| The `trace` object returned in cURL contains all the information about the workflow's execution. The visual debugger structures and renders its content. You'll find: | ||||||
|
|
||||||
| - **Flow-level inputs and outputs**: what the workflow received and what it returned. | ||||||
| - **Steps** (`step.run`): each HTTP request the data plane executed, with the full request (method, URL, query, body) and the API response (status, body). | ||||||
|
|
||||||
Binary file modified
BIN
-81.2 KB
(38%)
src/docs/images/help/mcp-servers/mcp-servers-debug-session.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the" feels more natural here.