INDIVIDUAL MCP TOOL
search_pieces
Search the free Swift Pieces registry by keyword, optionally filtered by category or minimum iOS version.
LIVE ENDPOINT
https://swiftpieces.com/api/mcp
Connect to this endpoint to inspect the live schema for search_pieces and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.swiftpieces]
url = "https://swiftpieces.com/api/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"swiftpieces": {
"type": "http",
"url": "https://swiftpieces.com/api/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: swiftpieces
Remote MCP URL: https://swiftpieces.com/api/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"swiftpieces": {
"url": "https://swiftpieces.com/api/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"swiftpieces": {
"type": "http",
"url": "https://swiftpieces.com/api/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "swiftpieces",
"transport": "streamable-http",
"url": "https://swiftpieces.com/api/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
get_piece— Return a free piece's full source, shaders, metadata and docs URL.install_piece— Return the files to write (path + content) so the agent can install a piece into an Xcode 16 synchronized folder, plus the equivalent CLI command.list_categories— List free categories with counts, and links to the Swift Pieces Pro library (screens and app templates).get_liquid_glass_guide— The rules for correct Liquid Glass adoption with verified iOS 26 API names.