MCP Protocol

MCP JSON-RPC 2.0 端点

AIShield 的 MCP StreamableHTTP 端点,支持 JSON-RPC 2.0 协议。

常用方法:

  • tools/list: 列出可用安全工具
  • tools/call: 调用安全扫描工具
  • prompts/list: 列出可用 Prompt 模板

认证可选:可在 Header 中携带 Authorization: Bearer <api_key>。

post/api/v1/mcp

Request

  • Base URL: https://aishield.tools
  • URL: https://aishield.tools/api/v1/mcp
  • Auth: none required

Request body

jsonrpc'2.0' required

JSON-RPC 版本

methodstring required

MCP 方法名

paramsobject

方法参数

Example request

{
  "method": "tools/list"
}

Response

JSON-RPC 响应

jsonrpc'2.0'
resultobject

Changes

No recorded changes to this operation across all 1 revision of this API.