mcp-template
If you are the rightful owner of mcp-template and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A template repository providing a barebones foundation for building Model Control Protocol (MCP) servers for macOS applications and command line tools.
MCP Template serves as a starting point for developers looking to implement MCP servers in their projects. This template demonstrates how to use the `mcp-swift-sdk` in a minimal way, making it easier to understand the basics of MCP integration. It includes both a library template for integration into other projects and a simple command-line example to illustrate basic usage. The repository is designed to be a reference implementation, a template for forking or cloning, and a barebones example that demonstrates core MCP concepts with minimal code. It provides a basic Swift package structure, a command line 'hello world' example tool, and command line stdio for direct MCP interaction via the `run` command. Future plans include App Store safe command line stdio and an SSE server in a package.
Features
- Basic Swift package structure
- Command line 'hello world' example tool
- Command line stdio for direct MCP interaction via the `run` command
- App Store safe command line stdio → standalone Mac app communication (planned)
- SSE server in a Package → example command line app for SSE-based MCP (planned)