Wordware MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides search capabilities through the React Agent tool which can perform Google searches

  • Supports direct page saving to Notion through the Save to Notion tool

  • Used for generating zod schemas from Wordware flow information in the add-tool utility

Wordware MCP 服务器

模型上下文协议 (MCP) 服务器实现,可以将 Wordware 部署的流程集成为可在 Claude 对话中直接使用的工具。

特征

  • 通过 MCP 与 Claude 集成
  • 支持基本的 Wordware 工具,包括:
    • 研究创始人:全面的创始人分析和会议准备
    • 潜在客户拓展:销售前景研究和情报
    • 保存到 Notion:直接将页面保存到 Notion
    • React Agent:利用 Google 搜索和 API 功能解决任务

设置

1、修改根目录下的env.example.ts文件,将其设置为env.ts ,并设置里面的变量:

使用常规的.env文件似乎有点复杂,因为你还需要让这些变量在服务器环境变量(在 Claude Desktop 配置中)中可访问。如果你找到更好的解决方案,请回头再来研究这个问题。

  • OPENAI_API_KEY :您的 OpenAI API 密钥(在add-tool.ts中用于根据给定的 Wordware 流信息生成 zod 模式)
  • NOTION_SECRET :你的 Notion 秘密
  • NOTION_PARENT_PAGE_ID :要保存到的 Notion 页面的 ID
  • SAVE_TO_NOTION_APP_ID :您部署的 Save to Notion 应用程序的 ID
  • RESEARCH_FOUNDER_APP_ID :您部署的研究创始人应用程序的 ID
  • LEAD_ENRICHMENT_APP_ID :您部署的 Lead Enrichment 应用的 ID
  • REACT_AGENT_APP_ID :已部署的 React Agent 应用的 ID

要为saveToNotion工具设置 Notion,请按照此处的说明操作

如果您不想使用这 4 个工具中的某个,您可以将其对应的环境变量留空,这样该工具就不会被注册。

2.安装依赖项并构建服务器:

npm install npm run build-server

3. 使用 Claude for Desktop 测试服务器

您需要安装 Claude for Desktop 才能测试服务器。如果已安装,则需要修改配置文件以使用 MCP 服务器。运行以下命令打开配置文件(如果您使用 VSCode):

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

然后,将以下内容添加到文件中(确保将/ABSOLUTE/PATH/TO/PARENT/FOLDER/wordware/build/index.js替换为该存储库的build文件夹中index.js文件的绝对路径):

{ "mcpServers": { "wordware": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/PARENT/FOLDER/wordware/build/index.js"] } } }

4.使用add-tool命令(可选但推荐)

注意: add-tool命令仅在一些简单的 Wordware 流程上进行了测试。由于它依赖 OpenAI 生成架构,因此请务必在使用该工具之前验证其输出。

要运行该工具:

npm run add-tool

未来的改进

动态工具配置

目前,这些工具在服务器实现中是硬编码的。未来的改进应侧重于:

  • 使用 Wordware API 实现身份验证
  • 添加自动获取用户部署的功能
  • 确定哪些部署可以自动添加为 MCP 工具
  • 更好地支持复杂块(例如“询问人类”块)
  • 更好地处理工具调用的错误
-
security - not tested
F
license - not found
-
quality - not tested

模型上下文协议服务器实现将 Wordware 流作为工具直接集成到 Claude 对话中,支持创始人研究、潜在客户丰富、Notion 集成和使用 Google 搜索解决任务等功能。

  1. Features
    1. Setup
      1. 1. Modify the env.example.ts file in the root directory to set it to env.ts and set the variables inside:
      2. 2. Install dependencies and build the server:
      3. 3. Testing the server with Claude for Desktop
      4. 4. Using the add-tool command (optional but recommended)
    2. Future Improvements
      1. Dynamic Tool Configuration
    ID: 103bev7m4v