logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mcp-foundation-models

An MCP server that integrates Apple's for text generation.

Author

mcp-foundation-models logo

phimage

MIT License

Quick Info

GitHub GitHub Stars 4
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

mcpappletextmcp serverapple textphimage mcp

mcp-foundation-models

A Model Context Protocol (MCP) server that provides text generation capabilities using Apple's Foundation Models framework. This server enables MCP clients to access Apple's on-device language models for secure, private text generation.

Features

  • Apple Foundation Models Integration: Leverages Apple's on-device language models for text generation

Requirements

  • macOS 26.0 or later (macOS Tahoe)
  • Xcode 26.0 or later
  • Swift 6.2 or later
  • Apple Silicon Mac (for optimal Foundation Models)

Installation

Building from Source

  1. Clone the repository: bash git clone <repository-url> cd mcp-foundation-models

  2. Build the project: bash swift build -c release

  3. The executable will be available at: .build/release/mcp-foundation-models

Use it in Claude Desktop for instance

Edit Claude configuration file '$HOME/Library/Application Support/Claude/claude_desktop_config.json'

Add this server full path as "mcpServers" sub object

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

Environment Variables

The server supports configuration through environment variables:

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

Dependencies

TODO

  • manage some session id to keep some conversation history

License

MIT

See Also

`