Skip to main content
Glama

applescript-mcp

import { ScriptCategory } from "../types/index.js"; /** * Pages-related scripts. * * create_document: Create a new Pages document with plain text content */ export const pagesCategory: ScriptCategory = { name: "pages", description: "Pages document operations", scripts: [ { name: "create_document", description: "Create a new Pages document with plain text content (no formatting)", schema: { type: "object", properties: { content: { type: "string", description: "The plain text content to add to the document (no formatting)" } }, required: ["content"] }, script: (args) => ` try tell application "Pages" -- Create new document set newDoc to make new document set the body text of newDoc to "${args.content.replace(/"/g, '\\"')}" activate return "Document created successfully with plain text content" end tell on error errMsg return "Failed to create document: " & errMsg end try ` } ] };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joshrutkowski/applescript-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server