Skip to content

Commit fcd8f96

Browse files
authored
Update flameguardai.mdx
1 parent 1885d55 commit fcd8f96

File tree

1 file changed

+389
-0
lines changed

1 file changed

+389
-0
lines changed

docs/showcase/flameguardai.mdx

Lines changed: 389 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,392 @@ We’re proud to stand with homeowners — not just to raise awareness, but to e
161161

162162
Big thanks to **DevPost** and **Perplexity** for making this hackathon possible. Without the **Perplexity Sonar API**, this level of structured, trusted, AI-driven research would simply not be possible.
163163

164+
165+
# FlameGuardAI MCP Server Setup Guide
166+
167+
## Connect FlameGuardAI to Claude Desktop for AI-Powered Fire Risk Analysis
168+
169+
Transform Claude Desktop into a powerful fire risk assessment tool by connecting it to FlameGuardAI's remote MCP (Model Context Protocol) server. This integration allows you to analyze properties for fire risks, get detailed prevention recommendations, and access professional resources - all through natural conversation with Claude.
170+
171+
---
172+
173+
## 🔥 What You'll Get
174+
175+
With FlameGuardAI MCP integration, Claude can:
176+
177+
- **🏠 Analyze Property Fire Risks**: Describe your property and get comprehensive fire risk assessments
178+
- **📋 Generate Prevention Recommendations**: Receive detailed DIY solutions and professional guidance
179+
- **🛒 Find Local Resources**: Get information about material suppliers and professional services in your area
180+
- **📊 Create Assessment Reports**: Generate detailed reports with actionable fire prevention strategies
181+
- **🔍 Research Fire Safety**: Access specialized fire prevention research powered by Perplexity AI
182+
183+
---
184+
185+
## 📋 Prerequisites
186+
187+
Before you begin, make sure you have:
188+
189+
- **Claude Desktop App**: Download from [claude.ai](https://claude.ai/download) (latest version required)
190+
- **FlameGuardAI Account**: Sign up at [https://flameguardai.dlyog.com](https://flameguardai.dlyog.com)
191+
- **Node.js**: Download from [nodejs.org](https://nodejs.org/) (for the MCP proxy)
192+
- **Active Internet Connection**: Required for remote MCP server communication
193+
194+
> **💡 Note**: This integration works with Claude Desktop on Mac and Windows. The free Claude plan doesn't support MCP integrations - you'll need a Claude Pro, Team, or Enterprise subscription.
195+
196+
---
197+
198+
## 🚀 Step-by-Step Setup
199+
200+
### Step 1: Verify Your System Requirements
201+
202+
**Check if Node.js is installed:**
203+
```bash
204+
node --version
205+
npm --version
206+
```
207+
208+
If you don't see version numbers, [download and install Node.js](https://nodejs.org/).
209+
210+
**Verify Claude Desktop version:**
211+
- Open Claude Desktop
212+
- Go to Claude menu → About Claude
213+
- Ensure you have the latest version (MCP support requires recent versions)
214+
215+
### Step 2: Create FlameGuardAI Account
216+
217+
1. **Visit FlameGuardAI**: Go to [https://flameguardai.dlyog.com](https://flameguardai.dlyog.com)
218+
2. **Sign Up**: Create your account with a valid email address
219+
3. **Verify Email**: Check your inbox and verify your email address
220+
4. **Complete Profile**: Fill out your profile information
221+
222+
> **🔐 Important**: Remember your email address - you'll need it for MCP authentication.
223+
224+
### Step 3: Configure Claude Desktop
225+
226+
**1. Open Claude Desktop Configuration:**
227+
228+
**On Mac:**
229+
```bash
230+
open "~/Library/Application Support/Claude/claude_desktop_config.json"
231+
```
232+
233+
**On Windows:**
234+
- Go to: `%APPDATA%\Claude\claude_desktop_config.json`
235+
- Or: File → Settings → Developer → Edit Config
236+
237+
**2. Add FlameGuardAI MCP Server:**
238+
239+
If the file is empty or doesn't exist, create it with this content:
240+
241+
```json
242+
{
243+
"mcpServers": {
244+
"flameguard-ai": {
245+
"command": "npx",
246+
"args": [
247+
"mcp-remote",
248+
"https://mcp-flameguardai.dlyog.com/sse"
249+
]
250+
}
251+
}
252+
}
253+
```
254+
255+
If you already have other MCP servers configured, add the FlameGuardAI entry to your existing `mcpServers` object:
256+
257+
```json
258+
{
259+
"mcpServers": {
260+
"your-existing-server": {
261+
"command": "...",
262+
"args": ["..."]
263+
},
264+
"flameguard-ai": {
265+
"command": "npx",
266+
"args": [
267+
"mcp-remote",
268+
"https://mcp-flameguardai.dlyog.com/sse"
269+
]
270+
}
271+
}
272+
}
273+
```
274+
275+
**3. Save and Restart:**
276+
- Save the configuration file
277+
- Completely quit Claude Desktop (⌘+Q on Mac, Alt+F4 on Windows)
278+
- Reopen Claude Desktop
279+
280+
### Step 4: Verify the Connection
281+
282+
**1. Look for the Tools Icon:**
283+
After restarting Claude Desktop, you should see a 🔨 (hammer) icon in the bottom right corner of the input area.
284+
285+
**2. Check Available Tools:**
286+
Click the hammer icon to see the FlameGuardAI tools:
287+
- `request_auth_code` - Request email verification code
288+
- `authenticate_user` - Complete authentication with verification code
289+
- `fire_risk_deep_research` - Perform comprehensive fire risk analysis
290+
- `logout_user` - End your authentication session
291+
292+
**3. Test the Connection:**
293+
Try asking Claude: *"Can you help me set up FlameGuardAI fire risk analysis?"*
294+
295+
Claude should recognize the available tools and offer to help you get started.
296+
297+
---
298+
299+
## 🔐 Authentication Process
300+
301+
FlameGuardAI uses a secure email-based authentication system to protect your data and ensure you have a valid account.
302+
303+
### First-Time Authentication
304+
305+
**1. Request Authentication Code:**
306+
Ask Claude: *"I want to use FlameGuardAI. My email is [email protected]"*
307+
308+
Claude will use the `request_auth_code` tool and you'll see a message like:
309+
```
310+
✅ Authentication code sent successfully!
311+
📧 Email: [email protected]
312+
📨 A 6-digit verification code has been sent to your email address.
313+
```
314+
315+
**2. Check Your Email:**
316+
- Look for an email from FlameGuardAI with your 6-digit verification code
317+
- The code expires in 10 minutes
318+
319+
**3. Complete Authentication:**
320+
Tell Claude: *"My verification code is 123456"* (replace with your actual code)
321+
322+
Claude will use the `authenticate_user` tool and confirm:
323+
```
324+
✅ Authentication successful!
325+
326+
🔑 Session established
327+
⏰ Session active for this conversation
328+
```
329+
330+
### Session Management
331+
332+
- **Session Duration**: Your authentication session lasts for the current Claude conversation
333+
- **Re-authentication**: You'll need to authenticate again in new conversations
334+
- **Logout**: Use `logout_user` tool or simply start a new conversation
335+
336+
---
337+
338+
## 🏠 Using FlameGuardAI for Fire Risk Analysis
339+
340+
Once authenticated, you can perform comprehensive fire risk assessments using natural language.
341+
342+
### Basic Fire Risk Analysis
343+
344+
**Example Prompt:**
345+
> "Analyze my property for fire risks. I have a two-story wooden house with a cedar shake roof. There's dry vegetation within 30 feet of the house, and I'm located in ZIP code 90210, California."
346+
347+
**What Happens:**
348+
1. Claude recognizes this needs fire risk analysis
349+
2. Asks permission to use the `fire_risk_deep_research` tool
350+
3. Processes your property description
351+
4. Triggers comprehensive AI research using Perplexity API
352+
5. Provides immediate status and promises detailed email report
353+
354+
### Advanced Analysis with Context
355+
356+
**Example Prompt:**
357+
> "I need a detailed fire risk assessment for my property. Here are the details:
358+
>
359+
> - Location: 94102, San Francisco, CA
360+
> - Structure: 1920s Victorian home, wood frame construction
361+
> - Roofing: Asphalt shingles, gutters need cleaning
362+
> - Landscaping: Eucalyptus trees 20 feet from house, dry grass in backyard
363+
> - Surroundings: Dense urban neighborhood, nearby hills
364+
> - Specific concerns: Electrical panel is old, I noticed some exposed wiring
365+
>
366+
> I'm particularly worried about wildfire risk and want both DIY solutions and professional recommendations."
367+
368+
### What You'll Receive
369+
370+
**Immediate Response:**
371+
- Confirmation of analysis initiation
372+
- Assessment ID for tracking
373+
- Estimated completion time (5-8 minutes)
374+
375+
**Detailed Email Report Includes:**
376+
- **Risk Assessment Summary**: Overall fire risk level and key concerns
377+
- **Educational DIY Solutions**: Step-by-step fire prevention measures you can implement
378+
- **Professional Recommendations**: When to call experts and what services to seek
379+
- **Material Supplier Information**: Local suppliers for fire-resistant materials
380+
- **Permit and Safety Requirements**: Local regulations and compliance information
381+
- **Priority Action Items**: What to address first based on risk level
382+
383+
---
384+
385+
## 🛠️ Available Tools Reference
386+
387+
### `request_auth_code`
388+
**Purpose**: Request 6-digit verification code for authentication
389+
**Usage**: "Send me an authentication code for [email protected]"
390+
**Response**: Confirmation that code was sent to your email
391+
392+
### `authenticate_user`
393+
**Purpose**: Complete authentication with email and verification code
394+
**Usage**: "Authenticate me with email [email protected] and code 123456"
395+
**Response**: Session confirmation and access to fire risk tools
396+
397+
### `fire_risk_deep_research`
398+
**Purpose**: Perform comprehensive AI-powered fire risk analysis
399+
**Required**: Valid authentication, property description, ZIP code
400+
**Usage**: Describe your property and fire risk concerns in natural language
401+
**Response**: Analysis confirmation and promise of detailed email report
402+
403+
### `logout_user`
404+
**Purpose**: End authentication session
405+
**Usage**: "Log me out of FlameGuardAI"
406+
**Response**: Logout confirmation
407+
408+
---
409+
410+
## 🔧 Troubleshooting
411+
412+
### Tools Icon Not Appearing
413+
414+
**1. Check Node.js Installation:**
415+
```bash
416+
node --version
417+
npm --version
418+
```
419+
420+
**2. Test MCP Proxy:**
421+
```bash
422+
npx mcp-remote https://mcp-flameguardai.dlyog.com/sse
423+
```
424+
Should show "Proxy established successfully"
425+
426+
**3. Verify Configuration File:**
427+
- Check file location is correct
428+
- Ensure JSON syntax is valid (use a JSON validator)
429+
- Make sure you have the exact URLs as shown in this guide
430+
431+
**4. Check Claude Desktop Logs:**
432+
433+
**On Mac:**
434+
```bash
435+
ls ~/Library/Logs/Claude/
436+
tail -f ~/Library/Logs/Claude/mcp-server-flameguard-ai.log
437+
```
438+
439+
**On Windows:**
440+
- Check: `%LOCALAPPDATA%\Claude\logs\`
441+
442+
### Authentication Issues
443+
444+
**Problem**: "Authentication failed" messages
445+
446+
**Solutions:**
447+
1. **Verify Email**: Ensure you're using the exact email from your FlameGuardAI account
448+
2. **Check Verification Code**: Codes expire in 10 minutes - request a new one if needed
449+
3. **Account Status**: Make sure your FlameGuardAI account is active and verified
450+
451+
### Connection Problems
452+
453+
**Problem**: Cannot connect to FlameGuardAI server
454+
455+
**Solutions:**
456+
1. **Internet Connection**: Verify you have stable internet access
457+
2. **Firewall**: Check if your firewall is blocking the connection
458+
3. **Server Status**: Visit [https://flameguardai.dlyog.com](https://flameguardai.dlyog.com) to check if the service is online
459+
460+
### Analysis Not Working
461+
462+
**Problem**: Fire risk analysis fails or errors
463+
464+
**Solutions:**
465+
1. **Authentication**: Ensure you're properly authenticated in the current conversation
466+
2. **Property Description**: Provide detailed property information including ZIP code
467+
3. **Session Timeout**: Re-authenticate if your session has expired
468+
469+
---
470+
471+
## 💡 Best Practices
472+
473+
### Getting Better Analysis Results
474+
475+
**1. Provide Detailed Descriptions:**
476+
- Include specific construction materials (wood, stucco, metal, etc.)
477+
- Mention roofing type and condition
478+
- Describe surrounding vegetation and landscaping
479+
- Note any existing fire safety measures
480+
- Include specific concerns or observations
481+
482+
**2. Use Accurate Location Information:**
483+
- Provide correct 5-digit ZIP code
484+
- Mention state if outside California
485+
- Include relevant geographic features (hills, canyons, forests)
486+
487+
**3. Ask Specific Questions:**
488+
- "What are the top 3 fire risks for my property?"
489+
- "What DIY improvements can I make this weekend?"
490+
- "Do I need professional help for any of these issues?"
491+
- "What's the priority order for addressing these risks?"
492+
493+
### Managing Your Sessions
494+
495+
**1. Authentication:**
496+
- Authenticate once per conversation
497+
- Keep verification codes handy (save in notes app)
498+
- Log out when finished for security
499+
500+
**2. Multiple Analyses:**
501+
- You can analyze multiple properties in one session
502+
- Each analysis gets a unique assessment ID
503+
- Email reports are sent separately for each property
504+
505+
---
506+
507+
## 🆘 Getting Help
508+
509+
### FlameGuardAI Support
510+
- **Website**: [https://flameguardai.dlyog.com](https://flameguardai.dlyog.com)
511+
- **Email**: [email protected]
512+
- **Documentation**: Visit the website for additional resources
513+
514+
### Claude Desktop Support
515+
- **Help Center**: [https://support.anthropic.com](https://support.anthropic.com)
516+
- **MCP Documentation**: [Model Context Protocol](https://modelcontextprotocol.io)
517+
518+
### Technical Issues
519+
- **MCP Remote**: [mcp-remote on npm](https://www.npmjs.com/package/mcp-remote)
520+
- **Node.js Help**: [nodejs.org](https://nodejs.org/en/docs/)
521+
522+
---
523+
524+
## ⚡ Quick Start Checklist
525+
526+
- [ ] Claude Desktop installed and updated
527+
- [ ] Node.js installed (`node --version` works)
528+
- [ ] FlameGuardAI account created and verified
529+
- [ ] Configuration file updated with FlameGuardAI MCP server
530+
- [ ] Claude Desktop restarted
531+
- [ ] 🔨 Tools icon visible in Claude Desktop
532+
- [ ] Authentication completed with email verification
533+
- [ ] First fire risk analysis test completed
534+
535+
---
536+
537+
## 🔮 What's Next?
538+
539+
Once you have FlameGuardAI integrated with Claude Desktop, you can:
540+
541+
- **Regular Property Assessments**: Schedule periodic fire risk evaluations
542+
- **Seasonal Reviews**: Check fire safety before high-risk seasons
543+
- **Home Improvement Planning**: Use recommendations to plan fire safety upgrades
544+
- **Insurance Preparation**: Generate detailed reports for insurance reviews
545+
- **Community Education**: Share fire safety knowledge with neighbors
546+
547+
---
548+
549+
**🏠 Ready to protect your property? Start your fire risk analysis today!**
550+
551+
*This integration brings professional-grade fire risk assessment directly to your Claude Desktop conversations. Stay safe, stay protected with FlameGuardAI.*
552+

0 commit comments

Comments
 (0)