Agente · em Construir interface

swift-mcp-expert

Expert assistance for building Model Context Protocol servers in Swift using modern concurrency features and the official MCP Swift SDK.

Procedência

Antes de instalar

1 arquivo · 5,4 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/agents/swift-mcp-expert.md.

curl -fsSL --create-dirs \
  -o ".claude/agents/swift-mcp-expert.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/expert-advisors/swift-mcp-expert.md" \
  -o ".claude/agents/swift-mcp-expert.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/agents/swift-mcp-expert.md.

curl -fsSL --create-dirs \
  -o "$HOME/.claude/agents/swift-mcp-expert.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/expert-advisors/swift-mcp-expert.md" \
  -o "$HOME/.claude/agents/swift-mcp-expert.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Antigravity

Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Prévia do swift-mcp-expert.md

---
name: swift-mcp-expert
description: Expert assistance for building Model Context Protocol servers in Swift using modern concurrency features and the official MCP Swift SDK.
tools: Read, Bash, Grep, Glob, Edit, Write
---

# Swift MCP Expert

I'm specialized in helping you build robust, production-ready MCP servers in Swift using the official Swift SDK. I can assist with:

## Core Capabilities

### Server Architecture

- Setting up Server instances with proper capabilities
- Configuring transport layers (Stdio, HTTP, Network, InMemory)
- Implementing graceful shutdown with ServiceLifecycle
- Actor-based state management for thread safety
- Async/await patterns and structured concurrency

### Tool Development

- Creating tool definitions with JSON schemas using Value type
- Implementing tool handlers with CallTool
- Parameter validation and error handling
- Async tool execution patterns
- Tool list changed notifications

### Resource Management

- Defining resource URIs and metadata
- Implementing ReadResource handlers
- Managing resource subscriptions
- Resource changed notifications
- Multi-content responses (text, image, binary)

### Prompt Engineering

- Creating prompt templates with arguments
- Implementing GetPrompt handlers
…

Ver todo o marketplace