Bài kiểm tra có liên kết hướng dẫn · Trung bình Cấp độ

Kiểm tra máy chủ MCP bằng bài kiểm tra MCP Inspector

Vai trò khách hàng của Test Inspector, quá trình truyền tải stdio và HTTP, khám phá MCP cũ so với 2026, kiểm tra công cụ trực tiếp, xác thực và giới hạn sử dụng mô hình.

Đường dẫn hướng dẫn liên quanKiểm tra máy chủ Mcp với Mcp Inspector
Câu hỏi 1 của 8

What does MCP Inspector primarily let a developer do?

Xem trước mọi câu hỏi8 câu hỏi

Câu trả lời và giải thích xuất hiện khi bạn làm bài kiểm tra.

  1. What does MCP Inspector primarily let a developer do?
    • Connect directly to an MCP server and test its tools, resources and prompts without a live model
    • Train a new language model on tool-call examples
    • Automatically write tool descriptions for a server
    • Deploy an MCP server to a cloud host
  2. Why might a model never call a tool even though it works correctly in Inspector?
    • Inspector always disables tools after ten calls
    • The tool's description or parameter documentation may be too unclear for the model to know when to use it
    • MCP servers expire after 24 hours
    • The model cannot read JSON-RPC responses
  3. Over what transport does Inspector typically communicate with a local server process?
    • Bluetooth pairing
    • A dedicated UDP broadcast
    • stdio, exchanging newline-delimited JSON over stdin and stdout
    • FTP file transfer
  4. How does capability discovery differ between legacy MCP and revision 2026-07-28?
    • Both revisions require an LLM API key
    • The newer revision removes tools/list
    • Legacy uses HTML forms rather than JSON-RPC
    • Legacy uses initialize; modern 2026-07-28 omits that handshake and requires server/discover support, which clients may call optionally
  5. A tool call in Inspector that returns a JSON-RPC error object is best understood as what?
    • Diagnostic evidence about the request or handler to inspect alongside the method, parameters, and server logs
    • A crash requiring a full server rewrite
    • Evidence that MCP itself is broken
    • A sign the model hallucinated the tool
  6. What should a team understand about HTTP transports when testing MCP servers?
    • All MCP HTTP traffic must use the retired legacy SSE transport
    • Streamable HTTP can return JSON or use SSE; older HTTP+SSE remains a compatibility path
    • Các máy chủ từ xa không thể sử dụng HTTP
    • Giao thức HTTP thay thế mọi công cụ máy chủ
  7. Inspector có cần khóa API của nhà cung cấp LLM trực tiếp để liệt kê và gọi các công cụ máy chủ không?
    • Có, mọi khách hàng MCP đều gọi một mô hình ngôn ngữ
    • Có, trừ khi máy chủ sử dụng stdio
    • Không, nhưng máy chủ MCP vẫn có thể yêu cầu thông tin xác thực hoặc ủy quyền riêng
    • Không, và các máy chủ MCP từ xa không bao giờ có thể xác thực
  8. Trong số các lựa chọn sau, đâu là hạn chế thực sự khi chỉ thử nghiệm với MCP Inspector?
    • Nó không thể hiển thị tải trọng yêu cầu hoặc phản hồi
    • Nó không thể kết nối tới các máy chủ stdio
    • Nó yêu cầu máy chủ được viết bằng Python
    • Nó không thể tiết lộ liệu mô hình có thực sự chọn gọi một công cụ nhất định trong việc sử dụng thực tế hay không