Skip to main content
Glama

MCP Xcode

by Stefan-Nitu

swiftui_preview

Render SwiftUI views in a simulator to preview them directly. Specify the Swift file path, preview name, and color scheme (light/dark) for accurate visualization.

Instructions

Generate a preview of a SwiftUI view by rendering it in a simulator

Input Schema

NameRequiredDescriptionDefault
colorSchemeNo
previewNameNo
swiftFilePathYes

Input Schema (JSON Schema)

{ "properties": { "colorScheme": { "enum": [ "light", "dark" ], "type": "string" }, "previewName": { "type": "string" }, "swiftFilePath": { "type": "string" } }, "required": [ "swiftFilePath" ], "type": "object" }

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/Stefan-Nitu/mcp-xcode'

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