Skip to main content
Glama
MCP Velocity GraphQL Server

MCP Velocity GraphQL Server

by mrchris2000

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 values

Option 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.pem

TLS 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=true

Optional debug logging can be enabled with VELOCITY_DEBUG=true. Debug output is sent to stderr so it does not corrupt MCP stdio traffic.

Installation

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 return

  • tags (optional): Filter by tag IDs

  • teamIds (optional): Filter by team IDs

  • dateRange (optional): Date range filter with start and end dates

  • status (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 event

  • teamId: Team ID

  • teamName: Team name

  • start: Start date (ISO string)

  • end: End date (ISO string)

  • description (optional): Description

  • tags (optional): Tag IDs to associate

  • isEvent (optional): Whether this is an event

  • summary (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 pipeline

  • pipelineDesc (optional): Description

  • teamId: Team ID

  • teamName: Team name

  • defaultEnvironments (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 ID

  • stageName: Stage name

  • particleIds (optional): Filter by specific particle IDs

  • skip (optional): Number of items to skip

  • limit (optional): Number of items to return

Issue Management Tools

get_issues

Get issues with filtering options.

Parameters:

  • tenantId (optional): Tenant ID

  • internalIds (optional): Filter by internal IDs

  • skip (optional): Number of items to skip

  • limit (optional): Number of items to return

upload_issue_data

Upload issue data to Velocity.

Parameters:

  • source: Source system name

  • trackerId: Issue tracker ID

  • baseUrl (optional): Base URL for the issue tracker

  • issues: Array of issues to upload

Metrics & Analytics Tools

get_deployment_metrics

Get deployment metrics with filtering and pagination.

Parameters:

  • teamIds (optional): Filter by team IDs

  • appIds (optional): Filter by application IDs

  • relativeTime (optional): Relative time filter

  • customStartDate (optional): Custom start date

  • customEndDate (optional): Custom end date

  • queryString (optional): DQL query string

  • skip (optional): Number of items to skip

  • limit (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 source

  • status (optional): Filter by build status

Team Management Tools

get_teams_by_tenant

Get all teams for a tenant.

Parameters:

  • tenantId (optional): Tenant ID

  • roleIds (optional): Filter by role IDs

create_team

Create a new team.

Parameters:

  • name: Team name

  • tenantId (optional): Tenant ID

Application Management Tools

get_applications_by_criteria

Get applications based on search criteria.

Parameters:

  • parentsOnly (optional): Return only parent applications

  • types (optional): Filter by application types

  • integrationId (optional): Filter by integration ID

  • name (optional): Filter by application name

  • fuzzyName (optional): Use fuzzy name matching

  • tags (optional): Filter by tags

  • limit (optional): Maximum number of results

  • offset (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 progress

Create 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-15

Query Value Stream

Get all workflows for the current tenant and show me the lead time metrics

Track 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:

  1. Define the tool with proper Zod schema validation

  2. Implement GraphQL query/mutation with proper error handling

  3. Return structured JSON responses

  4. Add documentation for the new tool

License

ISC License - see LICENSE file for details.

Available Tools

22 tools
add_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

    C2.8/5.0

    Scored across 22 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness3/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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.
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Connect 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