Skip to main content

McpServerApi

valkyrai-api

All URIs are relative to http://localhost:8080/v1

MethodHTTP requestDescription
deleteMcpServerDELETE McpServerApiDelete a McpServer.

deleteMcpServer

Void
deleteMcpServer(id)

Delete a McpServer.

Deletes a specific McpServer.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpServerApi;


McpServerApi apiInstance = new McpServerApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpServer.

try {
Void result = apiInstance.deleteMcpServer(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpServerApi#deleteMcpServer");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the McpServer.

Return type

Void

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

getMcpServer

McpServer
getMcpServer(id)

Retrieve a single McpServer

Retrieves a single McpServer for a specific uid.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpServerApi;


McpServerApi apiInstance = new McpServerApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpServer.

try {
McpServer result = apiInstance.getMcpServer(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpServerApi#getMcpServer");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the McpServer.

Return type

McpServer

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getMcpServerList

McpServer
getMcpServerList()

Retrieve a list of McpServers

Retrieves a list of McpServers.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpServerApi;


McpServerApi apiInstance = new McpServerApi();

try {
McpServer result = apiInstance.getMcpServerList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpServerApi#getMcpServerList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

McpServer

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

postMcpServer

McpServer
postMcpServer(mcpServer)

Create a new McpServer

Creates a new McpServer.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpServerApi;


McpServerApi apiInstance = new McpServerApi();
McpServer mcpServer = new McpServer(); // McpServer | McpServer details.

try {
McpServer result = apiInstance.postMcpServer(mcpServer);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpServerApi#postMcpServer");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
mcpServerMcpServerMcpServer details.

Return type

McpServer

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

updateMcpServer

McpServer
updateMcpServer(idmcpServer)

Update an existing McpServer

Updates an existing McpServer.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpServerApi;


McpServerApi apiInstance = new McpServerApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpServer.
McpServer mcpServer = new McpServer(); // McpServer | Updated McpServer details.

try {
McpServer result = apiInstance.updateMcpServer(idmcpServer);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpServerApi#updateMcpServer");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the McpServer.
mcpServerMcpServerUpdated McpServer details.

Return type

McpServer

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]