Skip to main content
Glama

microsandbox

by microsandbox
microsandbox.zig613 B
const std = @import("std"); /// Returns a greeting message for the given name. pub fn greet(allocator: std.mem.Allocator, name: []const u8) ![]u8 { const message = try std.fmt.allocPrint( allocator, "Hello, {s}! Welcome to Microsandbox!", .{name}, ); std.debug.print("{s}\n", .{message}); return message; } test "greet function" { const allocator = std.testing.allocator; const name = "Test"; const message = try greet(allocator, name); defer allocator.free(message); try std.testing.expect(std.mem.indexOf(u8, message, "Hello, Test!") != null); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsandbox/microsandbox'

If you have feedback or need assistance with the MCP directory API, please join our Discord server