RM

ryanmarc/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 6 forks 质量 57 趋势 0NOASSERTION

ryanmarc/mcp 是从 https://github.com/ryanmarc/mcp. 导入的 MCP 服务器候选

概览

ryanmarc/mcp 是从 https://github.com/ryanmarc/mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

本项目包含 IBM Cloud 的 MCP 服务器,为 AI 助手与 IBM Cloud 服务提供接口层。本 README 详细说明了如何安装、构建、配置和运行 MCP 服务器以进行开发和测试。

概述

IBM Cloud 的核心 MCP 服务器实现直接内置于 IBM Cloud CLI 的原生二进制文件中。

目前所有MCP功能均作为实验性功能提供。

支持两种运行时场景:

  1. 本地安装 - Core MCP 服务器 - 配置任何 MCP 主机应用程序(例如 Claude、VSCode、Cursor、Cline、mcp-cli)以使用 IBM Cloud CLI 作为 MCP 服务器。此场景涉及在本地安装 IBM Cloud CLI,然后更新主机应用程序的 JSON MCP 配置设置,使其在 MCP 模式下使用 IBM Cloud CLI,并指定 stdio 与 --mcp-transport 参数。
  2. 容器化MCP服务器 - 使用/src标题中提供的容器,构建适合特定用途的IBM Cloud MCP服务器容器化版本,这些版本可部署在任何容器运行时(例如:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

IBM Cloud MCP Servers

This project contains MCP Servers for IBM Cloud which provide an interface layer between AI assistants and IBM Cloud services. This README details how to install, build, configure, and run the MCP Server(s) for development and testing.

Overview

The core MCP server implementation for IBM Cloud is built directly into the IBM Cloud CLI native binaries.

All MCP features are provided as EXPERIMENTAL features at this time.

There are two runtime scenarios supported:

  1. Local install - Core MCP Server - Configure any MCP Host Application (e.g. Claude, VSCode, Cursor, Cline, mcp-cli) to use IBM Cloud CLI as an MCP server. This scenario involves installing the IBM Cloud CLI locally and then updating the host application’s JSON MCP configuration settings to use the IBM Cloud CLI in MCP mode and specifying stdio with the --mcp-transport parameter.
  2. Containerized MCP Servers - Use the Containers provided in the /src dir to build fit-for-purpose containerized versions of the IBM Cloud MCP Server which can be deployed on any container runtime (e.g. podman, docker, IBM Cloud Code Engine, Redhat OpenShift, Kubernetes) to run as an MCP Remote server (specify a valid HTTP SSE URL with the --mcp-transport parameter). This scenario involves building the container file, providinging environment variables to configure the appropriate tools to be exposed via MCP, and securely configuring the credentials to be used for the container.

💻 Local Install - Core MCP Server and Plugin Modules

Don’t have IBM Cloud CLI? --> Install it!

Simply install the IBM Cloud CLI–that’s all you need!

Already have IBM Cloud CLI? --> Check to see if you have MCP features

If you already have the IBM Cloud CLI installed, check to see if MCP features are available:

ibmcloud --help

If you already have the MCP feature, you will see the following section near the bottom of the output:

MCP OPTIONS:
  --mcp-transport      [EXPERIMENTAL] Specify the transport to start the MCP server. Valid options are `stdio` or a valid `HTTP SSE URL`.
  --mcp-tools          [EXPERIMENTAL] Specifies an optional comma-delimited list of commands to expose as MCP tools.
  --mcp-allow-write    [EXPERIMENTAL] Allows write operations for tasks such as creating a resource.

If you don’t have the MCP feature, update with:

ibmcloud update
ibmcloud --help

Verify that the MCP OPTIONS are available as above and proceed with configuring your host application to use the IBM Cloud MCP Server (proceed to the Usage section below).

📦 Containerized IBMCloud MCP Servers

Containerfiles and Makefiles for building IBM Cloud MCP Server containers are located in directories under the /src folder.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ibmcloud": { "command": "/path/to/ibmcloud", "args": [ "--mcp-transport", "stdio", "--mcp-tools", "resource_groups,target,MORE COMMANDS HERE THAT LIST AND VIEW RESOURCES" ] } } }