Allows generating Metal Framework code in Swift language through the generate_metal_code tool
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Metal MCP Servershow me how to create a basic Metal shader in Swift"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 buildRelated MCP server: DeepSeek MCP Server
Features
Tools
search_metal_docsSearch 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_codeGenerate 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-startedComprehensive guide for getting started with Metal Framework
metal://docs/best-practicesBest 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
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.