Create and control Devin coding sessions, plus manage organization secrets and knowledge items, all from one place for streamlined engineering automation.
How to Use MCP Nodes
What is Devin MCP?
Devin MCP creates a customized node that understands Devin’s API, so you can manage coding sessions and related resources using natural language. You describe what you need, and the node performs the requested action and returns structured data you can pass to the next step. It is designed for reusable workflow automation with clear, focused prompts.What Can It Do for You?
- Start new coding sessions with a task prompt and capture the session ID for downstream steps
- Send messages to ongoing sessions and fetch up-to-date session details
- Add or update tags on sessions to organize work by project or status
- Manage organization resources like secrets and knowledge items, including list, create, update, and delete
Available Tools
| Tool | What It Does | Example Use |
|---|---|---|
| List Sessions | List all Devin sessions for your organization | ”List all sessions and return structured data with session id, name, status, and created time” |
| Create Session | Create a new Devin session with a task prompt | ”Create a new coding session to implement task description and return structured data with session id, name, and status” |
| Get Session | Get details for an existing session | ”Given session id from a previous step, get session details and return structured data with status, tags, and created time” |
| Send Session Message | Send a message to an existing session | ”Given session id and message message text, send the message and return structured data with message id and timestamp” |
| Terminate Session | Terminate an active session | ”Given session id, terminate the session and return structured data with session id and final status” |
| Update Session Tags | Update tags for a session | ”Given session id, set tags to tag list and return structured data with session id and tags” |
| List Secrets | List metadata for all secrets | ”List all secrets and return structured data with secret id, name, and created time” |
| Create Secret | Create a new encrypted secret | ”Create a secret named secret name with value secret value and return structured data with secret id and name” |
| Delete Secret | Permanently delete a secret | ”Given secret id from a previous step, delete the secret and return structured data confirming deletion with secret id” |
| List Knowledge | List all knowledge and folders | ”List knowledge items and folders and return structured data with knowledge id, title, and folder” |
| Create Knowledge | Create a new knowledge item | ”Create knowledge titled title with content content text in folder folder name and return structured data with knowledge id and title” |
| Update Knowledge | Update an existing knowledge item | ”Given knowledge id and updated title or content, apply the update and return structured data with knowledge id and updated fields” |
| Delete Knowledge | Permanently delete a knowledge item | ”Given knowledge id from a previous step, delete the knowledge item and return structured data confirming deletion with knowledge id” |
How to Use
1
Create Your Devin MCP Node
Go to your node library, search for Devin, and click “Create a node with AI”
2
Add Your Prompt
Drag the Devin MCP node to your canvas and add your prompt in the text box. Use variables like
session id, task description, and message text so the node is reusable.3
Test Your Node
Run the node to see the results. If it works as expected, you’re all set. If you run into issues, check the troubleshooting tips below.
4
Save and Reuse
Once your Devin MCP node is working, save it to your library. You can now use this customized node in any workflow.
Example Prompts
Here are some prompts that work well with Devin MCP: Create a new session:Troubleshooting
If your Devin MCP node isn’t working as expected, try these best practices:Keep Prompts Simple and Specific
- Good: “List all sessions and return structured data with session id and status”
- Bad: “Create a session for
task description, wait for it to finish, send a message to confirm, then terminate it, and log everything to sheets”
Match What Devin Can Do
- Good: “Given
session id, send the messagemessage textand return structured data with message id” - Bad: “Create a GitHub repository, push code, and open a pull request”
Break Complex Tasks Into Steps
Instead of trying to do everything in one prompt (which can cause timeouts and errors):1
Step 1: Create Session
Create a new coding session to work on
task description and return structured data with session id and status2
Step 2: Tag Session
Given
session id, update tags to tag list and return structured data with session id and tags3
Step 3: Send Kickoff Message
Given
session id, send the message kickoff message and return structured data with message id and timestamp4
Step 4: Save Knowledge
Create knowledge titled
title with content summary text in folder folder name and return structured data with knowledge id and titleIn your workflow, connect these nodes sequentially. The session id output from Step 1 becomes the input for Step 2 and Step 3, and the text from those steps can feed into Step 4.
Focus on Data Retrieval
Devin MCP is great at getting information from Devin. For analysis or content creation, connect it to other nodes. Example:- Good prompt: “Given
session id, get session details and return structured data with status, tags, and created time” - Bad prompt: “Get session details, analyze success likelihood, and draft a project plan”
Troubleshooting Node Creation
Empty Outputs
Empty Outputs
If you’re seeing empty outputs in the node creation window (or if you’ve already created the node, hover over it and click “Edit”), use the Gummie chat interface to prompt the AI to add debug logs and verify the API response. Specifically mention that you received empty outputs. You can also click “Request changes” in the node creation window to guide updates to the node.
Incorrect Results
Incorrect Results
In the node creation window (or if you’ve already created the node, hover over it and click “Edit”), use the chat interface to describe in detail what you expected versus what you received.
Errors
Errors
First click “Fix with Gummie”. If multiple attempts fail, simplify your prompt or contact support.
Iterate Using the Chat
Iterate Using the Chat
MCP node creation often benefits from a few tweaks. Use the chat interface in the node creation window to refine filters, output fields, or pagination. The AI will adjust the node based on your feedback.
Need More Help?
- Watch What are MCP Nodes video tutorial
- Check out MCP Best Practices in Gumloop University
- Join the Gumloop Community for support
- View the Devin MCP setup guide for Claude and Cursor
- Contact support at [email protected]
