Skip to content

MCP工具错误: createFunction #147

@let5sne

Description

@let5sne

错误描述

工具 createFunction 执行时发生错误

错误信息

函数代码打包失败:路径不存在或无读写权限:/Users/yuanjiantsui/projects/water-cloud/cloudfunctions/user-auth

环境ID

eat-together-2gr684egc4e98dad

环境信息

  • 操作系统: Darwin 24.6.0
  • Node.js版本: v22.14.0
  • MCP 版本:1.8.33
  • 系统架构: arm64
  • 时间: 2025-08-15T14:09:30.558Z

工具参数

{
  "func": {
    "name": "user-auth",
    "timeout": 60,
    "envVariables": {},
    "runtime": "Nodejs18.15",
    "handler": "index.main",
    "isWaitInstall": true,
    "installDependency": true
  },
  "functionRootPath": "/Users/yuanjiantsui/projects/water-cloud/cloudfunctions",
  "force": true
}

复现步骤

  1. 使用工具: createFunction
  2. 传入参数: 上述参数信息
  3. 出现错误

期望行为

[请描述您期望的正确行为]

其他信息

[如有其他相关信息,请在此补充]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions