PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversapp-automationmcsm-mcp
返回「app-automation」

mcsm-mcp

modelscope·@SMGoro/mcsm-mcp

app-automation0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

mcsm-mcp

English | 中文

Overview

mcsm-mcp is a lightweight MCP (Model Context Protocol) client library that enables your applications to communicate with MCPcompatible servers. It supports multiple transport mechanisms STDIO, SSE, and Streamable HTTP and can be used from both CLI scripts and UI tools.


Installation

git clone https://github.com/SMGoro/mcsm-mcp.git
cd mcsm-mcp
npm install
npm run build

The package works on Windows, macOS and Linux.


Configuration & Usage

The client reads its configuration from a JSON file (default name mcp.json). Below are examples for the three supported transports.

STDIO (default)

{
  "mcpServers": {
    "my-stdio-server": {
      "type": "stdio",
      "command": "node",
      "args": ["build/index.js", "--debug"],
      "env": {
        "MCSM_API_KEY": "your-api-key",
        "MCSM_API_URL": "http://localhost:23333",
        "DEBUG": "true"
      }
    }
  }
}

Streamable HTTP

{
  "mcpServers": {
    "my-http-server": {
      "type": "streamable-http",
      "url": "http://localhost:3010/mcp?mcsm-api-key=your-api-key&mcsm-api-url=http://localhost:23333"
    }
  }
}

Save the file as mcp.json in your project root or specify a custom path with the --config flag.


Testing the Client

CLI Mode (scriptable)

The library ships with a CLI wrapper that can be invoked via npx @modelcontextprotocol/inspector.

# Basic usage  start a server and open the UI
npx @modelcontextprotocol/inspector node build/index.js

# CLI mode  run a single command without UI
npx @modelcontextprotocol/inspector --cli node build/index.js --method tools/list

# Using a custom config file
npx @modelcontextprotocol/inspector --cli --config ./mcp.json --server my-stdio-server

UI Mode (interactive)

Running the command without --cli starts the MCP Inspector UI on http://localhost:6274.

npx @modelcontextprotocol/inspector node build/index.js

You can also launch the UI directly from an existing configuration:

npx @modelcontextprotocol/inspector --config ./mcp.json

The project includes a comprehensive test suite that validates each transport (STDIO, SSE, Streamable HTTP). Tests are based on the MCP Inspector documentation in docs/MCPInspector_README.md.

  1. Open the Inspector UI (see UI Mode above).
  2. In the Servers File panel click "Servers File" to copy a full configuration for the transport you want to test.
  3. Save the JSON to a temporary file, e.g. mcp-test.json.
  4. Run the CLI test command:
    npx @modelcontextprotocol/inspector --cli --config ./mcp-test.json --method tools/list
    
  5. Verify the output matches the expected tool list for your server.

Both GUI and CLI modes are exercised automatically by the CI pipeline.

Project Links

  • GitHub Repository: https://github.com/SMGoro/mcsm-mcp
  • MCSManager Site: https://mcsmanager.com/
  • Model Context Protocol: https://modelcontextprotocol.io/

License

AGPL-3.0

相关 MCP Servers(来自「app-automation」)

幻灯片编辑器(FastMCP)

一个由FastMCP驱动的服务器,用于通过编程方式创建、编辑和渲染PowerPoint(PPTX)演示文稿,具有幻灯片创建、内容插入和PNG渲染等功能。

@samos123/pptx-mcp

MCP PDF阅读器

赋予AI代理在项目背景下使用灵活的MCP工具安全读取和提取PDF文件中的信息(文本、元数据、页数)的能力。

@sylphxltd/pdf-reader-mcp

微软365 MCP 服务器

一种模型上下文协议服务器,通过 Graph API 实现与 Microsoft 365 服务(Excel、日历、邮件、OneDrive、Teams 等)的交互,使人工智能助手能够通过自然语言管理 Microsoft 365 资源。

@Softeria/ms-365-mcp-server

Avik-creator

暂无描述。

@Avik-creator/googlecalendarMCP

Caue397

暂无描述。

@Caue397/google-calendar-mcp

deciduus

暂无描述。

@deciduus/calendar-mcp

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/smgoro-mcsm-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

git clone https://github.com/SMGoro/mcsm-mcp.git cd mcsm-mcp npm install npm run build

基本信息

分类
app-automation / games-and-gamification / virtualization
运行方式
No
许可证
Unknown
详情文件
smgoro-mcsm-mcp.md