⚡ 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 { getApiUrl } from "@/fetchers/get-api-url";
export async function submitMcpAuthorizationDecision(
requestId: string,
approved: boolean,
): Promise<string> {
const response = await fetch(
getApiUrl(`/mcp/authorize/request/${encodeURIComponent(requestId)}`),
{
method: "POST",
credentials: "include",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ approved }),
},
);
if (!response.ok) {
throw new Error("Could not complete the authorization request.");
}
const body = (await response.json()) as { redirect: string };
return body.redirect;
}