Helm MCP 标志

Helm MCP

社区
zekker6

MCP server for Helm package manager

发布者zekker6
代码仓库mcp-helm
语言Go
复刻数
3
星标数
26
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Helm MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 26 个 Star 和 3 个 Fork。

MCP Helm Server

An MCP (Model Context Protocol) server that provides tools for interacting with Helm repositories and charts. This server enables AI assistants to query Helm repositories, retrieve chart information, and access chart values without requiring local Helm installation.

The purpose of using MCP for Helm is to avoid making up format of values.yaml and contents of the charts when working with LLMs. Instead, the server provides a standardized way to access this information, making it easier for AI assistants to interact with Helm charts and repositories.

This MCP server is and will be providing tools for working with Helm repositories only. If you need to work with other Kubernetes resources, consider using a separate MCP server that provides tools for Kubernetes resources.

Features

The MCP Helm server provides the following tools:

  • list_repository_charts - Lists all charts available in a Helm repository (or chart name for OCI registries)
  • list_chart_versions - Lists all available versions/tags for a chart
  • get_latest_version_of_chart - Retrieves the latest stable (non-prerelease) version of a specific chart
  • get_chart_values - Retrieves the values file for a chart (latest version or specific version)
  • get_chart_contents - Retrieves the contents of a chart (including templates, values, and metadata), optionally filtered by file path glob patterns (for example, templates/**)
  • get_chart_dependencies - Retrieves the dependencies of a chart as defined in its Chart.yaml file
  • get_chart_images - Extracts container images used in a Helm chart by rendering templates and parsing Kubernetes manifests

Repository Types

All tools support both traditional HTTP Helm repositories and OCI registries:

Repository TypeExample URL
HTTP Repositoryhttps://charts.example.com
OCI Registryoci://ghcr.io/org/charts/mychart
OCI (Docker Hub)oci://docker.io/library/mysql

OCI Registry Support

OCI (Open Container Initiative) registries store Helm charts as OCI artifacts. Unlike HTTP repositories where multiple charts share an index, OCI registries typically contain one chart per repository with multiple version tags.

Example usage with OCI:

repository_url: oci://ghcr.io/nginxinc/charts/nginx-ingress
chart_name: (empty - chart name is in the URL)

Try without installation

There is a publicly available instance of the MCP Helm server that you can use to test the features without installing it: https://mcp-helm.zekker.dev/mcp

Installation

Run with docker

You can run the MCP Helm server using Docker. This is the easiest way to get started without needing to install Go or build from source.

bash
docker run -d --name mcp-helm -p 8012:8012 ghcr.io/zekker6/mcp-helm:v1.3.0 -mode=sse

Note that the --mode=sse flag is used to enable Server-Sent Events mode, which used by MCP clients to connect. Alternatively, you can use -mode=http to enable Streamable HTTP mode.

Via pre-build binary

Download binary from the releases page.

Example for Linux x86_64 (note that other architectures and platforms are also available):

bash
latest=$(curl -s https://api.github.com/repos/zekker6/mcp-helm/releases/latest | grep 'tag_name' | cut -d\" -f4)
wget https://github.com/zekker6/mcp-helm/releases/download/$latest/mcp-helm_Linux_x86_64.tar.gz
tar axvf mcp-helm_Linux_x86_64.tar.gz

Via Mise

Mise (mise-en-place) is a development environment setup tool.

bash
mise i ubi:zekker6/mcp-helm@latest

Install with Go

Note: Go 1.26.0 is required.

bash
go install github.com/zekker6/mcp-helm/cmd/mcp-helm@latest

Build from Source

Note: Go 1.26.0 is required.

  1. Clone the repository:

    bash
    git clone https://github.com/zekker6/mcp-helm.git
    cd mcp-helm
  2. Build the binary:

    bash
    go build -o mcp-helm ./cmd/mcp-helm
  3. Run the server:

    bash
    ./mcp-helm

Configuration

Configure your MCP client to connect to this server. The server implements the standard MCP protocol for tool discovery and execution.

Repository index caching

The index of an HTTP Helm repository is downloaded on first use and reused for -repo-index-max-age (default 5m). Once that age is exceeded, the next request downloads the index again, so newly published chart versions show up without a restart. Set -repo-index-max-age=0 to download the index on every request. OCI registries are always queried live.

Authentication

The server supports authentication for both OCI registries and HTTP Helm repositories.

Command-Line Flags

FlagDescription
-usernameUsername for basic authentication (HTTP repos, and OCI registries not covered by -registry-credentials)
-password-filePath to file containing password
-registry-credentialsPath to Docker-style credentials file (e.g., ~/.docker/config.json); authoritative for the OCI registries it lists
-registry-plain-httpUse plain HTTP for OCI registries (insecure, for development only)
-tls-certPath to TLS client certificate file for HTTP repositories
-tls-keyPath to TLS client key file for HTTP repositories
-tls-caPath to CA certificate file for verifying server certificates
-tls-insecure-skip-verifySkip TLS certificate verification (insecure)
-pass-credentials-allPass credentials to all domains when following redirects

Basic Authentication

For repositories requiring username/password authentication:

bash
# Create a password file (recommended for security)
echo "your-password" > /path/to/password.txt
chmod 600 /path/to/password.txt

# Run with basic auth
./mcp-helm -username myuser -password-file /path/to/password.txt

OCI Registry Authentication

For private OCI registries, authentication can be configured via:

  1. Docker credentials - The server automatically uses credentials from ~/.docker/config.json
  2. Explicit credentials file - Use -registry-credentials flag
bash
# Using Docker login (credentials stored in ~/.docker/config.json)
docker login ghcr.io
echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin

# Using explicit credentials file
./mcp-helm -registry-credentials /path/to/docker/config.json

# Using basic auth for OCI registry
./mcp-helm -username myuser -password-file /path/to/password.txt
Combining basic auth with a registry credentials file

A single instance can serve private HTTP repositories and private OCI registries at the same time. When both -username/-password-file and -registry-credentials are set, OCI requests are routed per registry host:

  • If the credentials file resolves a credential for the chart's registry host, that per-host credential is used (auths, credHelpers, and credsStore are all consulted, using the same Docker credential resolution as the Helm CLI, so Docker Hub's canonical https://index.docker.io/v1/ key is matched correctly).
  • Otherwise, the static -username/-password-file basic auth is used.

This lets -registry-credentials stay authoritative for the OCI registries it covers while basic auth still applies to HTTP repositories (and any OCI registry the credentials file does not resolve).

bash
# HTTP repos use basic auth; OCI hosts in config.json use their per-host creds
./mcp-helm \
  -username myuser -password-file /path/to/password.txt \
  -registry-credentials /path/to/docker/config.json

Credentials behind an external credential store (credsStore) or per-registry helper (credHelpers) are resolved by invoking that helper binary at runtime. If the helper is not available in the runtime environment, the affected registries fall back to basic auth; a warning is logged at startup so this is visible. Routing considers only the file passed to -registry-credentials (no implicit ~/.docker/config.json fallback), so list every private OCI registry you need in that file.

TLS/mTLS Configuration

For repositories with custom TLS requirements:

bash
# Custom CA certificate (for self-signed or internal CAs)
./mcp-helm -tls-ca /path/to/ca.crt

# Client certificate authentication (mTLS)
./mcp-helm -tls-cert /path/to/client.crt -tls-key /path/to/client.key

# Combined: mTLS with custom CA
./mcp-helm -tls-cert client.crt -tls-key client.key -tls-ca ca.crt

# Skip TLS verification (development only, not recommended for production)
./mcp-helm -tls-insecure-skip-verify

Docker Configuration

Example with Docker, passing authentication:

bash
# With basic auth
docker run -d --name mcp-helm -p 8012:8012 \
  -v /path/to/password.txt:/secrets/password.txt:ro \
  ghcr.io/zekker6/mcp-helm:v1.3.0 \
  -mode=sse -username myuser -password-file /secrets/password.txt

# With Docker credentials
docker run -d --name mcp-helm -p 8012:8012 \
  -v ~/.docker/config.json:/root/.docker/config.json:ro \
  ghcr.io/zekker6/mcp-helm:v1.3.0 \
  -mode=sse

Observability

The server can export OpenTelemetry traces, metrics and logs over OTLP. It is disabled by default: with OTEL_ENABLED unset nothing is exported, no exporter is constructed, no provider is registered globally and no instrumentation is installed, so the binary behaves exactly as it does today.

OTEL_ENABLED is the only switch. OTEL_SDK_DISABLED is not consulted, and neither is OTEL_EXPORTER_OTLP_PROTOCOL: the wire protocol comes from the endpoint's scheme, described below.

Environment Variables

VariableDefaultDescription
OTEL_ENABLEDfalseMaster switch. Telemetry is set up only when this holds a true-ish value (true, 1, t)
OTEL_EXPORTER_OTLP_ENDPOINT-Base endpoint for all three signals. Required when enabled, unless every per-signal endpoint is set
OTEL_EXPORTER_OTLP_TRACES_ENDPOINTbase endpointTraces-only override, used verbatim (include the full path for HTTP)
OTEL_EXPORTER_OTLP_METRICS_ENDPOINTbase endpointMetrics-only override, used verbatim
OTEL_EXPORTER_OTLP_LOGS_ENDPOINTbase endpointLogs-only override, used verbatim
OTEL_SERVICE_NAMEmcp-helmService name reported to the collector
OTEL_RESOURCE_ATTRIBUTES-Extra resource attributes, e.g. deployment.environment.name=production
OTEL_EXPORTER_OTLP_HEADERS-Headers sent with every export, e.g. for authentication. Read by the SDK exporters
OTEL_EXPORTER_OTLP_TIMEOUT10000Export timeout in milliseconds. Read by the SDK exporters
OTEL_EXPORTER_OTLP_COMPRESSION-Set to gzip to compress exports. Read by the SDK exporters
OTEL_METRIC_EXPORT_INTERVAL60000Metric export interval in milliseconds
OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATIONbase2_exponential_bucket_histogramHistogram aggregation for both OTLP transports. Set to explicit_bucket_histogram for classic buckets
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCEcumulativeCounters and histograms accumulate since their start or reset. The SDK also accepts delta and lowmemory
OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT4096Longest span attribute value; longer ones are truncated. The SDK default is unlimited, but several values come from clients. OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT takes precedence, and -1 lifts the cap
OTEL_EXPORTER_OTLP_CERTIFICATEsystem rootsPEM CA bundle used to verify a https:// or grpcs:// collector. Read by the SDK exporters
OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE-PEM client certificate for mTLS to the collector. Read by the SDK exporters
OTEL_EXPORTER_OTLP_CLIENT_KEY-PEM client key for mTLS to the collector. Read by the SDK exporters

When telemetry is enabled and an endpoint is missing or malformed, the server exits non-zero with an error naming the offending variable; a typo never degrades silently into "no telemetry". With OTEL_ENABLED off the endpoint variables are not parsed at all, so a stale value in the environment cannot break startup.

Resource Attributes

The server sets service.name (from OTEL_SERVICE_NAME, else mcp-helm) and service.version itself, and reads anything else from OTEL_RESOURCE_ATTRIBUTES. The semantic conventions call for more than that, and the rest has to come from the deployment:

AttributeWhere it should come from
deployment.environment.nameOTEL_RESOURCE_ATTRIBUTES. Note the .name suffix - bare deployment.environment is deprecated
service.instance.idOTEL_RESOURCE_ATTRIBUTES from the downward API. Required once more than one replica runs, or every instance's series collide
service.namespaceOTEL_RESOURCE_ATTRIBUTES, when other services share the backend
k8s.pod.uid and other k8s.*The Collector's k8sattributes processor, which is the supported way to add them

On Kubernetes, the first two come from the downward API:

yaml
env:
  - name: POD_NAME
    valueFrom:
      fieldRef:
        fieldPath: metadata.name
  - name: OTEL_RESOURCE_ATTRIBUTES
    value: deployment.environment.name=production,service.instance.id=$(POD_NAME)

Endpoint Schemes

The wire protocol and TLS both come from the endpoint's URL scheme:

EndpointProtocolTLSExports go to
grpc://collector:4317OTLP/gRPCnocollector:4317
grpcs://otel.example.com:4317OTLP/gRPCyesotel.example.com:4317
http://collector:4318OTLP/HTTPnohttp://collector:4318/v1/traces, /v1/metrics, /v1/logs
https://otel.example.comOTLP/HTTPyeshttps://otel.example.com/v1/traces, /v1/metrics, /v1/logs

Any other scheme is a startup error naming the four accepted schemes.

  • The base endpoint is a base URL: for HTTP the signal path (/v1/traces, /v1/metrics, /v1/logs) is appended, after trimming a trailing slash. A collector endpoint injected with a trailing slash is handled.
  • A per-signal endpoint is used verbatim, as the OTLP specification requires, so for HTTP it has to carry the full path including /v1/traces and friends.
  • gRPC endpoints keep only host:port; gRPC has no signal path, so any path is dropped.
  • The protocol is resolved per signal, so mixed configurations work: traces over gRPC while metrics and logs go over HTTP is a supported setup.

Configuration Examples

One endpoint for all three signals:

bash
OTEL_ENABLED=true \
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318 \
./mcp-helm -mode=http

Traces, metrics and logs are sent to http://otel-collector:4318/v1/traces, /v1/metrics and /v1/logs. Switching that endpoint to grpc://otel-collector:4317 moves all three signals to OTLP/gRPC without any other change.

Per-signal endpoints, mixing protocols and TLS:

bash
OTEL_ENABLED=true \
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://otel-collector:4317 \
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=https://metrics.example.com/v1/metrics \
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=https://logs.example.com/v1/logs \
OTEL_SERVICE_NAME=mcp-helm \
OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=production \
./mcp-helm -mode=http

With Docker:

bash
docker run -d --name mcp-helm -p 8012:8012 \
  -e OTEL_ENABLED=true \
  -e OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318 \
  ghcr.io/zekker6/mcp-helm:latest -mode=http

The OTEL_* variables are ignored by images built before OpenTelemetry support landed, so pin a tag that has it or use latest.

What Is Emitted

Traces

A tool call over HTTP produces one trace from the inbound request down to the Helm work it triggers:

POST /mcp                       (HTTP server span)
  tools/call get_chart_images   (MCP server span)
    tool.get_chart_images       (MCP tool span)
      helm.get_chart_images     (Helm operation span)
        helm.load_chart
          helm.oci.pull
        helm.parse.images

Custom telemetry names use the application-specific mcp_helm.* namespace, without a personal domain. The Helm-specific attributes below omit their mcp_helm.helm. prefix for readability; emitted names include it. OpenTelemetry naming guidance recommends avoiding collisions with standard namespaces, not a mandatory reverse-DNS prefix. Registry attributes (url.full, server.address, server.port, error.type, gen_ai.*, mcp.*, jsonrpc.*, rpc.*) are shown in full. Existing queries using the previous custom namespace must be updated; standard OTel names are unchanged.

SpanKindAttributes
<METHOD> <route>serverotelhttp HTTP server semantic conventions, plus the JSON-RPC message a POST carried (below). Only in sse and http modes
<mcp method> [<tool>]servermcp.method.name, jsonrpc.request.id, gen_ai.tool.name, gen_ai.operation.name, mcp.session.id, mcp.protocol.version, network.transport, network.protocol.name, rpc.response.status_code, error.type
tool.<name>internal-
helm.list_chartsinternalrepository.url, repository.type, chart.count
helm.list_chart_versionsinternal+ chart.name, version.count
helm.get_latest_versioninternal+ chart.name, chart.version (resolved)
helm.get_latest_valuesinternal+ chart.name, chart.version (resolved). Library-only; no MCP tool reaches it
helm.get_chart_valuesinternal+ chart.name, chart.version
helm.get_chart_contentsinternal+ chart.name, chart.version, recursive
helm.get_chart_dependenciesinternal+ chart.name, chart.version, dependency.count
helm.get_chart_imagesinternal+ chart.name, chart.version, recursive, image.count
helm.load_chartinternalrepository.type, chart.name, chart.version
helm.oci.pullclientoci.ref, server.address, server.port
helm.oci.tagsclientoci.ref, server.address, server.port
helm.repo.indexclientrepository.url, server.address, server.port
helm.chart.downloadclienturl.full, server.address, server.port
helm.parse.imagesinternalrecursive
helm.parse.contentsinternalrecursive

A failing span is marked with an ERROR status, records the exception and carries error.type. URL attributes are sanitized: user:password@ userinfo is stripped before a repository, OCI or chart URL becomes a span attribute.

The helm.chart.download span reports url.full because the chart URL is the exact resource fetched. helm.repo.index does not: the Helm getter resolves the index path itself, so the URL this server holds is not the one requested.

The MCP server span follows the MCP semantic conventions: it is named {mcp.method.name} {target}, such as tools/call get_chart_values, tools/list or ping. Only a registered tool becomes the target, since the client picks the name; an unregistered one still reaches gen_ai.tool.name. A method mcp-go does not implement is recorded as mcp.method.name=_OTHER on a span named MCP, the way HTTP instrumentation treats an unknown method, so a client cannot mint a span name per request. The server traces through its own adapter for mcp-go's tracing interface rather than github.com/mark3labs/mcp-go/otel, and leaves out the mcp.method and mcp.tool.name keys mcp-go sets: the registry defines neither. Unknown-method spans currently omit jsonrpc.request.id because mcp-go does not expose the ID to the tracer or error hooks on that path. The deferred fix requires upstream API support.

mcp.protocol.version records the request's effective version only when mcp-go recognizes it. Unsupported metadata values and raw protocol headers are not copied into spans or metrics. network.transport is tcp in sse and http modes, alongside network.protocol.name=http, and pipe in stdio mode.

A request answered with a JSON-RPC error carries the code in rpc.response.status_code. The conventions attribute -32700, -32600, -32601, -32602 (which includes an unknown tool) and -32002 to the caller, so those leave error.type unset and the span status UNSET. Any other code sets error.type to the code and the status to ERROR, described by the JSON-RPC error message. A tool handler that reported the failure to its caller rather than returning an error sets error.type to tool_error, also with an ERROR status.

Each recording POST span also records which JSON-RPC message its body carried, as mcp_helm.jsonrpc.message.kind (request, notification or response). A notification adds mcp.method.name, _OTHER for a method the registry does not list, and a response adds jsonrpc.request.id. mcp-go opens an MCP span only for the requests it dispatches, so for notifications and for a client's replies to server pings, which are most of the POSTs an idle session sends, the HTTP span is the only record. A request's method and id stay on its MCP span, so a query on them counts each request once. Annotation capture is limited to 64 KiB; larger bodies are not parsed or annotated. Nonrecording spans skip capture entirely. These limits affect telemetry only: the transport still receives the original body and read errors.

Incoming W3C traceparent / tracestate headers are honoured in sse and http modes, so a tool call joins the caller's trace instead of starting a new one. Trace context a client puts in a request's params._meta (SEP-414) parents the MCP server span in every mode, stdio included, since the conventions make the MCP client span its parent. When this replaces an existing transport context, the MCP span links to that context, preserving the connection to the HTTP span even across different traces. Absent or invalid metadata keeps the existing parent without an extra link. Without either, each MCP request in stdio mode is a root span.

Metrics

MetricKindUnitAttributes
mcp.server.operation.durationhistogramsmcp.method.name, gen_ai.tool.name, gen_ai.operation.name, mcp.protocol.version, network.transport, network.protocol.name, rpc.response.status_code, error.type
mcp_helm.helm.operation.durationhistograms…helm.operation, …helm.repository.type, error.type
http.server.*from otelhttp-http.server.request.duration, http.server.request.body.size, http.server.response.body.size. sse/http modes only
go.*from the OTel runtime instrumentation-Go runtime memory, GC and goroutine metrics

mcp.server.operation.duration is the histogram the MCP semantic conventions define for the receiving side. It covers every request mcp-go opens a span for, from receipt until the response is ready, including the ones it answers with an error. Notifications are not measured, and neither is a message mcp-go refuses before that point (malformed JSON, a wrong jsonrpc version), since neither gets a span.

All histograms, including MCP, Helm, HTTP and runtime histograms, default to base-2 exponential aggregation over both OTLP/HTTP and OTLP/gRPC. Buckets adapt to the recorded values, with a maximum of 160 buckets per positive or negative range and a maximum scale of 20. Metrics use cumulative temporality by default: repeated exports retain previous observations rather than reporting only the latest interval. Process restarts reset the cumulative values.

The standard environment variables above can override either default independently. When explicit aggregation is selected, the MCP and Helm duration histograms use the recommended boundaries from 10 ms to 300 s. Ensure your Collector and backend accept exponential histograms; queries that require classic _bucket series may need updating.

error.type is absent on success, which is what the conventions specify - do not filter on an ok value, filter on the attribute being unset. On mcp.server.operation.duration it matches the span: the JSON-RPC error code unless the conventions attribute that code to the caller, or tool_error for a tool handler that reported the failure to its caller (mcp-go delivers that as a successful response carrying an error result). A panicking tool handler is answered with -32603. On mcp_helm.helm.operation.duration it holds the Go error type. Rates of the histograms' count values provide call rates, so there is no separate counter.

Helm operations nest, and each level records its own point: get_latest_values wraps get_latest_version and get_chart_values, and any tool call that omits chart_version records get_latest_version before the operation it was asked for. Filter by mcp_helm.helm.operation rather than summing histogram counts across operations, or one logical call is counted more than once.

Metric attributes are deliberately low cardinality: repository URLs, chart names and chart versions appear on spans only, never on a metric. gen_ai.tool.name is recorded for registered tools only and mcp.method.name falls back to _OTHER, so neither carries an arbitrary string from a client. Protocol versions are restricted to mcp-go's supported versions. On the http.server.* metrics, server.address and server.port report -httpListenAddr rather than the request's Host header, so an unauthenticated probe varying that header cannot open a series per value.

Logs

With telemetry enabled, log records are teed to the OTLP log exporter in addition to stderr. Both sinks honour -logLevel, so raising it keeps the filtered records off the wire as well as out of stderr. Each tool call also logs one INFO record with the tool name, duration and, on failure, error.type. That record describes the handler rather than the JSON-RPC response: a returned error is named by its Go type, a failure reported to the caller is tool_error, and a panic is _OTHER.

Every record emitted from a traced call site is correlated with its span, so logs, traces and metrics line up in the backend. The two sinks carry that correlation differently: the stderr line gets trace_id and span_id fields, while the exported record gets the log data model's own trace id fields, which the SDK fills in from the emitting context. The ids are stripped from the exported record's attributes so they are not on the wire twice.

Limitations

Two things are deliberately not instrumented:

  • No outbound HTTP client spans. Helm's SDK builds its own request contexts internally and its transport option takes a concrete *http.Transport, so an instrumented HTTP client would emit orphaned root spans disconnected from the tool's trace. Outbound work is covered by the manual helm.repo.index, helm.chart.download, helm.oci.pull and helm.oci.tags client spans instead.
  • Long-lived stream requests are excluded from HTTP traces and metrics. The GET /sse request in sse mode and the GET /mcp request in http mode stay open for the life of the client session. Tracing them would produce hours-long spans and put session durations into the request-latency histogram, so both are filtered out. The JSON-RPC requests carried over those sessions are traced normally.

Shutdown

On SIGTERM or SIGINT the server stops accepting new work, drains in-flight requests within 10 seconds and then flushes buffered telemetry within 5, so a client that never disconnects or a collector that never answers cannot keep the process alive. The budgets are separate on purpose: a drain that runs long cannot spend the time the flush needs. A second signal terminates immediately.

Give the process room to finish: set terminationGracePeriodSeconds (or docker stop -t) to at least 20 seconds, or the spans and log records buffered at the moment of the signal are lost.

A transport that fails to start - a port already in use, an unusable listen address - is logged as fatal and exits with status 1.

Roadmap

  • OpenTelemetry instrumentation (traces, metrics and logs over OTLP)
  • Add more tools
    • List all charts in a repository
    • List all versions of a chart
    • Get latest version of the chart
    • Get values for chart
    • Get values for the latest version of the chart
    • Extract full chart content
    • Extract dependant charts from Charts.yaml
    • Extract images used in chart
  • Support OCI registries
    • Pull charts from OCI registries
    • List tags/versions from OCI registries
    • Support authentication via Docker credentials
  • Support using private HTTP repositories
    • Add a way to provide credentials for HTTP basic auth

将 Helm MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Helm MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Helm MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Helm MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-helm": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Helm MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Helm MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Helm MCP 帮我完成这项任务吗?
Helm MCP
当然。我已阅读。
以下是我使用 Helm MCP 得到的结果。

常见问题

Helm MCP MCP 服务器有什么用途?

Helm MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Helm MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Helm MCP,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Helm MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Helm MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Helm MCP MCP 连接到 TypingMind?

Helm MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Helm MCP MCP 在 TypingMind 中提供哪些工具?

Helm MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Helm MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Helm MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇