We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TSavo/Unity-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
CodeExecutionResult.cs•929 B
using System.Collections.Generic;
namespace UnityMCP.Unity.Models
{
/// <summary>
/// Result of a code execution operation
/// </summary>
public class CodeExecutionResult
{
/// <summary>
/// Whether the execution was successful
/// </summary>
public bool Success { get; set; }
/// <summary>
/// The result of the execution (if successful)
/// </summary>
public string Result { get; set; }
/// <summary>
/// The error message (if unsuccessful)
/// </summary>
public string Error { get; set; }
/// <summary>
/// Logs from the execution
/// </summary>
public List<string> Logs { get; set; } = new List<string>();
/// <summary>
/// The time taken to execute the code (in milliseconds)
/// </summary>
public long ExecutionTime { get; set; }
}
}