by phimage
mcp-foundation-models is an MCP server that integrates with Apple's on-device Foundation Models framework. It provides secure and private text generation capabilities to MCP clients.
mcp-foundation-models is a Model Context Protocol (MCP) server that provides text generation capabilities by integrating with Apple's on-device Foundation Models framework. It allows MCP clients to securely and privately access Apple's language models for text generation.
To use mcp-foundation-models, you first need to build it from source. Clone the repository, navigate into the directory, and run swift build -c release
. The executable will be available at .build/release/mcp-foundation-models
.
Once built, you can integrate it with MCP clients like Claude Desktop. Edit the Claude configuration file ($HOME/Library/Application Support/Claude/claude_desktop_config.json
) and add the server's full path as an mcpServers
sub-object. For example:
{
"mcpServers": {
"foundation-models": {
"command": "/path/to/mcp-foundation-models/.build/release/mcp-foundation-models",
"args": []
}
}
}
Environment variables can be used for configuration:
SYSTEM_INSTRUCTIONS
: Set default system instructions for the AI assistant.DEBUG
: Enable debug logging (any non-empty value).Q: What are the requirements to run mcp-foundation-models? A: You need macOS 26.0 or later (macOS Tahoe), Xcode 26.0 or later, Swift 6.2 or later, and an Apple Silicon Mac for optimal performance with Foundation Models.
Q: Can I set default system instructions for the AI assistant?
A: Yes, you can set the SYSTEM_INSTRUCTIONS
environment variable to define default system instructions.
Q: How can I enable debug logging?
A: Set the DEBUG
environment variable to any non-empty value to enable debug logging.
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.
Clone the repository:
git clone <repository-url>
cd mcp-foundation-models
Build the project:
swift build -c release
The executable will be available at:
.build/release/mcp-foundation-models
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": [
]
}
The server supports configuration through environment variables:
SYSTEM_INSTRUCTIONS
: Set default system instructions for the AI assistantDEBUG
: Enable debug logging (any non-empty value)MIT
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by danny-avila
Provides a customizable ChatGPT‑like web UI that integrates dozens of AI models, agents, code execution, image generation, web search, speech capabilities, and secure multi‑user authentication, all open‑source and ready for self‑hosting.
by ahujasid
BlenderMCP integrates Blender with Claude AI via the Model Context Protocol (MCP), enabling AI-driven 3D scene creation, modeling, and manipulation. This project allows users to control Blender directly through natural language prompts, streamlining the 3D design workflow.
by pydantic
Enables building production‑grade generative AI applications using Pydantic validation, offering a FastAPI‑like developer experience.
by GLips
Figma-Context-MCP is a Model Context Protocol (MCP) server that provides Figma layout information to AI coding agents. It bridges design and development by enabling AI tools to directly access and interpret Figma design data for more accurate and efficient code generation.
by mcp-use
Easily create and interact with MCP servers using custom agents, supporting any LLM with tool calling and offering multi‑server, sandboxed, and streaming capabilities.
by sonnylazuardi
This project implements a Model Context Protocol (MCP) integration between Cursor AI and Figma, allowing Cursor to communicate with Figma for reading designs and modifying them programmatically.
by lharries
WhatsApp MCP Server is a Model Context Protocol (MCP) server for WhatsApp that allows users to search, read, and send WhatsApp messages (including media) through AI models like Claude. It connects directly to your personal WhatsApp account via the WhatsApp web multi-device API and stores messages locally in a SQLite database.
by idosal
GitMCP is a free, open-source remote Model Context Protocol (MCP) server that transforms any GitHub project into a documentation hub, enabling AI tools to access up-to-date documentation and code directly from the source to eliminate "code hallucinations."
by Klavis-AI
Klavis AI provides open-source Multi-platform Control Protocol (MCP) integrations and a hosted API for AI applications. It simplifies connecting AI to various third-party services by managing secure MCP servers and authentication.