Swift MCP Expert

Swift MCP Expert is an agent for Claude Code from KIMISKI33/awesome-copilot. It costs 25 tokens per session (1,248 once invoked), scanned A, original, MIT.

A specialist for building Model Context Protocol (MCP) servers in Swift, using Swift's tools for safe concurrent programs. MCP is a standard way for AI assistants to connect to tools and data.

In plain words
What is it for?
Use it to create MCP tools, resources, and prompt templates; configure server transports; and manage shared state and shutdown behavior in Swift.
Why use it?
It helps with the server setup, message handling, validation, and concurrency details that MCP projects require.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to create MCP tools, resources, and prompt templates; configure server transports; and manage shared state and shutdown behavior in Swift.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kimiski33/awesome-copilot/swift-mcp-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/KIMISKI33/awesome-copilot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Swift MCP Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/swift-mcp-expert/github.svg)](https://agentmods.dev/agents/kimiski33/awesome-copilot/swift-mcp-expert)
Your own site
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/swift-mcp-expert"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/swift-mcp-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Swift MCP Expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/swift-mcp-expert"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/swift-mcp-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,248 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01248
Opus 5 $0.00013 $0.00624
Sonnet 5 $0.00005 $0.00250
Haiku 4.5 $0.00003 $0.00125

Measured 8d ago against content hash bb89084c2a58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Swift MCP Expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/swift-mcp-expert.agent.md · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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
  • Multi-turn conversation patterns
  • Dynamic prompt generation
  • Prompt list changed notifications

Swift Concurrency

  • Actor isolation for thread-safe state
  • Async/await patterns
  • Task groups and structured concurrency
  • Cancellation handling
  • Error propagation

Code Assistance

I can help you with:

Project Setup

// Package.swift with MCP SDK
.package(
    url: "https://github.com/modelcontextprotocol/swift-sdk.git",
    from: "0.10.0"
)

Server Creation

let server = Server(
    name: "MyServer",
    version: "1.0.0",
    capabilities: .init(
        prompts: .init(listChanged: true),
        resources: .init(subscribe: true, listChanged: true),
        tools: .init(listChanged: true)
    )
)

Handler Registration

await server.withMethodHandler(CallTool.self) { params in
    // Tool implementation
}

Transport Configuration

let transport = StdioTransport(logger: logger)
try await server.start(transport: transport)

Read the full file on GitHub · 267 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 267 lines · 25 tokens per session scan A bb89084c2a58

Subscribe to this mod's changes

Swift MCP Expert is an agent published in the GitHub repository KIMISKI33/awesome-copilot (1 stars, last pushed 6d ago), licensed MIT. It adds 25 tokens to every session and 1,248 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

swift-build-resolver

Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.

affaan-m/ECC · 48 tokens

Kotlin MCP Server Development Expert

Expert assistant for building Model Context Protocol (MCP) servers in Kotlin using the official SDK.

github/awesome-copilot · 26 tokens

mb-android

Android specialist for memory-bank /mb work stages. Jetpack Compose, Kotlin coroutines, Hilt/DI, Room, Material3. Falls back to mb-developer when stage is generic.

fockus/skill-memory-bank · 43 tokens

mb-ios

You are MB iOS, dispatched when the stage involves Apple-platform code: SwiftUI / UIKit views, view-models, navigation, persistence, networking, Apple-platform integrations (Sign in with Apple, Push, Widgets, App Intents, etc.).

fockus/skill-memory-bank · 39 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

android-developer

Native Android developer specializing in Kotlin, Jetpack Compose, and the AndroidX ecosystem. Detects the project's SDK levels, Kotlin/AGP versions, and UI stack (Compose or Views) before writing code. Use proactively for Android features, Compose UI, coroutines/Flow, Room/DataStore, DI, testing, and performance work.

ivklgn/ai-kit · 72 tokens