MULTI-APP TOOLKIT
Build with Azure DevOps + Gitea
- Multi-app
- One MCP session
- 73 actions
- 1 triggers
- Managed auth
MCP
One MCP session, both toolsets
One session gives your product or agent every Azure DevOps and Gitea tool at once — connect once, list tools, and call them like any single-app session.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "azure_devops,gitea",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// One list, both toolsets: Azure DevOps and Gitea tools arrive
// together, each keyed by its own app's slug.
// e.g. run Add Pull Request Reviewer:
const result = await mcp.callTool({
name: "azure_devops-add-pull-request-reviewer",
arguments: {
organization: "Organization",
project: "Project",
},
})import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const externalUserId = "{external_user_id}" // any stable ID for this user in your system
const [azureDevopsTools, giteaTools] =
await Promise.all([
pd.components.list({ app: "azure_devops" }),
pd.components.list({ app: "gitea" }),
])
// One external user owns both connected accounts, so either app's tools
// run on their behalf with the same externalUserId.curl "https://api.pipedream.com/v1/connect/{project_id}/components?app=azure_devops" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}"
curl "https://api.pipedream.com/v1/connect/{project_id}/components?app=gitea" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}"
# Connect both accounts to the same external_user_id, then
# configure and invoke either app's tools on that user's behalf.ARCHITECTURE
One user, two connected accounts
Your user connects each account once, under whatever ID they already have in your product. The two stay independent — either can be revoked on its own — and your code reaches both through that one user.
Your product
external_user_id
{external_user_id}Pipedream Connect
Managed identity
Auth · tools · routing
Azure DevOps
Connected account
Gitea
Connected account
TOOLS
Azure DevOps tools
The Azure DevOps tools this pairing puts in reach, each one running on your user's own connected account.
Actions top 8 of 73
-
Add Pull Request Reviewer
actionAdd a reviewer to a pull request, optionally marking them required or casting their vote. Returns the reviewer entry including their current vote. Use this to route a pull request to the right owner automatically. Example: pull request12, reviewer8ebabf04-0b08-6a43-9bf4-96e1f4aa3682, voteApproved. See the documentationWritev0.0.2 -
Add Work Item Comment
actionAdd a comment to a work item's discussion thread. Returns the new comment's id and rendered text. Use this to post automated status back to the item humans are watching, rather than editing its description. Example: work item299, commentDeployed to staging in build 4821. See the documentationWritev0.0.2 -
Cancel Build
actionCancel a build that is still running. Returns the build with its status moved to cancelling. Use this to stop a run that has been superseded or was triggered in error. Example: build4821. Run the List Builds action first to obtain the build id. See the documentationWritev0.0.2 -
Create Branch
actionCreate a branch pointing at an existing commit. Returns the ref update result. Use this to open a working branch before pushing changes and raising a pull request. Example: new branchfeature/loginat commita3fecf65a6766ebc6f2e33b66a1520b827c67ef8. Run the List Commits action first to obtain the commit the branch should point at. See the documentationWritev0.0.2 -
Create Or Update File
actionPush a single file add, edit or delete to an existing branch, as one commit. Returns the push result including the new commit SHA. The branch must already exist. Use this to commit generated config or docs back to a repository. Example: edit/docs/README.mdonmainwith commit messageUpdate setup steps. See the documentationWritev0.0.2 -
Create Or Update Wiki Page
actionCreate a wiki page, or replace the content of an existing one. Returns the resulting page and its version. This replaces the whole page rather than appending, so read the page first if you need to preserve existing content. Use this to publish generated documentation. Example: page path/Runbooks/Deploy, Markdown content. See the documentationWritev0.0.2 -
Create Pipeline
actionCreate a YAML pipeline from a definition file already committed to a Git repository. Returns the new pipeline's id and name. The YAML file must exist before this call - push it first. Use this to register a new service's CI. Example: namefabrikam-api-CIfrom/azure-pipelines.yml. See the documentationWritev0.0.2 -
Create Project
actionQueue creation of a new project. Project creation is asynchronous, so this returns an operation reference rather than the finished project - poll the project list to see it appear. Use when onboarding a new team or product area. Example: namePayments Platform, visibilityprivate, Agile process. See the documentationWritev0.0.2
TOOLS
Gitea tools
The Gitea tools this pairing puts in reach, each one running on your user's own connected account.
Actions
No Gitea actions are available yet.
Triggers
No Gitea triggers are available yet.
MULTI-APP
Works with more apps
The combinations customers connect alongside these two — nothing here is limited to a pair.
REFERENCE
Toolkit details
- x-pd-app-slug
- azure_devops,gitea
- Primary app
- Azure DevOps (azure_devops)
- Second app
- Gitea (gitea)
- Authentication
- OAuth + API key
- Available actions
- 73
- Available triggers
- 1