AppleFoundationMCPTool
by airy10
Overview
Dynamic bridging between Apple's Foundation Models/AnyLanguageModel and external Model Context Protocol (MCP) servers for tool execution.
Installation
swift run AppleFoundationMCPToolChatEnvironment Variables
- OPENCODE_AI_API_KEY
Security Notes
The library acts as a client to external MCP servers. Significant security risks exist if connecting to untrusted servers via HTTP/SSE or launching untrusted executables via stdio. The `executablePath` and `serverURL` inputs can lead to arbitrary code execution or data exfiltration if not carefully managed by the integrating application. The project is labeled as a proof-of-concept, implying it may lack production-grade security hardening.
Similar Servers
fastmcp
FastMCP is an ergonomic interface for the Model Context Protocol (MCP), providing a comprehensive framework for building and interacting with AI agents, tools, resources, and prompts across various transports and authentication methods.
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.