MCP.so
登录

Metal MCP Server

@aldrin-labs

关于 Metal MCP Server

暂无概览

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

aldrin-labs

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "metal-mcp-server": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/create-server",
        "metal-mcp",
        "&&",
        "cd",
        "metal-mcp",
        "&&",
        "npm",
        "install",
        "&&",
        "npm",
        "run",
        "build"
      ]
    }
  }
}

工具

2

`query`: Natural language query about Metal Framework

`task`: Description of the Metal task to generate code for

概览

What is Metal MCP Server?

An MCP server that provides Metal Framework documentation search and code generation capabilities, allowing users to query Metal documentation with natural language and generate code snippets for common Metal tasks.

How to use Metal MCP Server?

Install via npx @modelcontextprotocol/create-server metal-mcp && cd metal-mcp && npm install && npm run build, then add the server to your MCP configuration with the path to the build output. After configuration, the server exposes tools and resources for searching docs and generating Metal code.

Key features of Metal MCP Server

  • Search Metal Framework documentation with natural language queries
  • Generate Metal Framework code for common tasks
  • Access getting started guide via metal://docs/getting-started
  • Access best practices and optimization tips via metal://docs/best-practices
  • Support for Objective-C, Swift, and Metal programming languages
  • Configurable result limit (default: 3) for documentation searches

Use cases of Metal MCP Server

  • Quickly find Metal Framework documentation and code examples using plain English
  • Generate starter code for common Metal tasks (e.g., shader setup, GPU compute)
  • Retrieve best practices and optimization guidance without manual web searches
  • Integrate Metal documentation lookup directly into an MCP‑compatible AI assistant

FAQ from Metal MCP Server

What does Metal MCP Server do?

It enables searching Metal Framework documentation with natural language queries and generating Metal code snippets for common tasks, all through the Model Context Protocol.

What programming languages does the code generator support?

The generate_metal_code tool supports Objective-C, Swift, and Metal.

How do I configure the server after installation?

Add it to your MCP configuration file (e.g., claude_desktop_config.json) with command: "node" and args pointing to the built index.js file, following the example in the README.

What resources are available?

Two built‑in resources: metal://docs/getting-started (a comprehensive guide) and metal://docs/best-practices (optimization tips and best practices).

Is there a limit on search results?

Yes, the search_metal_docs tool accepts an optional limit parameter (default: 3) to control the maximum number of results returned.

评论

其他 分类下的更多 MCP 服务器