We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Chimera-Protocol/csl-core'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
01_hello_world.csl•789 B
// =============================================================
// CSL-Core Example: Hello World
// Goal: Basic logic to restrict large external transfers.
// =============================================================
CONFIG {
ENFORCEMENT_MODE: BLOCK
}
DOMAIN HelloWorld {
VARIABLES {
// The amount of money to transfer
amount: 0..10000
// Where the money is going
destination: {"INTERNAL", "EXTERNAL"}
}
// -----------------------------------------------------------
// Rule: Transfers of 100 or more must stay INTERNAL.
// (Small transfers < 100 are allowed anywhere)
// -----------------------------------------------------------
STATE_CONSTRAINT limit_large_transfers {
WHEN amount >= 100
THEN destination MUST BE "INTERNAL"
}
}