AgentGateway · JSON Structure

Agentgateway Mcp Target Structure

Configuration for an MCP server target in AgentGateway, defining a connected MCP tool provider.

Type: object Properties: 6 Required: 2
AI GatewayAPI GatewayMCPLLMAgent-to-AgentOpen-SourceCNCFObservabilitySecurity

MCPTarget is a JSON Structure definition published by AgentGateway, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name type url authentication tools allowedClients

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agentgateway/refs/heads/main/json-structure/agentgateway-mcp-target-structure.json",
  "name": "MCPTarget",
  "description": "Configuration for an MCP server target in AgentGateway, defining a connected MCP tool provider.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique name for this MCP target.",
      "example": "filesystem-tools"
    },
    "type": {
      "type": "string",
      "description": "The connection type for this MCP target.",
      "enum": [
        "sse",
        "stdio",
        "http"
      ],
      "example": "http"
    },
    "url": {
      "type": "uri",
      "description": "URL of the MCP server endpoint.",
      "example": "http://localhost:3001/mcp"
    },
    "authentication": {
      "type": "object",
      "description": "Authentication configuration for connecting to this MCP server.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "bearer",
            "apikey",
            "none"
          ],
          "example": "bearer"
        },
        "tokenRef": {
          "type": "string",
          "description": "Reference to the secret containing the authentication token.",
          "example": "mcp-server-token"
        }
      }
    },
    "tools": {
      "type": "array",
      "description": "List of tool names exposed by this MCP target (empty means all tools are available).",
      "items": {
        "type": "string"
      },
      "example": [
        "read_file",
        "write_file",
        "list_directory"
      ]
    },
    "allowedClients": {
      "type": "array",
      "description": "List of client identifiers permitted to use this MCP target.",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "name",
    "type"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/agentgateway-mcp-target-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.