Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ForgeChat Agent Builder — MCP server

An MCP server that lets you build and manage ForgeChat WhatsApp AI agents from Claude Desktop (or any MCP client). It talks to the ForgeChat backend's bearer-authed MCP API (/api/mcp/v1).

It exposes discovery tools (list your real WhatsApp numbers, AI models, Google spreadsheets, tabs, media and templates) and mutation tools (create / update / delete agents and tools), plus a create-forgechat-agent prompt that walks you through the setup questions.

Install

cd /root/FORGECHAT/mcp-server
npm install

Configure Claude Desktop

  1. In ForgeChat, go to Admin Settings → MCP Tools. Turn on the master switch and the capabilities you want, then Generate key and copy the fck_live_… value (shown once).
  2. Open Claude Desktop → Settings → Developer → Edit Config (or edit the file directly):
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add:
{
  "mcpServers": {
    "forgechat-agents": {
      "command": "node",
      "args": ["/root/FORGECHAT/mcp-server/src/index.js"],
      "env": {
        "FORGECHAT_API_URL": "https://crm.srv879786.hstgr.cloud/api/mcp/v1",
        "FORGECHAT_API_KEY": "fck_live_PASTE_YOUR_KEY"
      }
    }
  }
}
  1. Fully quit and reopen Claude Desktop. The forgechat-agents tools and the create-forgechat-agent prompt will appear.
  2. Say “create a ForgeChat agent” — it will ask you the setup questions.

If Claude Desktop runs on a different machine than the server, point FORGECHAT_API_URL at the public domain (above). The bearer key works over the internet; the ForgeChat login cookie is not involved.

Claude Desktop Project

For a dedicated project, use:

Name: ForgeChat Agent Builder

Description: Build and manage ForgeChat WhatsApp AI agents through conversation. I ask what you need, look up your real WhatsApp numbers, AI models, Google Sheets, media and templates, then create a fully-configured agent for you — no dashboard required.

Custom instructions: see the create-forgechat-agent prompt (the same guided flow), or copy it from the project plan.

Develop / debug

FORGECHAT_API_URL=… FORGECHAT_API_KEY=… npm run inspect   # MCP Inspector

Tools

Discovery: list_wa_accounts, list_models, search_spreadsheets, list_sheet_tabs, list_media, list_templates, list_agents, get_agent.

Mutation: create_agent, update_agent, add_google_sheets_tool, add_tool, update_tool, delete_tool, delete_agent.

Each capability is gated by the toggles in Admin Settings → MCP Tools — a disabled capability returns a 403 the assistant will relay.