Back to catalog

FoundationModels MCP Server

An MCP server that provides text generation capabilities using Apple's Foundation Models framework, delivering secure and private on-device access to language models for MCP clients.

Get this MCP server

An MCP server that provides text generation capabilities using Apple's Foundation Models framework, delivering secure and private on-device access to language models for MCP clients.

Installation

From Source

git clone <repository-url>
cd mcp-foundation-models
swift build -c release

Configuration

Claude Desktop

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

Features

  • Apple Foundation Models Integration: Leverages Apple's on-device language models for text generation
  • Secure and private text generation using on-device models
  • Requires macOS 26.0+ and Apple Silicon for optimal performance

Environment Variables

Optional

  • SYSTEM_INSTRUCTIONS - Set default system instructions for the AI assistant
  • DEBUG - Enable debug logging (any non-empty value)

Notes

Requires macOS 26.0 or higher (macOS Tahoe), Xcode 26.0+, Swift 6.2+, and a Mac with Apple Silicon for optimal Foundation Models performance. Built with Swift dependencies including swift-argument-parser, MCP Swift SDK, and swift-service-lifecycle. Session management for conversation history is planned for future releases.

Comments (0)

Sign In Sign in to leave a comment.

Spark Drops

Weekly picks: best new AI tools, agents & prompts

Venture Crew
Terms of Service

© 2026, Venture Crew