Linkerd2 MCP server

Linkerd2 MCP server

linkerd2-mcp•byeli-nomasec

A gRPC MCP server that provides an API for fetching aggregated Linkerd service mesh data and applying policy changes to the mesh.

License: Not specified•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Exposes a gRPC MCP API for fetching high-level aggregated mesh data from Linkerd and Linkerd-viz.
  • •Allows applying authorization policy mutations directly to the mesh.
  • •Includes an in-memory mesh graph model and a collector component.

BEST FOR

  • •Inspecting the service mesh graph of a Linkerd-powered cluster.
  • •Applying Linkerd AuthorizationPolicy resources to a namespace through the MCP API.

ABOUT LINKERD2-MCP

Linkerd2 MCP server is cataloged as an MCP server attributed to eli-nomasec. A gRPC MCP server that provides an API for fetching aggregated Linkerd service mesh data and applying policy changes to the mesh. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Linkerd2 MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What prerequisites are needed to run the MCP stack locally?

Running end-to-end locally requires Go, a container runtime, kubectl, kind, the Linkerd CLI, Prometheus, Buf CLI and Helm 3.14.

What is the project's current development status?

The project is a work in progress under active development, and features and APIs may change at any time.

Upstream README

View this exact version on GitHub

README.md · 2424e40c8227 · Fetched 2026-11-13 11:39:20 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Linkerd2 MCP

⚠️ This project is a Work In Progress (WIP) and is still under active development. Features and APIs may change at any time.

ℹ️ The vast majority of this project has been built with the help of AI agents.

This project aims to expose a Model Context Protocol (MCP) server, enabling you to "talk" to your Linkerd2 service mesh. By building on top of Linkerd and Linkerd-viz, it provides an API for fetching high-level aggregated mesh data and for making changes—such as applying authorization policy updates—directly to your mesh.

A lightweight, fault-tolerant control plane for Linkerd-powered service meshes, exposing a gRPC MCP API for mesh introspection and safe policy mutation.

Project Structure

cmd/
  mcp-server/      → main.go (MCP API server)
  collector/       → main.go (Collector)
proto/             → *.proto + buf.yaml (gRPC contracts)
internal/
  graph/           → in-memory mesh model
  redis/           → Redis helpers (snapshot, delta, election)
docs/              → project docs
helm/              → chart/
Makefile           → convenience commands

Getting Started

Prerequisites

  • Go 1.22+
  • Docker or Podman
  • kubectl 1.30+
  • kind (for local k8s)
  • Linkerd CLI 2.15+
  • Prometheus (comes with Linkerd viz)
  • Buf CLI 1.29+
  • Helm 3.14+

Build

go build -o bin/collector ./cmd/collector
go build -o bin/mcp-server ./cmd/mcp-server

Running End-to-End (local kind cluster)

  1. Start a kind cluster and install Linkerd + Prometheus:

    kind create cluster --name mcp-dev
    linkerd install | kubectl apply -f -
    linkerd viz install | kubectl apply -f -
    linkerd check
    
  2. Deploy Redis (Valkey) and the MCP stack (see helm/ for chart):

    helm install mcp ./helm --namespace mcp --create-namespace --set redis.enabled=true
    
  3. Port-forward MCP server and test the gRPC API:

    kubectl -n mcp port-forward svc/mcp 10900:10900
    grpcurl -plaintext localhost:10900 mcp.v1.MeshContext/GetMeshGraph
    
  4. Apply a policy mutation via gRPC:

    grpcurl -plaintext -d '{"namespace":"default","name":"allow-foo","json_spec":"{\"foo\": \"bar\"}"}' localhost:10900 mcp.v1.MeshContext/ApplyAuthorizationPolicy
    
  5. Verify AuthorizationPolicy CRs in the cluster:

    kubectl get authorizationpolicies.policy.linkerd.io -A
    

Development Workflow

  • Edit proto contracts in proto/, run buf lint
  • Implement business logic in cmd/ and internal/
  • Use kind and helm for local testing
  • Run unit tests: go test ./...
  • See docs/progress.md for current status and next steps

Roadmap

  • Integration testing and error handling
  • Helm chart, CI/CD, documentation
  • E2E tests and further enhancements

License

Apache 2.0

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Linkerd2 MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/linkerd2-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps