Setting up MCP Server¶
MCP Server settings may vary between tools, please check documentation of the tool you want to use.
VSCode and MCP Server¶
Please have a look how to use MCP Server with VSCode in this documentation. More MCP Server for VSCode can be found in the Marketplace
Adding MCP Server¶
Using the Add MCP Server command¶
Manualy editing the mcp.json file¶
To be able to manualy edit the mcp.json file you have to first let it be created by VSCode, easiest way is to use Add MCP Server command to add an entry then open it from the MCP server settings for editing.
Preparing the mcp.json file¶
NOTE: Templates for
mcp.jsonfiles with preprovided sections: for local mcp server and for remove mcp server
Add the MCP Servers into the mcp.json file in the "servers" section.
Loop MCP Server¶
The Loop MCP server uses single sign on for authentication so the setup is very simple. Please have a look at the documentation for Loop MCP server usage
Configure the MCP Server Section¶
Control MCP Server¶
Get the necessary Access Token¶
Configure the MCP Server Section¶
Use your token and replace the <control token> part with your token in the Control MCP Server section.
"Control-MCP-Server": {
"url": "https://<hostname>/control-mcp",
"type": "http",
"headers": {
"Authorization": "token <control token>"
}
}
Test MCP Server¶
Please have a look at the Testhub Documentation how to configure the MCP server for more details.
Get the necessary Offline User Token¶
Configure the MCP Server Section¶
Use your token and replace the <test token> part with your token in the Test MCP Server section.
"Test-MCP-Server": {
"url": "https://<hostname>/test/mcp/stream",
"type": "http",
"headers": {
"Authorization": "Offline <test token>"
}
}
Deploy MCP Server¶
Deploy MCP Server requires a slightly different approach. Please have a look at the documentation for Deploy MCP server usage for more details.
Get the necessary Token¶
Encrypt Token¶
You need to use base64 to encode the token with the Authentication Type string.
- Encrypt on MacOS or Linux
- Encrypt on Windows
$encoded = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("PasswordIsAuthToken: <Your Deploy Token>"))
write-output $encoded
Configure the MCP Server Section¶
Use the output and replace the <base64 encoded deploy token> part with it in the Deploy MCP Server section.
"Deploy-MCP-Server": {
"url": "https://<hostname>/deploy/mcp",
"type": "http",
"headers": {
"Authorization": "Basic <base64 encoded deploy token>"
}
}
Measure/Release (Velocity) MCP Server¶
Measure and Release use the services of DevOps Velocity. Please have a look at the DevOps Velocity documentation MCP section for more details.
Get the necessary User Access Key¶
Configure the MCP Server Section¶
Use your User Access Key and replace the <velocity token> part with your token in the Velocity MCP Server section.
"Velocity-MCP-Server": {
"url": "https://<hostname>/velocity/mcp",
"type": "http",
"headers": {
"Authorization": "UserAccessKey <velocity token>"
}
Plan MCP Server¶
In the actual Version of Loop the remote MCP Server for Plan is not available, it is planned to be delivered in the next release. We need to use the local MCP Server which requires the Personal Access token and a Teamspace ID (which is named Database ID in Plan)
Get the necessary Personal Access Token¶
Get the necessagery Teamspace (DB) ID¶
Configure the MCP Server Section¶
Use your Personal Access token and replace the <plan token> part with your token in the Plan MCP Server section, replace the <teamspace id>with the value of the DB ID.
"plan-mcp-server": {
"command": "npx",
"args": [
"-y",
"@securedevops/mcp-devops-plan"
],
"env": {
"PLAN_ACCESS_TOKEN": "<plan token>",
"PLAN_SERVER_URL": "https://<hostname>/plan",
"PLAN_TEAMSPACE_ID": "<teamspace id>"
},
"type": "stdio"
}
VSCode mcp.json template¶
Here the mcp.json template file using available remote MCP server and the local one for DevOps Plan (will be changed as soon as the remote one is available)
{
"servers": {
"Loop-MCP-Server": {
"url": "https://<hostname>/loop/mcp",
"type": "http"
},
"Control-MCP-Server": {
"url": "https://<hostname>/control-mcp",
"type": "http",
"headers": {
"Authorization": "token <control token>"
}
},
"Test-MCP-Server": {
"url": "https://<hostname>/test/mcp/stream",
"type": "http",
"headers": {
"Authorization": "Offline <test token>"
}
},
"Deploy-MCP-Server": {
"url": "https://<hostname>/deploy/mcp",
"type": "http",
"headers": {
"Authorization": "Basic <base64 encoded deploy token>"
}
},
"Velocity-MCP-Server": {
"url": "https://<hostname>/velocity/mcp",
"type": "http",
"headers": {
"Authorization": "UserAccessKey <velocity token>"
}
},
"plan-mcp-server": {
"command": "npx",
"args": [
"-y",
"@securedevops/mcp-devops-plan"
],
"env": {
"PLAN_ACCESS_TOKEN": "<plan token>",
"PLAN_SERVER_URL": "https://<hostname>/plan",
"PLAN_TEAMSPACE_ID": "<teamspace id>"
},
"type": "stdio"
},
"wait_server": {
"command": "npx",
"args": [
"mcp-wait-server@latest"
],
"env": {
"MCP_WAIT_MAX_DURATION_SECONDS": "210",
"MCP_WAIT_TOOL_DESCRIPTION": "Waits for a specified number of seconds. Use this to create a delay after starting a long-running operation (like a script or download via another tool), allowing it time to complete before you proceed or check its status."
}
}
},
"inputs": []
}

















































