mcp-foundation-models

phimage/mcp-foundation-models

3.3

If you are the rightful owner of mcp-foundation-models 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 Model Context Protocol (MCP) server that provides text generation capabilities using Apple's Foundation Models framework.

The MCP Foundation Models server is designed to offer secure and private text generation by leveraging Apple's on-device language models. This server is particularly beneficial for users who prioritize privacy and security, as it ensures that all text generation processes occur locally on the device without the need for cloud-based services. The server is compatible with macOS 26.0 or later, requiring an Apple Silicon Mac for optimal performance. It integrates seamlessly with Apple's Foundation Models, providing robust language processing capabilities. Developers can build the server from source using Swift 6.2 or later, and it is designed to be used with various applications, such as Claude Desktop, by configuring the appropriate settings. The server also supports environment variable configurations, allowing users to customize system instructions and enable debug logging as needed.

Features

  • Integration with Apple's on-device language models for secure text generation.
  • Requires macOS 26.0 or later and Apple Silicon Mac for optimal performance.
  • Configurable through environment variables for system instructions and debug logging.
  • Buildable from source using Swift 6.2 or later.
  • Seamless integration with applications like Claude Desktop.

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "foundation-models": {
      "command": "/path/to/mcp-foundation-models/.build/release/mcp-foundation-models",
      "args": []
    }
  }
}