What is the purpose of MCP Template?
It serves as a reference implementation and template that can be forked or cloned to jumpstart your own MCP server development, showing how to use `mcp-swift-sdk` in a minimal way.
@adamwulf
基本信息
A barebones MCP server implementation in Swift using loopwork-ai's mcp-swift-sdk.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-template": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"<absolute_path_to_your_executable>",
"run"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
MCP Template is a barebones foundation for building Model Context Protocol (MCP) servers using Swift. It demonstrates minimal integration with the mcp-swift-sdk and is intended for macOS applications and command line tools.
Add the package to your Package.swift dependencies, then import EasyMCP to register tools and start the server. The included command-line executable mcpexample offers a hello command for a basic demo and a run command to start a full MCP server with stdio transport. For debugging, use the MCP Inspector by running npx @modelcontextprotocol/inspector <path_to_executable> run.
run commandmcp-swift-sdkIt serves as a reference implementation and template that can be forked or cloned to jumpstart your own MCP server development, showing how to use `mcp-swift-sdk` in a minimal way.
It requires `swift-argument-parser` 1.3.0+ and a custom fork of `mcp-swift-sdk` (branch "feature/wait-for-complete").
Currently it supports stdio transport for MCP interaction. SSE (Server-Sent Events) support is planned but not yet implemented.
It is a barebones example with only a "hello world" tool; SSE server and App Store safe stdio communication are not yet available. It targets macOS and uses a custom SDK fork.
Build the executable in Xcode, locate it via Product → Show Build Folder, then run the MCP Inspector with `npx @modelcontextprotocol/inspector <path> run`. Attach the debugger in Xcode to step through breakpoints.
MCP server that lets Claude Code, Cursor or Codex ask you for API keys on a local page and write them to .env. The agent only ever sees key names.

AI-native payments for tools and APIs. Discover, pay for, execute, and publish monetized APIs directly from your agent, settled per call in USDC over x402, through the Model Context Protocol. payments · finance · x402 ·

Pugi is an AI product team in your chat. Describe a business in a few sentences and Pugi plans, designs, builds and checks a real website, shows a live preview, and puts it live on its own address. Ask for changes in pla

ArtiBot Cloud MCP (Zhijiangyun 智匠云) — cloud MCP server for robot manipulation data & GPU workloads. 15 tools: robot fleet management, data collection & video recording, post-processing pipelines, and benchmark evaluation

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
评论