MCP Velocity GraphQL Server
Provides comprehensive DevOps automation through the Velocity GraphQL API, including release management, pipeline and value stream management, issue and work item tracking, deployment/build metrics, team and application management, and integration querying.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Velocity GraphQL Server show release events scheduled for next week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Velocity GraphQL Server
A Model Context Protocol (MCP) server implementation for Velocity, enabling comprehensive DevOps automation through the Velocity GraphQL API.
Features
Release Management
Create, update, and query release events
Manage deployment schedules and scheduling
Track release status and progress
Pipeline & Value Stream Management
Manage pipelines and stages
Monitor value stream workflows
Track particles (work items) through stages
Get workflow metrics and analytics
Issue & Work Item Tracking
Query and upload issue data
Track work items across sprints and releases
Manage issue relationships and history
Metrics & Analytics
Retrieve deployment and build metrics
Generate analytics reports
Export data for analysis
Team & Application Management
Manage teams and users
Query applications and environments
Handle integrations and plugins
Related MCP server: GitHub GraphQL API MCP
Configuration
The Velocity server requires GraphQL endpoint configuration. You can provide configuration in several ways:
Quick Setup
Copy the example environment file:
cp .env.example .env
# Edit .env.velocity with your actual configuration valuesOption 1: Environment Variables
Set the following environment variables:
export VELOCITY_GRAPHQL_URL="https://your-velocity-server.com/graphql"
export VELOCITY_ACCESS_TOKEN="your_access_token_here"
export VELOCITY_TENANT_ID="your-tenant-id-here"
export VELOCITY_TLS_CA_FILE="/path/to/internal-root-ca.pem"Option 2: Command Line Arguments
Pass configuration as command line arguments:
node src/lib/velocity.js --url "https://your-velocity-server.com/graphql" --token "your_token" --tenant-id "your-tenant-id" --tls-ca-file "/path/to/internal-root-ca.pem"Option 3: Environment File
Create a .env file with your Velocity configuration:
VELOCITY_GRAPHQL_URL=https://your-velocity-server.com/graphql
VELOCITY_ACCESS_TOKEN=your_access_token_here
VELOCITY_TENANT_ID=your-tenant-id-here
VELOCITY_TLS_CA_FILE=/path/to/internal-root-ca.pemTLS for Internal Certificates
If your Velocity server uses a self-signed or privately issued certificate, prefer one of these options:
# Recommended when your organization root CA is installed on the machine
NODE_OPTIONS=--use-system-ca
# Recommended when you have a PEM bundle for the issuing CA
VELOCITY_TLS_CA_FILE=/path/to/internal-root-ca.pem
# Last resort for non-production/testing only
VELOCITY_ALLOW_SELF_SIGNED_CERTS=trueOptional debug logging can be enabled with VELOCITY_DEBUG=true. Debug output is sent to stderr so it does not corrupt MCP stdio traffic.
Installation
Option 1: NPM Script (Recommended)
npm run start:velocity -- --url "https://your-server.com/graphql" --token "your_token" --tenant-id "your-tenant-id"Option 2: Direct Execution
node src/lib/velocity.js --url "https://your-server.com/graphql" --token "your_token" --tenant-id "your-tenant-id"Use with Claude Desktop
Add the following to your Claude Desktop MCP configuration:
Option 1: Environment Variables
{
"mcpServers": {
"velocity": {
"command": "node",
"args": ["/path/to/mcp-devops-velocity/src/lib/velocity.js"],
"env": {
"VELOCITY_GRAPHQL_URL": "https://your-velocity-server.com/graphql",
"VELOCITY_ACCESS_TOKEN": "your_access_token_here",
"VELOCITY_TENANT_ID": "your-tenant-id-here",
"VELOCITY_TLS_CA_FILE": "/path/to/internal-root-ca.pem"
}
}
}
}Option 2: Command Line Arguments
{
"mcpServers": {
"velocity": {
"command": "node",
"args": [
"/path/to/mcp-devops-velocity/src/lib/velocity.js",
"--url", "https://your-velocity-server.com/graphql",
"--token", "your_access_token_here",
"--tenant-id", "your-tenant-id-here",
"--tls-ca-file", "/path/to/internal-root-ca.pem"
]
}
}
}Available Tools
Release Management Tools
get_release_events
Retrieve release events with optional filtering and pagination.
Parameters:
first(optional): Number of items to returntags(optional): Filter by tag IDsteamIds(optional): Filter by team IDsdateRange(optional): Date range filter with start and end datesstatus(optional): Filter by status (DONE, IN_PROGRESS, SCHEDULED, FAILED)state(optional): Filter by state (ARCHIVED, DEFAULT)
create_release_event
Create a new release event.
Parameters:
name: Name of the release eventteamId: Team IDteamName: Team namestart: Start date (ISO string)end: End date (ISO string)description(optional): Descriptiontags(optional): Tag IDs to associateisEvent(optional): Whether this is an eventsummary(optional): Summary of the release
Pipeline Management Tools
get_pipelines_by_tenant
Get all pipelines for a tenant.
Parameters:
tenantId(optional): Tenant ID (uses configured tenant if not provided)
create_pipeline
Create a new pipeline.
Parameters:
pipelineName: Name of the pipelinepipelineDesc(optional): DescriptionteamId: Team IDteamName: Team namedefaultEnvironments(optional): Whether to create default environments
Value Stream Management Tools
get_workflows_for_tenant
Get all workflows (value streams) for a tenant.
Parameters:
tenantId(optional): Tenant ID
get_particles_by_stage
Get particles (work items) in a specific stage of a workflow.
Parameters:
workflowId: Workflow IDstageName: Stage nameparticleIds(optional): Filter by specific particle IDsskip(optional): Number of items to skiplimit(optional): Number of items to return
Issue Management Tools
get_issues
Get issues with filtering options.
Parameters:
tenantId(optional): Tenant IDinternalIds(optional): Filter by internal IDsskip(optional): Number of items to skiplimit(optional): Number of items to return
upload_issue_data
Upload issue data to Velocity.
Parameters:
source: Source system nametrackerId: Issue tracker IDbaseUrl(optional): Base URL for the issue trackerissues: Array of issues to upload
Metrics & Analytics Tools
get_deployment_metrics
Get deployment metrics with filtering and pagination.
Parameters:
teamIds(optional): Filter by team IDsappIds(optional): Filter by application IDsrelativeTime(optional): Relative time filtercustomStartDate(optional): Custom start datecustomEndDate(optional): Custom end datequeryString(optional): DQL query stringskip(optional): Number of items to skiplimit(optional): Number of items to return
get_build_data
Get build data with filtering and pagination.
Parameters:
Similar to deployment metrics with additional build-specific filters
source(optional): Filter by build sourcestatus(optional): Filter by build status
Team Management Tools
get_teams_by_tenant
Get all teams for a tenant.
Parameters:
tenantId(optional): Tenant IDroleIds(optional): Filter by role IDs
create_team
Create a new team.
Parameters:
name: Team nametenantId(optional): Tenant ID
Application Management Tools
get_applications_by_criteria
Get applications based on search criteria.
Parameters:
parentsOnly(optional): Return only parent applicationstypes(optional): Filter by application typesintegrationId(optional): Filter by integration IDname(optional): Filter by application namefuzzyName(optional): Use fuzzy name matchingtags(optional): Filter by tagslimit(optional): Maximum number of resultsoffset(optional): Number of results to skip
Integration Management Tools
get_integrations_by_tenant
Get all integrations for a tenant.
Parameters:
tenantId(optional): Tenant ID
Example Usage
Get Release Events
Get all release events for the current tenant that are in progressCreate a Release Event
Create a new release event named "v2.1.0 Release" for team "Development Team" (ID: team-123) starting on 2024-02-01 and ending on 2024-02-15Query Value Stream
Get all workflows for the current tenant and show me the lead time metricsTrack Work Items
Show me all particles in the "In Progress" stage of workflow "workflow-456"Get Deployment Metrics
Get deployment metrics for the last 30 days filtered by team "DevOps Team"Error Handling
The server includes comprehensive error handling for:
GraphQL query errors
Network connectivity issues
Authentication failures
Invalid parameter validation
All errors are returned with descriptive messages to help with troubleshooting.
Security
Uses Bearer token authentication for GraphQL API access
Validates all input parameters using Zod schemas
Secure environment variable handling
No sensitive data logged in output
Contributing
This MCP server follows the same patterns as the main DevOps Velocity server. When adding new tools:
Define the tool with proper Zod schema validation
Implement GraphQL query/mutation with proper error handling
Return structured JSON responses
Add documentation for the new tool
License
ISC License - see LICENSE file for details.
Available Tools
22 toolsadd_application_stagesC
Add application stages to a pipeline using the addApplicationStages mutation.
Inputs: stageId (required), pipelineId (required), environments (required).
add_pipeline_gateC
Add a gate (manual, metric, compliance, or status) to a pipeline stage. This tool will create the specified rule and attach it as a gate to the given stage in the pipeline.
Inputs: stageId (required), gateName (required), gateType (required), pipelineId (required), +5 more.
add_stageC
Add a stage to a pipeline using the addStage mutation.
Inputs: stage (required), pipelineId (required).
create_pipelineC
Create a new pipeline
Inputs: teamId (required), teamName (required), pipelineName (required), pipelineDesc, +1 more.
create_release_eventD
Create a new release event
Inputs: end (required), name (required), start (required), teamId (required), +5 more.
create_teamC
Create a new team
Inputs: name (required), tenantId.
delete_stageC
Delete a stage from a pipeline using the deleteStage mutation.
Inputs: stageId (required), pipelineId (required).
get_applications_by_criteriaC
Get applications based on search criteria
Inputs: name, tags, limit, types, +4 more.
get_build_dataC
Get build data with filtering and pagination
Inputs: skip, limit, appIds, source, +5 more.
get_deployment_metricsC
Get deployment metrics with filtering and pagination
Inputs: skip, limit, appIds, teamIds, +4 more.
get_integrations_by_tenantC
Get all integrations for a tenant
Inputs: tenantId.
get_issuesC
Get issues with filtering options
Inputs: skip, limit, tenantId, internalIds.
get_my_access_key_metadataB
Get metadata about the current access key, including user info if available.
Inputs: no named parameters.
get_particles_by_stageC
Get particles (work items) in a specific stage of a workflow
Inputs: stageName (required), workflowId (required), skip, limit, +1 more.
get_pipelines_by_tenantC
Get all pipelines for a tenant
Inputs: tenantId.
get_release_eventsB
Get release events with optional filtering and pagination
Inputs: first, state, status, dateRange.
get_teams_by_tenantC
Get all teams for a tenant
Inputs: roleIds, tenantId.
get_workflows_for_tenantC
Get all workflows (value streams) for a tenant
Inputs: tenantId.
test_graphql_connectionB
Test GraphQL connection with a simple query
Inputs: no named parameters.
update_stageC
Update a stage in a pipeline using the updateStage mutation.
Inputs: stageId (required), updates (required), pipelineId (required).
update_workflowC
Update a workflow (VSM) using the updateWorkflow mutation.
Inputs: updates (required), workflowId (required).
upload_issue_dataD
Upload issue data to Velocity
Inputs: issues (required), source (required), trackerId (required), baseUrl.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools target distinct resources and actions, with clear separation between stage CRUD, pipeline creation, tenant-scoped getters, and release/deployment/build queries. Some overlap remains: add_stage versus add_application_stages, and get_issues/upload_issue_data versus get_particles_by_stage could be confused by an agent unfamiliar with Velocity terminology.
Tool names consistently follow a snake_case verb_noun pattern such as get_pipelines_by_tenant, create_release_event, update_stage, and add_pipeline_gate. Qualifiers like by_tenant, by_stage, and by_criteria are applied predictably.
The 22 tools cover a broad value-stream-management surface including pipelines, stages, workflows, teams, releases, deployments, builds, applications, and integrations, so the count is defensible. It is on the heavy side, but each tool maps to a reasonably distinct operation rather than duplicating functionality.
The server has strong read coverage and some write operations for stages, pipelines, teams, release events, and gates. However, update/delete operations are missing for several core entities such as pipelines, teams, release events, applications, integrations, and issues, leaving notable lifecycle gaps.
Maintenance
Related MCP Connectors
Generate answers & visualizations from your engineering data to track software development health.
Query your OpsLevel internal developer portal: catalog, maturity data, and tech docs.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Query engineering data with Swarmia: pull requests, issues, agent sessions, teams, and DORA metrics.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables comprehensive issue tracking and project management through Linear's GraphQL API. Supports creating and managing issues, organizing projects and sprints, team collaboration, and roadmap planning for modern development workflows.-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables querying and exploring the GitHub GraphQL API schema and executing optimized GraphQL queries to retrieve precise GitHub data (repositories, issues, PRs, users) with reduced token consumption.-
- AlicenseNot gradedqualityCmaintenanceConnect engineering metrics, DORA performance, deploy risk scoring, and PR health to any AI assistant. Score PRs for deployment risk using a 36-signal model, query team health, incidents, coverage, and more.MIT
- AlicenseBqualityDmaintenanceEnables automated deployments, environment management, snapshots, and deployment monitoring through DevOps Deploy's REST API.15MIT