npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vectorx/cloud-mcp

v1.1.0

Published

VectorX Cloud MCP Server - 基于 MCP 协议封装云开发能力,供 AI 编码工具使用

Readme

@vectorx/cloud-mcp

基于 MCP(Model Context Protocol) 协议的 VectorX 云开发服务器,封装 @vectorx/cloud-toolkit 的云开发能力,供 AI 编码工具(Cursor、VS Code Copilot 等)使用。

功能概览

| 工具类别 | 工具名 | 描述 | |---------|--------|------| | 认证 | checkLoginStatus | 检查当前云服务登录状态 | | 认证 | getLoginInfo | 获取当前登录信息详情 | | 认证 | logout | 登出清除登录信息 | | 云环境 | getCloudEnvironments | 查询云环境列表 | | 云环境 | getCloudEnvironment | 获取单个云环境详情 | | 云环境 | createCloudEnvironment | 创建云环境 | | 云环境 | updateCloudEnvironment | 更新云环境变量配置 | | 云函数 | deployFunction | 部署云函数到指定环境 | | 云函数 | getPublishHistory | 查询函数发布历史 | | Agent | buildAgent | 构建 Agent 项目 | | Agent | createAgentProject | 创建新的 Agent 项目 |

在 Cursor 中使用

在项目根目录的 .cursor/mcp.json 中添加配置:

{
  "mcpServers": {
    "vectorx-cloud": {
      "command": "node",
      "args": ["./packages/vectorx-cloud-mcp/lib/cli.js"]
    }
  }
}

编程方式使用

import { createVectorXMcpServer } from "@vectorx/cloud-mcp";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";

// 创建 MCP Server(启用全部插件)
const server = await createVectorXMcpServer();

// 或者只启用部分插件
const server = await createVectorXMcpServer({
  pluginsEnabled: ["auth", "env", "fun"],
});

// 连接 transport
const transport = new StdioServerTransport();
await server.connect(transport);

插件列表

| 插件名 | 描述 | 默认启用 | |--------|------|---------| | auth | 认证相关(登录状态、登出) | 是 | | env | 云环境管理(增删改查) | 是 | | fun | 云函数(部署、发布历史) | 是 | | agent | Agent 项目(构建、创建) | 是 |

前置条件

  • Node.js >= 18.0.0
  • 需要先通过 CLI 完成云服务登录(登录信息保存在 ~/.rcb/config.json

开发

# 安装依赖
pnpm install

# 开发模式(watch)
pnpm run dev

# 构建
pnpm run build