kitepod
Docs · Your own tools

Your own tools

Put your team's private HTTP APIs and MCP servers behind the same Kitepod token, with credentials injected on Kitepod's side.

This page as Markdown

An own tool is one of your team's HTTP APIs or remote MCP servers, called through Kitepod with the same token as the catalog. Kitepod adds its credentials on the way out, so agents never hold them. Only your team can call it, and calls are not metered. An owner or admin adds tools under Your own tools (https://kitepod.com/own-tools); any member can list them and try one.

A tool

  • Name: 2 to 40 lowercase letters, digits and dashes, starting with a letter, no dots. Not a catalog provider's name and not a reserved word (kitepod, catalog, call, calls, balance, mcp, v1, api, my-tools). Unique in the team.
  • Kind: http (an API with a base URL) or mcp (a Streamable HTTP MCP server URL).
  • URL: must be https and resolve only to public addresses (below).
  • Bindings: up to 10 credentials, each a stored secret placed in a header, a query parameter, a JSON body field or a {name} placeholder in the URL path, formatted like Bearer {secret}. MCP tools take credentials in a header, query parameter or path only.

Calling an HTTP tool

REST: any method on /v1/call/{tool}/{path}. Kitepod sends the method, query, headers and body to the base URL plus the path, with the bindings added. Your Kitepod key, cookies and Kitepod headers are not forwarded. A path that climbs out of the base path is refused.

Terminal
curl -X POST "https://kitepod.com/v1/call/crm/v1/contacts?page=2" \
  -H "Authorization: Bearer $KITEPOD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Ada"}'
# sent to https://<crm base URL>/v1/contacts?page=2 with the bound key added

MCP: call with the path in the id and {method, query, body} as input. method defaults to GET.

call
{
  "id": "crm/v1/contacts",
  "input": {
    "method": "POST",
    "query": {
      "page": 2
    },
    "body": {
      "name": "Ada"
    }
  }
}

Calling an MCP tool

  • REST: GET /v1/call/{tool} lists its tools; POST /v1/call/{tool}/{mcp-tool} calls one, with its arguments as a JSON object body.
  • MCP: call {"id": "{tool}"} lists its tools; call {"id": "{tool}/{mcp-tool}", "input": {…arguments}} calls one.
  • my_tools lists every own tool, an MCP server's tools with their input schemas, and how to call each.

Kitepod acts as the MCP client: each call opens a session, sends tools/list or tools/call and returns the result. Tool lists are cached for a minute.

The public-address rule

Kitepod only sends to addresses on the public internet. When a tool is saved and again before every request, the URL must:

  • use https, with no username or password in it;
  • have a full public host name: not a single label and not .local, .internal, .localhost, .lan or .home.arpa;
  • resolve only to public addresses: private, loopback, link-local, carrier-grade NAT and other reserved IPv4 ranges are refused, and IPv6 must be global unicast.

A tool that fails the check answers 403 own_tool_refused. Redirects are never followed: a 3xx answers 502 upstream_redirect, so point the tool at its final address. HTTP tools have 120 seconds and 64 MiB per call; MCP tools 60 seconds and 4 MiB per request.

Next: Teams