UNPKG

@totoy/totoy-mcp

Version:

MCP Server for Totoy Document AI. Explain documents in simple, plain or detailed language and create Knowledge Bases from your documents in 19 languages.

18 lines (17 loc) 644 B
import { z } from "zod"; export const toolName = `createproject`; export const toolDescription = `Creates a Project.`; export const baseUrl = `https://api.totoy.ai/v1`; export const path = `/projects`; export const method = `post`; export const security = [ { "key": "Authorization", "value": "Bearer <mcp-env-var>API_KEY</mcp-env-var>", "in": "header", "envVarName": "API_KEY", "schemeType": "http", "schemeScheme": "bearer" } ]; export const inputParams = z.object({ "body": z.object({ "name": z.string().max(256).describe("The name of the `Project`.") }).strict().optional() }).shape;