UNPKG

@smartsheet/smar-mcp

Version:

A Model Context Protocol (MCP) server for interacting with the Smartsheet API. This server provides tools for searching, retrieving, and updating Smartsheet sheets through the MCP protocol.

14 lines (13 loc) 721 B
import { z } from "zod"; export function getSheetPrompts(server, api) { // Search for tasks assigned to the current user in a sheet server.prompt("my-assigned-tasks", { url: z.string().describe("The URL of the Smartsheet Sheet to check for your assigned tasks") }, ({ url }) => ({ messages: [{ role: "user", content: { type: "text", text: `I need to know what tasks are assigned to me in this Smartsheet: ${url}\n\nPlease find all items assigned to me in this sheet, and summarize them in a clear, organized way. Include task names, due dates, status, and any other relevant information.` } }] })); }