metal-mcp-server
Search Metal Framework documentation and generate Metal code for common tasks using natural language queries. Supports querying documentation and generating code in Objective-C, Swift, or Metal based on task descriptions.
Author

aldrin-labs
Quick Info
Actions
Tags
Metal MCP Server
An MCP server providing Metal Framework documentation search and code generation capabilities.
One-Line Installation
npx @modelcontextprotocol/create-server metal-mcp && cd metal-mcp && npm install && npm run build
Features
Tools
search_metal_docs- Search Metal Framework documentation and code examples using natural language queries
-
Parameters:
query: Natural language query about Metal Frameworklimit: Maximum number of results to return (default: 3)
-
generate_metal_code - Generate Metal Framework code for common tasks
- Parameters:
task: Description of the Metal task to generate code forlanguage: Programming language (objective-c, swift, or metal)
Resources
metal://docs/getting-started-
Comprehensive guide for getting started with Metal Framework
-
metal://docs/best-practices - Best practices and optimization tips for Metal Framework
Usage
After installation, add the server to your MCP configuration:
{
"mcpServers": {
"metal": {
"command": "node",
"args": ["/path/to/metal-mcp/build/index.js"]
}
}
}
The server will provide Metal Framework expertise through the MCP protocol, allowing you to: - Search Metal documentation with natural language queries - Generate code snippets for common Metal tasks - Access Metal best practices and getting started guides
