Skip to main content
Glama
carbonstop-hub

carbonstop-mcp

Official

carbonstop-mcp

MCP (Model Context Protocol) Server für Carbonstop — Carbonstop CO2-Fußabdruck-Berechnungs-MCP-Dienst.

Automatischer Aufruf der Carbon Cloud API in KI-Dialogen zur Durchführung von CO2-Fußabdruck-Modellierung, Produktabfragen und Berechnungsanalysen.

Installation

npx (empfohlen)

Keine Installation erforderlich. Direkt in der MCP-Konfiguration oder im Terminal verwenden:

npx @carbonstopper/mcp --api-key csk_xxx.yyy

npm

npm install -g @carbonstopper/mcp

Binärdatei herunterladen

Laden Sie die neueste Binärdatei von Releases herunter:

Plattform

Datei

macOS Apple Silicon

carbonstop-mcp_*_darwin_arm64.tar.gz

macOS Intel

carbonstop-mcp_*_darwin_x86_64.tar.gz

Linux x86_64

carbonstop-mcp_*_linux_x86_64.tar.gz

Linux arm64

carbonstop-mcp_*_linux_arm64.tar.gz

Windows x86_64

carbonstop-mcp_*_windows_x86_64.zip

curl -L https://github.com/carbonstop-hub/carbonstop-mcp/releases/latest/download/carbonstop-mcp_linux_x86_64.tar.gz | tar xz
sudo mv carbonstop-mcp /usr/local/bin/

Aus Quellcode bauen

Erfordert Go 1.23+.

git clone https://github.com/carbonstop-hub/carbonstop-mcp.git
cd carbonstop-mcp
make build

Schnellstart

  1. Melden Sie sich auf der Carbon Cloud Plattform an, um ein Konto zu registrieren und einen API-Key (PAT) zu erstellen.

  2. Starten:

export CARBONSTOP_API_KEY="csk_xxx.yyy"
./carbonstop-mcp
# 或
npx @carbonstopper/mcp --api-key csk_xxx.yyy

Die offizielle Version enthält bereits die Gateway-Adresse. Bei Selbstkompilierung muss CARBONSTOP_BASE_URL gesetzt werden.

Agenten-Konfiguration

npx (keine Installation, empfohlen)

{
  "mcpServers": {
    "carbonstop": {
      "command": "npx",
      "args": ["@carbonstopper/mcp", "--api-key", "csk_xxx.yyy"]
    }
  }
}

Globale Installation

{
  "mcpServers": {
    "carbonstop": {
      "command": "carbonstop-mcp",
      "args": ["--api-key", "csk_xxx.yyy"]
    }
  }
}

Direkter Pfad zur Binärdatei

{
  "mcpServers": {
    "carbonstop": {
      "command": "/usr/local/bin/carbonstop-mcp",
      "args": ["--api-key", "csk_xxx.yyy"]
    }
  }
}

Die Konfigurationsformate für MCP-Clients wie Claude Code, Cursor, Windsurf, Codex, Hermes usw. sind identisch.

Verfügbare Tools

Tool

Beschreibung

ping

Gateway-Verfügbarkeitsprüfung

whoami

Identitätsinformationen anzeigen

products

Produktliste (unterstützt Paginierung, Suche)

product_info

Produktdetails

accounts

Liste der Produktberechnungen

account_view

Berechnungsdetails (einschließlich Emissionen in allen Lebenszyklusphasen)

ai_model

KI-gestützte CO2-Fußabdruck-Modellierung mit einem Klick

Sicherheit

  • Die Gateway-Adresse wird während des Builds injiziert und ist im Quellcode nicht sichtbar.

  • Der API-Key wird über den Parameter --api-key oder als Umgebungsvariable übergeben.

Verwandte Projekte

Lizenz

MIT

Related MCP Connectors