supercorp-ai-supergateway
- Description:
Unlock seamless stdio MCP server connectivity with Supergateway! Run servers over SSE effortlessly, ideal for remote access and debugging. Start with one command to deliver powerful, real-time interactions!
- Copyright:
- 2025 Eyevinn Technology AB
Methods
(async, static) createSupercorpAiSupergatewayInstance(context, body) → {SupercorpAiSupergateway}
- Description:
Create a new Supergateway instance
Example
import { Context } from '@osaas/client-core';
import { createSupercorpAiSupergatewayInstance } from '@osaas/client-services';
const ctx = new Context();
const body: SupercorpAiSupergatewayConfig = { name: 'myinstance', ... };
const instance = await createSupercorpAiSupergatewayInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
SupercorpAiSupergatewayConfig | Service instance configuration |
Returns:
- Service instance
(async, static) getSupercorpAiSupergatewayInstance(context, name) → {SupercorpAiSupergateway}
- Description:
Get a Supergateway instance
Example
import { Context } from '@osaas/client-core';
import { getSupercorpAiSupergatewayInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getSupercorpAiSupergatewayInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the supergateway to be retrieved |
Returns:
- Service instance
(async, static) removeSupercorpAiSupergatewayInstance(context, name)
- Description:
Remove a Supergateway instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the supergateway to be removed |