Logo MCP Prometheus

MCP Prometheus

Tổ chức
giantswarm

Access Prometheus metrics and queries through standardized MCP interfaces.

Nhà phát hànhgiantswarm
Kho mãmcp-prometheus
Ngôn ngữGo
Bản fork
5
Sao
10
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépApache-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP Prometheus cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    10 sao và 5 bản fork từ kho mã được liên kết.

MCP Prometheus

An MCP (Model Context Protocol) server for Prometheus and Mimir, written in Go. Deployed in-cluster at Giant Swarm to give AI assistants authenticated, multi-tenant access to metrics infrastructure.

What it does

MCP Prometheus exposes 18 read-only MCP tools that wrap the Prometheus HTTP API: instant and range PromQL queries, metric/label/series discovery, target and runtime information, TSDB stats, alerting rules, and exemplars.

When deployed with OAuth enabled it acts as a full OAuth 2.1 Authorization Server (backed by Dex/OIDC or Google), so MCP clients authenticate with the server before any tool call. The server then resolves the authenticated user's Mimir tenant IDs and enforces them on every query.


Contents


Architecture

MCP Client (Claude, muster, …)
        │  OAuth 2.1 + MCP over HTTP
        ▼
┌──────────────────────────────────┐
│         mcp-prometheus           │
│                                  │
│  ┌────────────┐  ┌─────────────┐ │
│  │ OAuth 2.1  │  │  MCP Tools  │ │
│  │ server     │  │  (PromQL,   │ │
│  │ (mcp-oauth)│  │   labels, …)│ │
│  └─────┬──────┘  └──────┬──────┘ │
│        │                │        │
│  ┌─────▼──────┐  ┌──────▼──────┐ │
│  │ Dex OIDC   │  │  Tenancy    │ │
│  │ provider   │  │  resolver   │ │
│  └────────────┘  └──────┬──────┘ │
└─────────────────────────┼────────┘
                          │
          ┌───────────────┴──────────────┐
          │                              │
   ┌──────▼───────┐              ┌───────▼──────┐
   │ GrafanaOrg   │              │  Prometheus  │
   │ CRDs (k8s)   │              │  / Mimir     │
   └──────────────┘              └──────────────┘

The server listens on two ports:

  • :8080 — MCP + OAuth endpoints (served to clients)
  • :9091 — observability: /metrics, /healthz, /readyz (internal only)

Installation

Pre-built binaries

Download the latest release from the releases page.

From source

bash
git clone https://github.com/giantswarm/mcp-prometheus.git
cd mcp-prometheus
go build -o mcp-prometheus ./...

Kubernetes (Helm)

See Kubernetes deployment (Helm).


Configuration reference

All configuration is via environment variables.

Prometheus connection

VariableDefaultDescription
PROMETHEUS_URL—Prometheus/Mimir base URL
PROMETHEUS_USERNAME—Basic auth username
PROMETHEUS_PASSWORD—Basic auth password
PROMETHEUS_TOKEN—Bearer token
PROMETHEUS_ORGID—Default Mimir org/tenant ID
PROMETHEUS_TLS_SKIP_VERIFYfalseSkip TLS verification (dev only)
PROMETHEUS_TLS_CA_CERT—Path to PEM CA certificate

OAuth 2.1

VariableDefaultDescription
MCP_OAUTH_ISSUERrequiredPublic base URL of this server (e.g. https://mcp.example.com)
MCP_OAUTH_ENCRYPTION_KEY—32-byte base64 AES-256-GCM key for token encryption (openssl rand -base64 32)
MCP_OAUTH_PROVIDERdexIdentity provider: dex or google (see the provider tables below)
OAUTH_REDIRECT_URLrequiredCallback URL registered at the provider (e.g. https://mcp.example.com/oauth/callback). The legacy DEX_REDIRECT_URL is still honoured when this is unset
MCP_OAUTH_ALLOW_PUBLIC_REGISTRATIONfalseAllow unauthenticated dynamic client registration (dev/MCP Inspector only)
MCP_OAUTH_ALLOW_PRIVATE_URLSfalseAllow OIDC discovery against Dex on private/internal IPs (see below); dex only
OAUTH_TRUSTED_AUDIENCES—Comma-separated client IDs trusted for SSO token forwarding
OAUTH_STORAGEmemoryToken storage: memory or valkey
VALKEY_URL—Valkey/Redis address (required when OAUTH_STORAGE=valkey)
VALKEY_PASSWORD—Valkey auth password
VALKEY_TLS_ENABLEDfalseEnable TLS for Valkey
VALKEY_KEY_PREFIXmcp:Key namespace prefix

Dex OIDC provider (MCP_OAUTH_PROVIDER=dex)

VariableDefaultDescription
DEX_ISSUER_URLrequiredDex issuer URL (e.g. https://dex.mc.example.io)
DEX_CLIENT_IDrequiredOAuth client ID registered in Dex
DEX_CLIENT_SECRETrequiredOAuth client secret
DEX_REDIRECT_URL—Legacy alias of OAUTH_REDIRECT_URL; used when the latter is unset
DEX_CA_FILE—PEM CA file verifying TLS for Dex and JWKS endpoints (private-CA installations). Added on top of the system trust store

Google provider (MCP_OAUTH_PROVIDER=google)

VariableDefaultDescription
GOOGLE_CLIENT_IDrequiredOAuth client ID of the Google Cloud OAuth client (….apps.googleusercontent.com)
GOOGLE_CLIENT_SECRETrequiredOAuth client secret of that client

Google's discovery, token and JWKS endpoints are public, so DEX_CA_FILE and MCP_OAUTH_ALLOW_PRIVATE_URLS do not apply (they are ignored with a warning). Google ID tokens carry no groups claim: pair this provider with tenancy mode none or a static all-users tenant list.

Tenancy

VariableDefaultDescription
TENANCY_STATIC_GROUP_MAP—JSON map of Dex group → list of Mimir tenant IDs (static mode)

Tenancy mode is a flag: --tenancy-mode grafana-organization|static|none (see Multi-tenancy).

Observability

VariableDefaultDescription
OTEL_EXPORTER_OTLP_ENDPOINT—OTLP HTTP endpoint for tracing (no-op if unset)
OTEL_SERVICE_NAMEmcp-prometheusService name in traces

Transport modes

Start the server with serve --transport <mode>:

ModeFlagUse case
stdio--transport stdioLocal desktop clients (Claude Desktop, MCP Inspector)
sse--transport sseLegacy SSE clients
streamable-http--transport streamable-httpProduction in-cluster (default)

OAuth requires sse or streamable-http.

bash
# Local stdio (no OAuth)
./mcp-prometheus serve

# In-cluster HTTP with OAuth
./mcp-prometheus serve --transport streamable-http --http-addr :8080 --enable-oauth

OAuth 2.1 authentication

MCP Prometheus implements OAuth 2.1 (RFC 9700) using mcp-oauth with the platform's identity provider upstream: Dex (default) or Google, selected with MCP_OAUTH_PROVIDER. The flow, endpoints and token handling are identical for both; only the upstream login and the provider-specific environment variables differ.

Endpoints

PathMethodPurpose
/.well-known/oauth-authorization-serverGETOAuth server metadata (RFC 8414)
/.well-known/protected-resourcesGETProtected resource metadata
/oauth/authorizeGETAuthorization endpoint (redirects to the identity provider)
/oauth/callbackGETIdentity provider callback (OAUTH_REDIRECT_URL)
/oauth/tokenPOSTToken exchange
/oauth/registerPOSTDynamic client registration (RFC 7591)
/oauth/revokePOSTToken revocation

Full OAuth flow

MCP Client                mcp-prometheus              Dex OIDC
    │                           │                        │
    │  1. GET /.well-known/…    │                        │
    │──────────────────────────>│                        │
    │  server metadata          │                        │
    │<──────────────────────────│                        │
    │                           │                        │
    │  2. POST /oauth/register  │                        │
    │──────────────────────────>│                        │
    │  client_id + secret       │                        │
    │<──────────────────────────│                        │
    │                           │                        │
    │  3. GET /oauth/authorize  │                        │
    │──────────────────────────>│                        │
    │                           │  4. redirect to Dex    │
    │                           │───────────────────────>│
    │<──────────────────────────────────────────────────│
    │  browser: Dex login UI    │                        │
    │  (user authenticates)     │                        │
    │                           │                        │
    │                           │  5. callback + code    │
    │                           │<───────────────────────│
    │                           │                        │
    │  6. POST /oauth/token     │                        │
    │──────────────────────────>│                        │
    │  access_token + refresh   │                        │
    │<──────────────────────────│                        │
    │                           │                        │
    │  7. MCP tool call         │                        │
    │  Authorization: Bearer …  │                        │
    │──────────────────────────>│                        │
    │                           │  8. validate token     │
    │                           │  resolve tenants       │
    │                           │  forward to Mimir      │

The access token is a short-lived JWT signed by mcp-prometheus and validated on every request. Refresh token rotation is enabled — every refresh issues a new refresh token.

Token storage

  • memory (default): in-process, lost on restart. Suitable for single-replica deployments and development.
  • valkey: production-grade Redis/Valkey backend. Required for multi-replica deployments.

Allow private URLs

When DEX_ISSUER_URL uses an internal DNS name that resolves to a private IP (RFC-1918 range), the built-in SSRF protection in the OIDC discovery client would reject the connection.

Set MCP_OAUTH_ALLOW_PRIVATE_URLS=true to inject an HTTP client that allows private-IP connections for OIDC discovery. TLS verification is still enforced.

bash
MCP_OAUTH_ALLOW_PRIVATE_URLS=true
DEX_ISSUER_URL=https://dex.mc.my-cluster.example.io   # resolves to 10.x.x.x

In Helm: app.oauth.allowPrivateURLs: true

Private CA (DEX_CA_FILE)

When Dex is served with a certificate from a private/internal CA (e.g. private management clusters), TLS verification fails with x509: certificate signed by unknown authority. Point DEX_CA_FILE at a PEM CA file to add that CA on top of the system trust store. The pool verifies the Dex provider connection (OIDC discovery, code flow, userinfo), the forwarded-ID-token JWKS endpoint, and trusted-issuer JWKS endpoints.

bash
DEX_CA_FILE=/etc/ssl/certs/dex-ca/ca.crt

In Helm, reference a Secret holding the CA certificate:

yaml
app:
  oauth:
    dexCASecret:
      name: mcp-prometheus-dex-ca
      key: ca.crt

SSO token forwarding (trustedAudiences)

When users connect through an upstream MCP aggregator (e.g. muster) that has already authenticated them, the aggregator can forward the user's ID token from the platform IdP directly instead of starting a new OAuth flow.

Configure OAUTH_TRUSTED_AUDIENCES with a comma-separated list of the aggregator's OAuth client IDs:

bash
OAUTH_TRUSTED_AUDIENCES=muster-client,my-aggregator

mcp-prometheus will:

  1. Detect that the incoming token's audience matches a trusted client ID
  2. Verify the token signature against the provider's JWKS endpoint (Dex or Google)
  3. Accept the token and proceed with tenant resolution

Tokens must still originate from the configured provider's issuer. With the Google provider, list the platform's Google OAuth client ID (the one muster logs users in with) here.


Multi-tenancy

When OAuth is enabled, every tool call is scoped to the authenticated user's allowed Mimir tenant IDs. The user can pass an explicit org_id parameter; the server validates it against their allowed tenants. If no org_id is given, all allowed tenants are injected as a Mimir pipe-separated multi-tenant selector.

Three resolution modes are available, selected with --tenancy-mode (or app.tenancy.mode in Helm): grafana-organization (default), static, and none.

GrafanaOrganization mode (default)

--tenancy-mode grafana-organization

Reads GrafanaOrganization custom resources from the Kubernetes API. Each CR declares which Dex groups have access (spec.rbac) and which Mimir tenant IDs map to it (spec.tenants).

yaml
apiVersion: observability.giantswarm.io/v1alpha1
kind: GrafanaOrganization
metadata:
  name: team-platform
spec:
  rbac:
    - groupName: github-org:team-platform   # Dex group from LDAP/GitHub
  tenants:
    - prod-eu-west
    - prod-us-east

When a user authenticates:

  1. The server reads the groups claim from their Dex token
  2. It looks up all GrafanaOrganization CRs where any group in spec.rbac matches
  3. It collects all tenant IDs from spec.tenants across matching CRs
  4. Results are cached per group-set for 60 seconds

The Helm chart creates a ClusterRole + ClusterRoleBinding granting get, list, watch on grafanaorganizations.observability.giantswarm.io when this mode is active.

Static mode

--tenancy-mode static

No Kubernetes API access required. Tenants are configured statically.

All-users: same tenants for everyone

bash
# All authenticated users get these tenant IDs
--static-tenants=prod-eu,prod-us

Helm:

yaml
app:
  tenancy:
    mode: static
    static:
      tenants: "prod-eu,prod-us"

Group mapping: per-group tenant assignment

When TENANCY_STATIC_GROUP_MAP is set (or app.tenancy.static.groups in Helm), tenant IDs are resolved per group:

bash
TENANCY_STATIC_GROUP_MAP='{"team-ops":["prod-eu","prod-us"],"team-dev":["staging"]}'

Helm:

yaml
app:
  tenancy:
    mode: static
    static:
      groups:
        team-ops:
          - prod-eu
          - prod-us
        team-dev:
          - staging

The user's allowed tenants are the union of all tenants from their Dex groups.

None mode (single-tenant Prometheus)

--tenancy-mode none

For a plain, single-tenant Prometheus (no Mimir, no X-Scope-OrgID). OAuth still authenticates every caller — unauthenticated requests are rejected, forwarded tokens are validated and the identity is available for auditing — but no tenant is derived from the identity and no tenant header is injected. An explicit org_id tool parameter or PROMETHEUS_ORGID passes through verbatim. The chart creates no ClusterRole in this mode.

This is the mode to use with the Google provider (Google tokens have no groups claim) and whenever mcp-prometheus sits behind muster in front of a single Prometheus.

Helm:

yaml
app:
  tenancy:
    mode: none

Available tools

All tools accept optional prometheus_url and org_id parameters for per-call overrides.

Query execution

ToolDescription
mcp_prometheus_execute_queryPromQL instant query
mcp_prometheus_execute_range_queryPromQL range query with start, end, step

Query tools accept: timeout, limit, stats, lookback_delta, unlimited.

Metrics & discovery

ToolDescription
mcp_prometheus_get_metric_metadataMetadata for a specific metric
mcp_prometheus_list_label_namesAll label names
mcp_prometheus_list_label_valuesValues for a specific label
mcp_prometheus_find_seriesFind series by label matchers

Targets & system info

ToolDescription
mcp_prometheus_get_targetsScrape target list and health
mcp_prometheus_get_build_infoBuild/version information
mcp_prometheus_get_runtime_infoRuntime information
mcp_prometheus_get_flagsRuntime flags
mcp_prometheus_get_configPrometheus configuration
mcp_prometheus_get_tsdb_statsTSDB cardinality statistics
mcp_prometheus_check_readyReadiness check (/-/ready), works with Mimir

Alerting & rules

ToolDescription
mcp_prometheus_get_alertsActive alerts
mcp_prometheus_get_alertmanagersAlertManager discovery
mcp_prometheus_get_rulesRecording and alerting rules

get_rules accepts the filters of GET /api/v1/rules, applied server-side by Prometheus or the Mimir ruler: type (alert or record), rule_name, rule_group, file (the Mimir rule namespace) and exclude_alerts. Label matchers (match[]) are not exposed because the Mimir ruler ignores them. On Mimir pass org_id — the ruler API rejects requests without a tenant.

Advanced

ToolDescription
mcp_prometheus_query_exemplarsExemplar queries for trace correlation
mcp_prometheus_get_targets_metadataPer-target metric metadata

Large query results are automatically truncated with guidance for the AI to refine its query.


Kubernetes deployment (Helm)

Minimal (no OAuth)

yaml
app:
  env:
    - name: PROMETHEUS_URL
      value: "http://mimir-gateway.monitoring:8080/prometheus"
    - name: PROMETHEUS_ORGID
      value: "my-tenant"

Production with OAuth + GrafanaOrganization tenancy

yaml
app:
  server:
    transport: streamable-http

  oauth:
    enabled: true
    dexClientSecret: "..."        # stored in K8s Secret
    encryptionKey: "..."          # openssl rand -hex 32
    storage:
      type: valkey
      valkey:
        url: "valkey:6379"
    trustedAudiences:
      - muster-client

  tenancy:
    mode: grafana-organization

  env:
    - name: MCP_OAUTH_ISSUER
      value: "https://mcp-prometheus.mc.example.io"
    - name: DEX_ISSUER_URL
      value: "https://dex.mc.example.io"
    - name: DEX_CLIENT_ID
      value: "mcp-prometheus"
    - name: DEX_REDIRECT_URL
      value: "https://mcp-prometheus.mc.example.io/oauth/callback"
    - name: PROMETHEUS_URL
      value: "http://mimir-gateway.monitoring:8080/prometheus"

Google provider + single-tenant Prometheus behind muster

The platform IdP is Google, muster forwards the user's Google ID token (auth.forwardToken: true), and there are no Mimir tenants to resolve.

yaml
app:
  oauth:
    enabled: true
    provider: google
    redirectURL: "https://mcp-prometheus.example.io/oauth/callback"
    google:
      clientID: "1234567890-abc.apps.googleusercontent.com"   # this server's OAuth client
    googleClientSecret: "..."   # or existingSecret with key GOOGLE_CLIENT_SECRET
    encryptionKey: "..."        # openssl rand -base64 32
    trustedAudiences:
      - "1234567890-platform.apps.googleusercontent.com"       # the platform client muster logs in with

  tenancy:
    mode: none

  env:
    - name: MCP_OAUTH_ISSUER
      value: "https://mcp-prometheus.example.io"
    - name: PROMETHEUS_URL
      value: "http://prometheus-operated.monitoring:9090"

Production with OAuth + static group mapping

yaml
app:
  oauth:
    enabled: true
    dexClientSecret: "..."
    encryptionKey: "..."

  tenancy:
    mode: static
    static:
      groups:
        team-ops:
          - prod-eu
          - prod-us
        team-dev:
          - staging

Private Dex (internal DNS)

When DEX_ISSUER_URL resolves to a private IP:

yaml
app:
  oauth:
    enabled: true
    allowPrivateURLs: true    # enables private-IP OIDC discovery
    dexClientSecret: "..."
    encryptionKey: "..."

Valkey token storage (multi-replica)

yaml
app:
  oauth:
    storage:
      type: valkey
      valkey:
        url: "valkey.default:6379"
        password: ""
        tlsEnabled: false
        keyPrefix: "mcp-prometheus:"

Development

Project structure

mcp-prometheus/
├── cmd/                      # CLI (serve, version)
├── internal/
│   ├── oauth/                # OAuth 2.1 setup (Config, NewHandler)
│   ├── server/               # ServerContext, PrometheusConfig
│   ├── tenancy/              # TenancyResolver, GrafanaOrg + static modes
│   ├── tools/prometheus/     # 18 MCP tool registrations
│   └── observability/        # /metrics, /healthz, /readyz, OTel
├── helm/mcp-prometheus/      # Helm chart
├── go.mod
└── README.md

Building & testing

bash
go build -o mcp-prometheus ./...
go test ./...

Code conventions

  • Every package has a doc.go
  • 80%+ unit test coverage on new code
  • Run goimports -w . && go fmt ./... before committing
  • Files kept under 500 lines; GoDoc on all exported members

Dùng MCP MCP Prometheus với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP Prometheus, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCP Prometheus làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCP Prometheus.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mcp-prometheus": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCP Prometheus, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCP Prometheus.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP Prometheus giúp tôi làm việc này không?
MCP Prometheus
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP Prometheus.

Câu hỏi thường gặp

Máy chủ MCP MCP Prometheus dùng để làm gì?

MCP Prometheus là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP Prometheus với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP Prometheus với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP Prometheus với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP Prometheus, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP Prometheus với TypingMind?

MCP Prometheus hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP MCP Prometheus cung cấp những công cụ nào trong TypingMind?

MCP Prometheus cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP Prometheus không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP Prometheus yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇