# Start Redstring first
npm run dev
# In another terminal, run the AI Connection Wizard
npm run ai-wizardThe AI Connection Wizard automates the entire process of connecting Redstring to AI services like Claude Desktop and Tome:
- Detects Redstring - Checks if Redstring is running on localhost:4000
- Starts Bridge Server - Launches the HTTP bridge on localhost:3001
- Starts MCP Server - Launches the MCP server for AI communication
- Detects AI Clients - Finds Claude Desktop, Tome, and other MCP clients
- Provides Instructions - Shows exactly how to configure each AI client
- Monitors Status - Real-time status of all connections
The wizard will guide you through configuring your AI client:
- Open Claude Desktop
- Go to Settings > Local MCP Servers
- Add new server:
- Command:
node - Args:
/path/to/redstringuireact/redstring-mcp-server.js
- Command:
- Restart Claude Desktop
- Open Tome
- Go to Settings > MCP Servers
- Add new server:
- Command:
node /path/to/redstringuireact/redstring-mcp-server.js
- Command:
- Test the connection
Once connected, your AI can use these tools:
list_available_graphs- See all your knowledge graphsget_active_graph- Get info about the current graphopen_graph- Open a specific graphset_active_graph- Switch to a different graphadd_node_prototype- Create new node typesadd_node_instance- Add nodes to graphs
┌─────────────────┐ HTTP POST ┌─────────────────┐ HTTP GET ┌─────────────────┐
│ Redstring │ ────────────────► │ Bridge │ ────────────────► │ MCP Server │
│ (Browser) │ │ (server.js) │ │ (Node.js) │
│ localhost:4000│ │ localhost:3001│ │ (STDIO) │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │ │
│ │ │
▼ ▼ ▼
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Zustand │ │ Express.js │ │ Claude │
│ Store │ │ API Server │ │ Desktop │
│ (React) │ │ (Node.js) │ │ (MCP Client) │
└─────────────────┘ └─────────────────┘ └─────────────────┘
- Make sure Redstring is running:
npm run dev - Check that it's on localhost:4000
- This is normal! The wizard detected an existing bridge
- The wizard will use the existing bridge
- Check if another MCP server is running
- Kill existing processes:
pkill -f "redstring-mcp-server" - Restart the wizard
- Install Claude Desktop or Tome
- The wizard will detect them automatically
For production, you can:
- Single Server: Deploy everything on one server
- Docker: Containerize the entire stack
- Microservices: Split bridge and MCP server into separate services
- WebSocket Bridge: Replace HTTP with WebSockets for real-time updates
# Start the wizard
npm run ai-wizard
npm run ai-connect
# Start everything (Redstring + Bridge)
npm run dev:full
# Start just the bridge server
npm run server- Start Redstring:
npm run dev - Run Wizard:
npm run ai-wizard - Configure AI Client: Follow wizard instructions
- Start AI Collaboration: Use MCP tools in your AI client
- Monitor: Watch the real-time status display
The wizard makes the entire AI connection process one command away! 🚀