Logo Tester MCP Client

Tester MCP Client

Tổ chức
apify

Model Context Protocol (MCP) Client for Apify's Actors

Nhà phát hànhapify
Kho mãtester-mcp-client
Ngôn ngữTypeScript
Bản fork
20
Sao
79
Công cụ có sẵn
0
Phương thức truyền tảistdio
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

    Tester MCP Client 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ở

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

Tester Client for Model Context Protocol (MCP)

Actors MCP Client

Implementation of a model context protocol (MCP) client that connects to an MCP server using HTTP streamable (recommended) transport and displays the conversation in a chat-like UI. It is a standalone Actor server designed for testing MCP servers over HTTP streamable. It uses Pay-per-event pricing model.

For more information, see the Model Context Protocol website or blogpost What is MCP and why does it matter?.

Once you run the Actor, check the output or logs for a link to the chat UI interface to interact with the MCP server. The URL will look like this and will vary each run:

shell
Navigate to https://...apify.net to interact with chat-ui interface.

🚀 Main features

  • 🔌 Connects to an MCP server using HTTP streamable
  • 💬 Provides a chat-like UI for displaying tool calls and results
  • 🇦 Connects to an Apify MCP Server for interacting with one or more Apify Actors
  • 💥 Dynamically uses tools based on context and user queries (if supported by a server)
  • 🔓 Use Authorization headers and API keys for secure connections
  • 🪟 Open source, so you can review it, suggest improvements, or modify it

🎯 What does Tester MCP Client do?

When connected to Apify MCP Server the Tester MCP Client provides an interactive chat interface where you can:

  • "What are the most popular Actors for social media scraping?"
  • "Show me the best way to use the Instagram Scraper"
  • "Which Actor should I use to extract data from LinkedIn?"
  • "Can you help me understand how to scrape Google search results?"

Tester-MCP-client-screenshot

📖 How does it work?

The Apify MCP Client connects to a running MCP server over HTTP streamable and it does the following:

  • Initiates a streamable HTTP connection to the MCP server.
  • Sends user queries to the MCP server.
  • Receives real-time streamed responses that may include LLM output, and tool usage blocks
  • Based on the LLM response, orchestrates tool calls and displays the conversation
  • Displays the conversation

⚙️ Usage

  • Test any remote MCP server
  • Test Apify MCP Server and the ability to dynamically select amongst thousands of tools

Learn about the key features and capabilities in the Apify MCP Server Tutorial: Integrate 5,000+ Apify Actors and Agents Into Claude video

Apify MCP Server Tutorial: Integrate 5,000+ Apify Actors and Agents Into Claude

Normal Mode (on Apify)

You can run the Tester MCP Client on Apify and connect it to any MCP server that supports HTTP streamable. Configuration can be done via the Apify UI or API by specifying parameters such as the MCP server URL, system prompt, and API key.

Once you run Actor, check the logs for a link to the Tester MCP Client UI, where you can interact with the MCP server: The URL will look like this and will be different from run to run:

shell
INFO  Navigate to https://......runs.apify.net in your browser to interact with an MCP server.

💰 Pricing

The Apify MCP client uses a modern and flexible approach for AI Agents monetization and pricing called Pay-per-event. You only need to have Apify account and you can use it, LLM provider API key is not required but you can supply it if you want to use your own LLM provider.

Supported models

Current models:

  • Claude Sonnet 4.5 (claude-sonnet-4-5-20250929) - Default for Sonnet
  • Claude Haiku 4.5 (claude-haiku-4-5-20251001) - Default model, faster and more cost-effective

Deprecated models (still supported with automatic migration):

  • Claude Sonnet 4.0 (claude-sonnet-4-0) → migrates to Sonnet 4.5
  • Claude Sonnet 3.7 (claude-3-7-sonnet-latest) → migrates to Sonnet 4.5
  • Claude Haiku 3.5 (claude-3-5-haiku-latest) → migrates to Haiku 4.5

Events charged

  • Actor start (based on memory used, charged per 128 MB unit)
  • Running time (charged every 5 minutes, per 128 MB unit)
  • Query answered (depends on the model used, not charged if you provide your own API key for LLM provider)

Token pricing

  • Claude Sonnet: $3/1M input tokens, $15/1M output tokens
  • Claude Haiku: $1/1M input tokens, $5/1M output tokens (default model)

When you use your own LLM provider API key, running the MCP Client for 1 hour with 128 MB memory costs approximately $0.06. With the Apify Free tier (no credit card required 💳), you can run the MCP Client for 80 hours per month. Definitely enough to test your MCP server!

📖 How it works

plaintext
Browser ← (SSE) → Tester MCP Client  ← (HTTP streamable) → MCP Server

We create this chain to keep any custom bridging logic inside the Tester MCP Client, while leaving the main MCP Server unchanged. The browser uses SSE to communicate with the Tester MCP Client, and the Tester MCP Client relies on HTTP streamable to talk to the MCP Server. This separates extra client-side logic from the core server, making it easier to maintain and debug.

  1. Navigate to https://tester-mcp-client.apify.actor?token=YOUR-API-TOKEN (or http://localhost:3000 if you are running it locally).
  2. Files index.html and client.js are served from the public/ directory.
  3. Browser opens SSE stream via GET /sse.
  4. The user's query is sent with POST /message.
  5. Query processing:
    • Calls Large Language Model.
    • Optionally calls tools if required using
  6. For each result chunk, sseEmit(role, content)

Local development

The Tester MCP Client Actor is open source and available on GitHub, allowing you to modify and develop it as needed.

Download the source code:

bash
git clone https://github.com/apify/tester-mcp-client.git
cd tester-mcp-client

Install the dependencies:

shell
npm install

Create a .env file with the following content (refer to the .env.example file for guidance):

plaintext
APIFY_TOKEN=YOUR_APIFY_TOKEN
LLM_PROVIDER_API_KEY=YOUR_API_KEY

Default values for settings such as mcpUrl, systemPrompt, and others are defined in the const.ts file. You can adjust these as needed for your development.

Run the client locally

bash
npm start

Navigate to http://localhost:3000 in your browser to interact with the MCP server.

Happy chatting with Apify Actors!

ⓘ Limitations and feedback

The client does not support all MCP features, such as Prompts and Resource.

References

Dùng MCP Tester MCP Client 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 Tester MCP Client, 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 Tester MCP Client 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 Tester MCP Client.
  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": {
    "tester-mcp-client": {
      "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 Tester MCP Client, 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 Tester MCP Client.
  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 Tester MCP Client giúp tôi làm việc này không?
Tester MCP Client
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Tester MCP Client.

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

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

Tester MCP Client 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 Tester MCP Client 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 Tester MCP Client 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 Tester MCP Client 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 Tester MCP Client, 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 Tester MCP Client với TypingMind?

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

Tester MCP Client 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 Tester MCP Client 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 Tester MCP Client 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 👇