We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/james-see/mcp-drawthings'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
check-status.ts•496 B
import { z } from "zod";
import type { DrawThingsClient } from "../client/drawthings.js";
export const checkStatusSchema = z.object({});
export const checkStatusDescription =
"Check if the Draw Things API server is running and accessible";
export async function checkStatus(
client: DrawThingsClient
): Promise<{ type: "text"; text: string }[]> {
const result = await client.checkStatus();
return [
{
type: "text",
text: JSON.stringify(result, null, 2),
},
];
}