We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
digitalOceanCodeGenUpdate.ts•444 B
async function main(component: Input): Promise<Output> {
// Extract only the properties that should be used for update
const payload = _.cloneDeep(component.domain);
// Remove the 'extra' metadata object that SI uses internally
delete payload.extra;
// Visit the prop tree and remove empty/null values
const cleaned = extLib.removeEmpty(payload);
return {
format: "json",
code: JSON.stringify(cleaned, null, 2),
};
}