Skip to main content
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

ToolWhat It DoesExample Use
List SessionsList all Devin sessions for your organization”List all sessions and return structured data with session id, name, status, and created time”
Create SessionCreate 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 SessionGet 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 MessageSend 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 SessionTerminate an active session”Given session id, terminate the session and return structured data with session id and final status”
Update Session TagsUpdate tags for a session”Given session id, set tags to tag list and return structured data with session id and tags”
List SecretsList metadata for all secrets”List all secrets and return structured data with secret id, name, and created time”
Create SecretCreate a new encrypted secret”Create a secret named secret name with value secret value and return structured data with secret id and name”
Delete SecretPermanently delete a secret”Given secret id from a previous step, delete the secret and return structured data confirming deletion with secret id”
List KnowledgeList all knowledge and folders”List knowledge items and folders and return structured data with knowledge id, title, and folder”
Create KnowledgeCreate 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 KnowledgeUpdate 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 KnowledgePermanently 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:
Create a new coding session to work on `task description` and return structured data with session id, name, and status
List existing sessions:
List all sessions and return structured data with session id, name, status, and created time
Send a message to a session:
Given `session id`, send the message `message text` and return structured data with message id and timestamp
Organize a session with tags:
Given `session id`, update tags to `tag list` and return structured data with session id and tags
Manage knowledge for documentation:
Create knowledge titled `title` with content `content text` in folder `folder name` and return structured data with knowledge id and title
Start simple and keep each node focused on a single action like create, get, send, or update. Use variables such as session id, task description, and tag list, then chain nodes with Router and Google Sheets Writer to store and route structured data efficiently.

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”
While this prompt might work, it’s more efficient to break it into separate nodes. Devin MCP works best with focused, single-action prompts.

Match What Devin Can Do

  • Good: “Given session id, send the message message text and return structured data with message id”
  • Bad: “Create a GitHub repository, push code, and open a pull request”
Devin MCP excels at managing Devin sessions, secrets, and knowledge. For repository actions, combine it with Call API or Run Code in your workflow.

Break Complex Tasks Into Steps

Instead of trying to do everything in one prompt (which can cause timeouts and errors):
Create a new coding session for `task description`, add tags `tag list`, send `kickoff message`, and save a knowledge note with `summary text`
Break this into smaller, focused nodes that each handle one task:
1

Step 1: Create Session

Create a new coding session to work on task description and return structured data with session id and status
2

Step 2: Tag Session

Given session id, update tags to tag list and return structured data with session id and tags
3

Step 3: Send Kickoff Message

Given session id, send the message kickoff message and return structured data with message id and timestamp
4

Step 4: Save Knowledge

Create knowledge titled title with content summary text in folder folder name and return structured data with knowledge id and title
In 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”
Use the Ask AI node for analysis or content generation. Keep Devin prompts focused on retrieving or updating session, secret, and knowledge data.

Troubleshooting Node Creation

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.
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.
First click “Fix with Gummie”. If multiple attempts fail, simplify your prompt or contact support.
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?