{"id":28781103,"url":"https://github.com/phimage/mcp-foundation-models","last_synced_at":"2026-04-24T11:38:50.075Z","repository":{"id":299043619,"uuid":"1001902658","full_name":"phimage/mcp-foundation-models","owner":"phimage","description":"MCP Server to generate message with Apple FoundationModels","archived":false,"fork":false,"pushed_at":"2025-06-14T10:22:42.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-08T23:51:22.988Z","etag":null,"topics":["foundationmodels","mcp","mcp-server"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phimage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-14T09:31:11.000Z","updated_at":"2025-10-13T20:52:40.000Z","dependencies_parsed_at":"2025-06-14T10:32:21.112Z","dependency_job_id":"51524896-b05d-42e6-8044-b112e7598b48","html_url":"https://github.com/phimage/mcp-foundation-models","commit_stats":null,"previous_names":["phimage/mcp-foundation-models"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phimage/mcp-foundation-models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phimage%2Fmcp-foundation-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phimage%2Fmcp-foundation-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phimage%2Fmcp-foundation-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phimage%2Fmcp-foundation-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phimage","download_url":"https://codeload.github.com/phimage/mcp-foundation-models/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phimage%2Fmcp-foundation-models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32222367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["foundationmodels","mcp","mcp-server"],"created_at":"2025-06-17T18:40:10.732Z","updated_at":"2026-04-24T11:38:50.071Z","avatar_url":"https://github.com/phimage.png","language":"Swift","readme":"# mcp-foundation-models\n\nA 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.\n\n## Features\n\n- **Apple Foundation Models Integration**: Leverages Apple's on-device language models for text generation\n\n## Requirements\n\n- macOS 26.0 or later (macOS Tahoe)\n- Xcode 26.0 or later\n- Swift 6.2 or later\n- Apple Silicon Mac (for optimal Foundation Models)\n\n## Installation\n\n### Building from Source\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd mcp-foundation-models\n   ```\n\n2. Build the project:\n   ```bash\n   swift build -c release\n   ```\n\n3. The executable will be available at:\n   ```\n   .build/release/mcp-foundation-models\n   ```\n\n### Use it in Claude Desktop for instance\n\nEdit Claude configuration file '$HOME/Library/Application Support/Claude/claude_desktop_config.json'\n\nAdd this server full path as \"mcpServers\" sub object \n```json\n{\n  \"mcpServers\": {\n    \"foundation-models\": {\n      \"command\": \"/path/to/mcp-foundation-models/.build/release/mcp-foundation-models\",\n      \"args\": [\n      ]\n    }\n```\n\n#### Environment Variables\n\nThe server supports configuration through environment variables:\n\n- `SYSTEM_INSTRUCTIONS`: Set default system instructions for the AI assistant\n- `DEBUG`: Enable debug logging (any non-empty value)\n\n \n### Dependencies\n\n- [swift-argument-parser](https://github.com/apple/swift-argument-parser): Command line argument parsing\n- [swift-sdk (MCP)](https://github.com/modelcontextprotocol/swift-sdk): Model Context Protocol implementation\n- [swift-service-lifecycle](https://github.com/swift-server/swift-service-lifecycle): Graceful service lifecycle management\n\n## TODO\n- manage some session id to keep some conversation history\n\n## License\n\nMIT\n\n","funding_links":[],"categories":["📦 Other"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphimage%2Fmcp-foundation-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphimage%2Fmcp-foundation-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphimage%2Fmcp-foundation-models/lists"}