Create a tool from REST API

  • Release version: Zurich
  • Updated May 29, 2026
  • 1 minute to read
  • Create a tool from REST APIs to expose it to Model Context Protocol (MCP) clients from an MCP Server.

    Before you begin

    Role required: sn_mcp_server.tools_admin, sn_mcp_server.admin, or admin

    See Create a scripted REST API resource to learn more about creating REST APIs.

    Procedure

    1. Select REST API from these categories.
      Tool creation
    2. On the form, fill in the fields.
      Create tool from REST APIs
      Note:
      The category is auto-populated if selected in the last modal.
      Table 1. Tool form
      Field Description
      REST API Select a REST API type from the list.
      Label An internal name for the tool.
      Description
      The description of what the tool intends to do. This input is exposed to AI clients and used to determine when to call this tool.
      Note:
      Admins must add specific and action-oriented description as the AI clients access it to decide when to invoke the tool.
      MCP Servers One or more servers you want to add your tool to.
      In the Tool inputs section, the fields associated with the capability are added. See Create a tool for a Model Context Protocol server to learn more. The tool is now published on the MCP Server and discoverable by MCP clients.