Framer Plugin MCP Server

Framer Plugin MCP Server

一个用于创建和管理具有web3功能的Framer插件的模型上下文协议(MCP)服务器。

概述

这是一个 Model Context Protocol (MCP) 服务器,用于创建和管理具有 web3 功能的 Framer 插件,支持钱包连接、合约交互和 NFT 显示等功能。

安装

# 克隆仓库
git clone https://github.com/sheshiyer/framer-plugin-mcp.git
cd framer-plugin-mcp

# 安装依赖
npm install

# 构建服务器
npm run build

配置

将服务器添加到您的 MCP 设置文件中:

Claude 桌面应用程序:

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

Cursor/Claude 开发环境:

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

核心功能

创建插件

创建具有 web3 功能的新 Framer 插件项目:

{
  "name": "my-web3-plugin",
  "description": "具有 web3 功能的 Framer 插件",
  "outputPath": "./plugins/my-web3-plugin",
  "web3Features": ["wallet-connect", "nft-display"]
}

构建插件

为生产构建插件:

{
  "pluginPath": "./plugins/my-web3-plugin"
}

系统要求

  • Node.js 16+
  • NPM 或 Yarn
  • Framer 桌面应用程序

许可证

MIT