@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.
17 lines (16 loc) • 488 B
JavaScript
import { z } from "zod";
export function getPrompts(server) {
server.prompt("my-tasks", { url: z.string() }, async ({ url }) => {
return {
messages: [
{
role: "user",
content: {
type: "text",
text: `Retrieve current user, then search the sheet with ${url} for tasks assigned to them.`
}
}
]
};
});
}