We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnhuang316/code-index-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Program.cs•401 B
using Orders.Services;
using Orders.Repositories;
namespace Orders;
public static class Program
{
public static void Main(string[] args)
{
var repo = new InMemoryOrderRepository();
var service = new OrderService(repo);
service.Create("A100", 2);
var order = service.MarkPaid("A100");
Console.WriteLine($"Order {order?.Id} paid={order?.Paid}");
}
}