⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
export function textResult(data: unknown, isError = false): CallToolResult {
const text =
typeof data === "string" ? data : (JSON.stringify(data, null, 2) ?? "");
return {
content: [
{
type: "text",
text,
},
],
isError,
};
}
export function errorResult(message: string): CallToolResult {
return textResult({ error: message }, true);
}