EU Parliament Monitor — API Documentation - v0.8.59
    Preparing search index...
    • Run the fetch-proxy MCP server, reading JSON-RPC messages from input and writing responses to output.

      Does not resolve until the input stream closes.

      Parameters

      • input: ReadableStream = process.stdin

        Readable stream to read JSON-RPC lines from (default: stdin).

      • output: WritableStream = process.stdout

        Writable stream to write responses to (default: stdout).

      • fetchImpl: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        } = globalThis.fetch

        Injectable fetch (default: global fetch).

          • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
          • Parameters

            • input: URL | RequestInfo
            • Optionalinit: RequestInit

            Returns Promise<Response>

          • (input: string | URL | Request, init?: RequestInit): Promise<Response>
          • Parameters

            • input: string | URL | Request
            • Optionalinit: RequestInit

            Returns Promise<Response>

      Returns Promise<void>

      Promise that resolves when the input stream closes.