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(pagesizesort)

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();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |

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

Parameters

NameTypeDescriptionNotes
pageInteger[optional] [default to 0]
sizeInteger[optional] [default to 20]
sortList<String>[optional]

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.1-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-09-03T16:35:42.569765-07:00[America/Los_Angeles]