Metal MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Allows generating Metal Framework code in Swift language through the generate_metal_code tool

金属 MCP 服务器

提供 Metal Framework 文档搜索和代码生成功能的 MCP 服务器。

单线安装

npx @modelcontextprotocol/create-server metal-mcp && cd metal-mcp && npm install && npm run build

特征

工具

  1. search_metal_docs
    • 使用自然语言查询搜索 Metal Framework 文档和代码示例
    • 参数:
      • query :关于 Metal Framework 的自然语言查询
      • limit :返回的最大结果数(默认值:3)
  2. generate_metal_code
    • 为常见任务生成 Metal Framework 代码
    • 参数:
      • task :生成代码的 Metal 任务的描述
      • language :编程语言(Objective-C、Swift 或 Metal)

资源

  1. metal://docs/getting-started
    • Metal Framework 入门综合指南
  2. metal://docs/best-practices
    • Metal Framework 的最佳实践和优化技巧

用法

安装后,将服务器添加到您的 MCP 配置中:

{ "mcpServers": { "metal": { "command": "node", "args": ["/path/to/metal-mcp/build/index.js"] } } }

该服务器将通过 MCP 协议提供 Metal Framework 专业知识,使您能够:

  • 使用自然语言查询搜索 Metal 文档
  • 为常见的 Metal 任务生成代码片段
  • 获取 Metal 最佳实践和入门指南

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

通过使用自然语言查询提供文档搜索和代码生成功能,实现与 Metal Framework 的交互。

  1. One-Line Installation
    1. Features
      1. Tools
      2. Resources
    2. Usage
      ID: 1qadqxjnu6