Uploaded image for project: 'Connectivity Link'
  1. Connectivity Link
  2. CONNLINK-503

Request Body Parsing, Tool Name Extraction, and Session ID Mapping (ext-proc)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      As a platform engineer, I want the gateway to parse the MCP request body, extract the method and tool name, set the corresponding MCP session ID in headers for upstream mcp server, and rewrite tool names as needed to hide internal prefixes.

      Considerations:

      • Handle JSON-RPC body parsing in ext-proc safely (validate schema, avoid panics)
      • Extract from body & put into headers:
        • method (e.g. initialize, tools/call )
        • params.name (e.g. tool name)
      • Replace mcp-session-id in headers based on corresponding mcp-server upstream
      • Include tracing or debug logs for filtered requests
      • Support tool name rewriting rules (e.g. prefix stripping)

              davmarti@redhat.com David Martin
              davmarti@redhat.com David Martin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: