OpenAny
Get API keyAPI Key
APIDeveloperTools

AgentFlight MCP Streamable Gateway API

Get AgentFlight MCP Streamable Gateway data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Codesphereug, pass parameters such as id, jsonrpc, method, and retrieve structured data including identifier, name, returned annotations field, description, and returned input schema field for application integration and result review, and integration reference.

Selected price
$0.001 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
5Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

AgentFlight MCP Streamable Gateway API

Prepare your request, then continue with your agent.

Selected price

$0.001 / call

Provider
Pricing
Connect your agent
On this page

Overview

Overview
AgentFlight MCP Streamable Gateway API

AgentFlight MCP Streamable Gateway API

AgentFlight MCP Streamable Gateway API uses the documented POST route for this operation. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs No business input parameters.
Selected implementation codesphereug · AgentFlight MCP Streamable Gateway
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Application integration and result review: Keep the request context attached to available returned results.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
id Identifier
result.tools[].name Name
result.tools[].annotations Returned annotations field
result.tools[].description Description
result.tools[].inputSchema Returned input schema field
result.tools[].outputSchema Returned output schema field
jsonrpc Returned jsonrpc field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/codesphereug/mcp' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "tools/list"
}'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published AgentFlight MCP Streamable Gateway API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters

No input fields are required by this API contract.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
AgentFlight MCP Streamable Gateway API · POST · View API reference$0.001 / call5
100.00%successP50606ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · codesphereugUSD / call
Unit price
$0.001

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 7. Price update time: not supplied.

calls

Total $0.1

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/codesphereug/mcp
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

No input fields are required by this API contract.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • idinteger
  • jsonrpcstring
  • resultobject
    • toolsobject[]
      • annotationsobject
        • destructiveHintboolean
        • idempotentHintboolean
        • openWorldHintboolean
        • readOnlyHintboolean
      • descriptionstring
      • inputSchemaobject
        • propertiesobject
          • toolsobject
            • descriptionstring
            • itemsobject
              • typestring
            • typestring
          • compactobject
            • descriptionstring
            • typestring
          • cassette_jsonobject
            • descriptionstring
            • typestring
          • max_cost_ceiling_usdobject
            • defaultnumber
            • descriptionstring
            • typestring
          • actorobject
            • descriptionstring
            • typestring
          • input_payloadobject
            • descriptionstring
            • typestring
          • modeobject
            • defaultstring
            • descriptionstring
            • enumstring[]
            • typestring
          • contractobject
            • descriptionstring
            • typestring
        • requiredstring[]
        • typestring
      • namestring
      • outputSchemaobject
        • propertiesobject
          • passedobject
            • descriptionstring
            • typestring
          • scoreobject
            • descriptionstring
            • typestring
          • violationsobject
            • descriptionstring
            • itemsobject
              • propertiesobject
                • messageobject
                  • descriptionstring
                  • typestring
                • rule_idobject
                  • descriptionstring
                  • typestring
                • severityobject
                  • descriptionstring
                  • typestring
                • tool_nameobject
                  • descriptionstring
                  • typestring
              • typestring
            • typestring
          • hardened_toolsobject
            • descriptionstring
            • itemsobject
              • typestring
            • typestring
          • post_lint_scoreobject
            • descriptionstring
            • typestring
          • smells_resolvedobject
            • descriptionstring
            • typestring
          • tools_optimizedobject
            • descriptionstring
            • typestring
          • is_hash_chain_validobject
            • descriptionstring
            • typestring
          • markdown_reportobject
            • descriptionstring
            • typestring
          • root_causeobject
            • descriptionstring
            • typestring
          • severityobject
            • descriptionstring
            • typestring
          • summaryobject
            • descriptionstring
            • typestring
          • violation_countobject
            • descriptionstring
            • typestring
          • failed_rulesobject
            • descriptionstring
            • typestring
          • passed_rulesobject
            • descriptionstring
            • typestring
          • resultsobject
            • descriptionstring
            • itemsobject
              • typestring
            • typestring
          • total_rulesobject
            • descriptionstring
            • typestring
        • requiredstring[]
        • typestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Recorded upstream MCP tools/list (HTTP 200)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/codesphereug/mcp' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "id": 2,
      "jsonrpc": "2.0",
      "method": "tools/list"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "id": 2,
      "jsonrpc": "2.0",
      "result": {
        "tools": [
          {
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": false,
              "readOnlyHint": true
            },
            "description": "Statically inspect MCP tool schema definitions against 10 ergonomics rules (TS001-TS010) and calculate an Agent Ergonomics Score.\n\n### Purpose\nEvaluates Model Context Protocol tool schemas for anti-patterns that confuse LLM tool-calling (tautological descriptions, missing required arrays, ambiguous parameter types, unconstrained inputs, and lack of usage boundaries). Produces an ergonomics score (0-100) and actionable remediation steps.\n\n### When to use\n- Auditing and validating MCP tool definitions during development or CI/CD pre-commit hooks.\n- Benchmarking tool schema clarity and LLM tool selection readiness before deployment.\n\n### When NOT to use\n- Do NOT use to evaluate runtime agent trajectory recordings; use `agentflight_diff_cassettes` or `agentflight_verify_cassette` instead.\n\n### Behavior & Side Effects\n- Read-only: Operates purely in-memory; does not mutate any schemas or files.\n- Deterministic: Analyzes schemas through static AST and JSON Schema inspection with zero external network calls.",
            "inputSchema": {
              "properties": {
                "tools": {
                  "description": "List of MCP tool definition objects containing name, description, and inputSchema to be statically analyzed.",
                  "items": {
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "tools"
              ],
              "type": "object"
            },
            "name": "agentflight_lint_tools",
            "outputSchema": {
              "properties": {
                "passed": {
                  "description": "True if score meets or exceeds the passing threshold (>= 80).",
                  "type": "boolean"
                },
                "score": {
                  "description": "Agent Ergonomics Score from 0 to 100.",
                  "type": "number"
                },
                "violations": {
                  "description": "List of detected tool smell violations across rules TS001 through TS010.",
                  "items": {
                    "properties": {
                      "message": {
                        "description": "Diagnosis and guidance on fixing the smell.",
                        "type": "string"
                      },
                      "rule_id": {
                        "description": "Ergonomics rule code (e.g. TS001).",
                        "type": "string"
                      },
                      "severity": {
                        "description": "Severity grade (error, warning, info).",
                        "type": "string"
                      },
                      "tool_name": {
                        "description": "Violating tool name.",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "score",
                "passed",
                "violations"
              ],
              "type": "object"
            }
          },
          {
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": false,
              "readOnlyHint": true
            },
            "description": "Automatically refactor flawed MCP tool JSON schemas into hardened, Glama/AgentFlight Gold Standard definitions.\n\n### Purpose\nApplies deterministic remediation transformations via `ToolSchemaOptimizer` to fix `TS001`-`TS010` ergonomics smells, inferring parameter types, adding explicit constraints, marking required arrays, and upgrading descriptions with Purpose, When to use, and Behavior sections.\n\n### When to use\n- Automatically fixing low Agent Ergonomics Scores reported by `agentflight_lint_tools` before publishing an MCP server.\n- Enforcing typed JSON schemas and bounded enums across legacy tool wrappers.\n\n### When NOT to use\n- Do NOT use when you only need a non-mutating lint audit without generating refactored schemas; use `agentflight_lint_tools` instead.\n\n### Behavior & Side Effects\n- Read-only: Transforms schemas purely in memory and returns hardened copies without modifying disk files.\n- Deterministic & Idempotent: Running optimization multiple times converges cleanly.",
            "inputSchema": {
              "properties": {
                "compact": {
                  "description": "Strip display-only schema metadata ('title', verbose boilerplate, nullable anyOf wrappers) to cut per-turn tokens.",
                  "type": "boolean"
                },
                "tools": {
                  "description": "Array of raw MCP tool schema objects containing name, description, and inputSchema.",
                  "items": {
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "tools"
              ],
              "type": "object"
            },
            "name": "agentflight_optimize_tools",
            "outputSchema": {
              "properties": {
                "hardened_tools": {
                  "description": "Refactored MCP tool schemas conforming to TS001-TS010 standards.",
                  "items": {
                    "type": "object"
                  },
                  "type": "array"
                },
                "post_lint_score": {
                  "description": "Agent Ergonomics Score (0-100) after optimization.",
                  "type": "number"
                },
                "smells_resolved": {
                  "description": "Total tool-smell findings resolved across all schemas.",
                  "type": "integer"
                },
                "tools_optimized": {
                  "description": "Count of MCP tools processed.",
                  "type": "integer"
                }
              },
              "required": [
                "tools_optimized",
                "smells_resolved",
                "hardened_tools",
                "post_lint_score"
              ],
              "type": "object"
            }
          },
          {
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": false,
              "readOnlyHint": true
            },
            "description": "Run automated NTSB/AAIB-grade Flight Data Recorder incident analysis on a recorded agent trajectory.\n\n### Purpose\nInspects a recorded `.flight.json` cassette (inline `cassette_json` or local `cassette_path`) to classify incident severity, isolate fault inception step, trace state-mutating blast radius, and produce actionable remediation steps.\n\n### When to use\n- Diagnosing why a production or staging AI agent looped, exhausted budget, spiked in latency, or crashed mid-run.\n- Generating structured Markdown or JSON post-mortem reports for engineering incidents.\n\n### When NOT to use\n- Do NOT use to check two trajectories side-by-side; use `agentflight_diff_cassettes` instead.\n\n### Behavior & Side Effects\n- Read-only: Parses telemetry spans in memory and leaves source cassettes completely untouched.\n- Deterministic: Identical cassettes yield identical root-cause classifications and fault steps.",
            "inputSchema": {
              "properties": {
                "cassette_json": {
                  "description": "Inline cassette JSON object containing agent_id, head_hash, and spans to investigate.",
                  "type": "object"
                },
                "max_cost_ceiling_usd": {
                  "default": 2.0,
                  "description": "Optional USD budget ceiling used to classify budget exhaustion incidents (default 2.0).",
                  "type": "number"
                }
              },
              "type": "object"
            },
            "name": "agentflight_post_mortem",
            "outputSchema": {
              "properties": {
                "is_hash_chain_valid": {
                  "description": "True if SHA-256 chain integrity succeeded.",
                  "type": "boolean"
                },
                "markdown_report": {
                  "description": "Full Markdown post-mortem report.",
                  "type": "string"
                },
                "root_cause": {
                  "description": "Classified root cause category.",
                  "type": "string"
                },
                "severity": {
                  "description": "Incident severity (CRITICAL, HIGH, MEDIUM, LOW, CLEAN).",
                  "type": "string"
                },
                "summary": {
                  "description": "Concise narrative of what failed and where.",
                  "type": "string"
                }
              },
              "required": [
                "severity",
                "root_cause",
                "is_hash_chain_valid",
                "summary",
                "markdown_report"
              ],
              "type": "object"
            }
          },
          {
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": false,
              "readOnlyHint": true
            },
            "description": "Audit an agent trajectory cassette or candidate tool call against the AgentFlight Runtime Policy Firewall (PF001-PF007).\n\n### Purpose\nEnforces deterministic security guardrails checking for SSRF private/metadata URLs, path traversal, destructive SQL, live secret exfiltration, unauthorized actors, and per-flight mutation caps.\n\n### When to use\n- Pre-screening a live candidate tool call (`actor` + `input_payload`) before executing side effects.\n- Auditing an entire recorded flight cassette (`cassette_json` or `cassette_path`) under `standard`, `strict`, or `read-only` policy modes.\n\n### When NOT to use\n- Do NOT use to validate static MCP tool schema syntax; use `agentflight_lint_tools` instead.\n\n### Behavior & Side Effects\n- Read-only: Evaluates rules deterministically in memory without mutating state or calling networks.",
            "inputSchema": {
              "properties": {
                "actor": {
                  "description": "Candidate tool or MCP actor name when auditing a single tool call.",
                  "type": "string"
                },
                "cassette_json": {
                  "description": "Inline cassette JSON object containing spans to audit across the full flight.",
                  "type": "object"
                },
                "input_payload": {
                  "description": "Candidate argument dictionary paired with `actor` for single-call preflight evaluation.",
                  "type": "object"
                },
                "mode": {
                  "default": "standard",
                  "description": "Firewall enforcement profile.",
                  "enum": [
                    "standard",
                    "strict",
                    "read-only"
                  ],
                  "type": "string"
                }
              },
              "type": "object"
            },
            "name": "agentflight_audit_policy",
            "outputSchema": {
              "properties": {
                "passed": {
                  "description": "True if zero blocking policy violations were detected.",
                  "type": "boolean"
                },
                "violation_count": {
                  "description": "Total policy violations found.",
                  "type": "integer"
                },
                "violations": {
                  "description": "List of PF001-PF007 policy findings with rule_id, severity, step_index, and message.",
                  "items": {
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "passed",
                "violation_count",
                "violations"
              ],
              "type": "object"
            }
          },
          {
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": false,
              "readOnlyHint": true
            },
            "description": "Evaluate a declarative FlightContract behavioral specification against a recorded AI agent trajectory.\n\n### Purpose\nChecks recorded trajectories against formal SLAs and invariants including required tool calls (`must_call`), forbidden tools (`must_not_call`), ordered tool sequences (`must_follow_order`), step/cost/token/latency ceilings, zero-error tolerance, and SHA-256 integrity.\n\n### When to use\n- Running deterministic behavioral regression gates on recorded cassettes in CI or post-deployment checks.\n- Validating that an agent obeyed cost budgets and required workflow ordering.\n\n### When NOT to use\n- Do NOT use to compare two cassettes without an explicit contract; use `agentflight_diff_cassettes` instead.\n\n### Behavior & Side Effects\n- Read-only: Evaluates the supplied `contract` against cassette spans purely in memory.",
            "inputSchema": {
              "properties": {
                "cassette_json": {
                  "description": "Inline cassette JSON object to evaluate against the behavioral contract.",
                  "type": "object"
                },
                "contract": {
                  "description": "FlightContract specification object (name, must_call, must_not_call, must_follow_order, max_cost_usd, max_steps, max_tokens, max_error_rate).",
                  "type": "object"
                }
              },
              "required": [
                "contract"
              ],
              "type": "object"
            },
            "name": "agentflight_evaluate_contract",
            "outputSchema": {
              "properties": {
                "failed_rules": {
                  "description": "Count of rules failing.",
                  "type": "integer"
                },
                "passed": {
                  "description": "True if all contract rules passed.",
                  "type": "boolean"
                },
                "passed_rules": {
                  "description": "Count of rules passing.",
                  "type": "integer"
                },
                "results": {
                  "description": "Per-rule pass/fail breakdown with expected vs actual evidence.",
                  "items": {
                    "type": "object"
                  },
                  "type": "array"
                },
                "score": {
                  "description": "Percentage score (0-100) across contract rules.",
                  "type": "number"
                },
                "total_rules": {
                  "description": "Number of rules evaluated.",
                  "type": "integer"
                }
              },
              "required": [
                "passed",
                "score",
                "total_rules",
                "passed_rules",
                "failed_rules",
                "results"
              ],
              "type": "object"
            }
          }
        ]
      }
    }

Common questions

Does this implementation require business input parameters?

No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

Which request format should I follow?

Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use AgentFlight MCP Streamable Gateway API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.