McpServerApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteMcpServer | DELETE McpServerApi | Delete 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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the McpServer. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the McpServer. |
Return type
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
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
Name | Type | Description | Notes |
---|---|---|---|
mcpServer | McpServer | McpServer details. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the McpServer. | |
mcpServer | McpServer | Updated McpServer details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
~ | value |
---|---|
GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT |
API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
GENERATED DATE | 2025-04-09T20:27:13.881184-07:00[America/Los_Angeles] |