5-Minute Setup Overview
Prerequisites
Before you begin, make sure you have:- An MCP-compatible tool server (or use one of our examples)
- An AI agent or client that can connect to MCP servers
- An Agentflare account (sign up here)
Quick Setup
Step 1: Create Your Account
- Go to app.agentflare.com
- Sign up for a free account
- Verify your email address
Step 2: Add Your Tool Server
Navigate to Dashboard → Tool Servers → Add Server You can add a tool server in several ways:- HTTP/HTTPS Server
- WebSocket Server
- Stdio Server
Step 3: Get Your Proxy URL
After adding your tool server, Agentflare will generate a unique proxy URL:Step 4: Configure Your Agent
Update your AI agent or MCP client to use the Agentflare proxy URL:- Standard MCP Client
- Environment Variables
- Configuration File
Step 5: View Your Data
Once configured, navigate to your Agentflare dashboard to see:Live Tool Calls
Real-time feed of all tool invocations
Tool Reasoning
See why agents selected specific tools
Performance Metrics
Latency, throughput, and error rates
Cost Tracking
Track API costs per tool and session
What Gets Tracked?
Agentflare automatically captures:- Tool calls - Every tool invocation with arguments and results
- Reasoning - Why the agent selected each tool (when provided)
- Performance - Latency, throughput, error rates
- Cost - API costs per call, session, and model
- Metadata - Confidence scores, alternatives considered, context
Enhanced Observability (Optional)
For even richer insights, add reasoning metadata to your tool calls:Reasoning metadata is optional but highly recommended. It enables Agentflare’s advanced features like reasoning analysis, decision trees, and pattern detection.
Example: Complete Setup
Here’s a complete example showing the full integration:Next Steps
Features Overview
Explore all observability features
MCP Proxy Setup
Advanced proxy configuration
Tool Reasoning
Learn about reasoning capture
Best Practices
Optimization techniques
Troubleshooting
Connection Issues
Connection Issues
If you’re having trouble connecting:
- Verify your proxy URL is correct
- Check your API key is valid and not expired
- Ensure your network allows outbound HTTPS
- Check the Agentflare status page
Missing Data
Missing Data
If tool calls aren’t appearing in the dashboard:
- Verify the proxy URL is being used
- Check API key is included in headers
- Look for errors in your application logs
- Ensure your tool server is responding correctly
Performance Impact
Performance Impact
Agentflare is designed for minimal overhead:
- Asynchronous data collection
- Batched exports
- < 1ms latency impact
- No blocking operations