Logo Stape MCP 服务器

Stape MCP 服务器

Tổ chức
stape-io

Interact with the Stape API using AI assistants like Claude, or in AI-powered IDEs like Cursor.

Nhà phát hànhstape-io
Kho mãstape-mcp-server
Bản fork
9
Sao
17
Công cụ có sẵn
18
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

    Stape MCP 服务器 cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 18 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.

  • Mẫu cấu hình có thể sao chép ngay

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

  • Mức độ quan tâm của cộng đồng đến kho mã

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

Stape MCP Server

This project implements an MCP (Model Context Protocol) server for the Stape platform.

Table of Contents

API Documentation

The server wraps the Stape REST API. Full endpoint reference:

Prerequisites

  • Node.js (v18 or higher)

Installation

The Stape MCP Server is a remote, HTTP-based MCP endpoint at https://mcp.stape.ai/mcp. Most clients reach it through mcp-remote, a small bridge that lets stdio-only clients talk to a remote HTTP MCP server; a few clients (VS Code, Cursor, Antigravity) speak HTTP directly.

Get a Stape API key from your Stape account and use it instead of ${your_stape_api_key} below (learn how). Restart the client after changing its config.

Using the Stape EU environment? Every config below needs one extra header — see EU Endpoint Support.

Claude Desktop

Add this to your claude_desktop_config.json (Settings → Developer → Edit Config):

json
{
  "mcpServers": {
    "stape-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.stape.ai/mcp",
        "--header",
        "Authorization: ${your_stape_api_key}"
      ]
    }
  }
}

Claude Code

bash
claude mcp add --transport http stape-mcp-server https://mcp.stape.ai/mcp \
  --header "Authorization: ${your_stape_api_key}"

This writes the same server entry into .mcp.json / your Claude Code MCP config. Run /mcp inside Claude Code to confirm it connected.

VS Code

VS Code's MCP client supports HTTP servers natively, no mcp-remote needed. Add this to .vscode/mcp.json:

json
{
  "servers": {
    "stape-mcp-server": {
      "type": "http",
      "url": "https://mcp.stape.ai/mcp",
      "headers": {
        "Authorization": "${your_stape_api_key}"
      }
    }
  }
}

Copilot CLI

bash
copilot mcp add --transport http stape-mcp-server https://mcp.stape.ai/mcp \
  --header "Authorization: ${your_stape_api_key}"

This writes the server entry into ~/.copilot/mcp-config.json. See GitHub's docs for more on the copilot mcp add subcommand.

GitHub Copilot

GitHub Copilot Chat in VS Code uses VS Code's own MCP client, so it reads the same .vscode/mcp.json file — see VS Code above. No separate configuration is needed.

Cursor

Cursor speaks HTTP directly too, no mcp-remote needed. Add this to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global — Settings → MCP → Add new global MCP server):

json
{
  "mcpServers": {
    "stape-mcp-server": {
      "url": "https://mcp.stape.ai/mcp",
      "headers": {
        "Authorization": "${your_stape_api_key}"
      }
    }
  }
}

Antigravity

Antigravity also speaks HTTP directly, using serverUrl instead of url. Add this to ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (workspace-local) — accessible from the editor's agent panel via … → MCP Servers → Manage MCP Servers → View raw config:

json
{
  "mcpServers": {
    "stape-mcp-server": {
      "serverUrl": "https://mcp.stape.ai/mcp",
      "headers": {
        "Authorization": "${your_stape_api_key}"
      }
    }
  }
}

ChatGPT

  1. In ChatGPT, enable Developer mode: Settings → Apps & Connectors → Advanced settings → Developer mode.
  2. Go to Settings → Connectors → Create, and set the server URL to https://mcp.stape.ai/mcp.
  3. Authenticate with your Stape API key. ChatGPT's connector UI is OAuth-first and support for a raw Authorization header varies by rollout — if there's no field for it, use one of the other clients above instead.

Other MCP clients

Any other MCP-compatible client that expects a stdio-style command/args config can use the same mcp-remote block:

json
{
  "mcpServers": {
    "stape-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.stape.ai/mcp",
        "--header",
        "Authorization: ${your_stape_api_key}"
      ]
    }
  }
}

EU Endpoint Support

If you are using Stape EU environment, you need to provide an additional header X-Stape-Region: EU.

json
{
  "mcpServers": {
    "stape-mcp-server-eu": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.stape.ai/mcp",
        "--header",
        "Authorization: ${your_stape_api_key}",
        "--header",
        "X-Stape-Region: EU"
      ]
    }
  }
}

Available tools

Each tool takes an action parameter selecting the operation (list, get, create, update, delete, …). Destructive actions additionally require confirm: true.

AreaTools
Containersstape_container_crud, stape_container_lifecycle, stape_container_domains, stape_container_schedules, stape_container_power_ups, stape_container_proxy_files, stape_container_connections, stape_container_resources
Monitoring & logsstape_container_monitoring, stape_container_monitoring_logs, stape_container_logs, stape_container_analytics, stape_container_statistics
Billingstape_billing, stape_consolidated_invoicing, stape_invoices, stape_payment_links, stape_subscriptions, stape_container_subscription, stape_container_paddle
Account & accessstape_account, stape_users, stape_user_api_keys, stape_company, stape_share_access
Partnersstape_partner, stape_partner_payouts
Stape Scorestape_score_report — scan a website's tracking setup with Stape Score (create a scan, fetch results)
Reference datastape_container_resource, stape_domains_resource, stape_gateway_resource, stape_logs_resource, stape_monitoring_resource, stape_billing_resource, stape_partner_resource, stape_products, stape_calculator

Troubleshooting

MCP Server Name Length Limit

Some MCP clients (like Cursor AI) have a 60-character limit for the combined MCP server name + tool name length. If you use a longer server name in your configuration (e.g., stape-mcp-server-your-additional-long-name), some tools may be filtered out.

To avoid this issue:

  • Use shorter server names in your MCP configuration (e.g., stape-mcp-server)

Clearing MCP Cache

mcp-remote stores all the credential information inside ~/.mcp-auth (or wherever your MCP_REMOTE_CONFIG_DIR points to). If you're having persistent issues, clear it and restart your MCP client:

rm -rf ~/.mcp-auth

Useful resources

Open Source

The Stape MCP Server is developed and maintained by Stape Team under the Apache 2.0 license.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "stape-io-stape-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Công cụ có sẵn

  • stape_container_crud

    Tool for managing container CRUD operations. Use the 'action' parameter to specify the operation: 'create', 'get', 'get_all', 'update', or 'delete'.

  • stape_container_power_ups

    Tool for managing container power-ups. Use the 'powerUpType' parameter to specify which power-up to update, and provide the appropriate configuration options.

  • stape_container_proxy_files

    Comprehensive tool for managing container proxy files. Supports getting proxy files and updating/replacing all proxy files for a container. Use the 'action' parameter to specify the operation: 'get' or 'update'.

  • stape_container_domains

    Comprehensive tool for managing container domains. Supports CRUD operations, validation, and Entri authorization. Use the 'action' parameter to specify the operation: 'list', 'get', 'create', 'update', 'delete', 'validate', 'revalidate', 'get_entri'.

  • stape_container_schedules

    Comprehensive tool for managing container schedules. Supports getting all schedules and updating/replacing all schedules for a container. Use the 'action' parameter to specify the operation: 'get' or 'update'.

  • stape_container_analytics

    Comprehensive tool for managing container analytics. Supports getting analytics info, browser analytics, client analytics, and enabling/disabling analytics. Use the 'action' parameter to specify the operation: 'get_info', 'get_browsers', 'get_clients', or 'update_enable'.

  • stape_container_statistics

    Comprehensive tool for managing container statistics and analytics. Supports getting usage statistics, daily statistics, usage by domain, and surcharges. Use the 'action' parameter to specify the operation: 'get_statistics', 'get_statistics_by_day', 'get_usage_by_domain', or 'get_surcharges'.

  • stape_container_subscription

    Comprehensive tool for managing container subscriptions and billing. Supports getting plans, periods, payment data, checkout data, and managing subscription changes, cancellations, reactivations, and transfers. Use the 'action' parameter to specify the operation.

  • stape_container_paddle

    Comprehensive tool for managing Paddle transactions for containers. Supports creating Paddle transactions, completing transactions, getting payment method transactions, and retrying charges. Use the 'action' parameter to specify the operation.

  • stape_container_resources

    Comprehensive tool for managing container resources. Supports getting code settings scripts, example domain records, last subscription promo code, and managing container reactivation and integration clicks. Use the 'action' parameter to specify the operation.

  • stape_gateway_resource

    Tool for retrieving gateway-related resources and configurations. Use the 'type' parameter to specify which gateway resource to retrieve.

  • stape_container_resource

    Tool for retrieving container-related resources and configurations. Use the 'type' parameter to specify which container resource to retrieve.

  • stape_partner_resource

    Tool for retrieving partner-related resources and configurations. Use the 'type' parameter to specify which partner resource to retrieve.

  • stape_billing_resource

    Tool for retrieving billing-related resources and configurations. Use the 'type' parameter to specify which billing resource to retrieve.

  • stape_monitoring_resource

    Tool for retrieving monitoring-related resources and configurations. Use the 'type' parameter to specify which monitoring resource to retrieve.

  • stape_logs_resource

    Tool for retrieving logs-related resources and configurations. Use the 'type' parameter to specify which logs resource to retrieve.

  • stape_domains_resource

    Tool for retrieving domains-related resources and configurations. Use the 'type' parameter to specify which domains resource to retrieve.

  • stape_account

    Comprehensive tool for managing account information. Supports getting account information and updating account details. Use the 'action' parameter to specify the operation: 'get' or 'update'.

Dùng MCP Stape MCP 服务器 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 Stape MCP 服务器, 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 Thiết lập 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 Thiết lập 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 thiết lập 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. Để tiến trình tiếp tục 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. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm Stape MCP 服务器 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 Stape MCP 服务器.
  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": {
    "stape-io-stape-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "stape-mcp-server"
      ]
    }
  }
}
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 Stape MCP 服务器, 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 Stape MCP 服务器.
  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 trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng Stape MCP 服务器 giúp tôi làm việc này không?
Stape MCP 服务器
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng Stape MCP 服务器.

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

Máy chủ MCP Stape MCP 服务器 dùng để làm gì?

Stape MCP 服务器 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 Stape MCP 服务器 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 Stape MCP 服务器 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 Stape MCP 服务器 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 Stape MCP 服务器, 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 Stape MCP 服务器 với TypingMind?

Stape MCP 服务器 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 Stape MCP 服务器 cung cấp những công cụ nào trong TypingMind?

Stape MCP 服务器 cung cấp 18 công cụ 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 Stape MCP 服务器 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 Stape MCP 服务器 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 👇