Skip to main content
Glama

Oura Ring MCP Server

by JamesLouie
inspector-demo.ts•2.79 kB
#!/usr/bin/env node /** * MCP Inspector Demo * * This script demonstrates how to use the MCP Inspector with your Oura Ring MCP server. * Run this to see step-by-step instructions for using the inspector. */ console.log('šŸ” MCP Inspector Demo for Oura Ring MCP Server'); console.log('===============================================\n'); console.log('The MCP Inspector is the official debugging tool for MCP servers.'); console.log('It provides a web interface to test your tools, browse resources, and debug issues.\n'); console.log('šŸ“‹ Step-by-step Instructions:'); console.log('1. Make sure you have a valid OURA_ACCESS_TOKEN in your .env file'); console.log('2. Build your server: npm run build'); console.log('3. Start the inspector: npm run inspector'); console.log('4. Open your browser to: http://localhost:5173'); console.log('5. The inspector will connect to your server automatically\n'); console.log('šŸ› ļø What you can test:'); console.log('• Personal Info: get_personal_info (no parameters needed)'); console.log('• Sleep Data: get_sleep with date range like {"start_date": "2024-01-01", "end_date": "2024-01-07"}'); console.log('• Activity Data: get_activity with the same date parameters'); console.log('• Readiness: get_readiness with date range'); console.log('• Heart Rate: get_heart_rate with date range'); console.log('• Daily Summaries: get_daily_sleep, get_daily_activity, get_daily_readiness'); console.log('• Workouts: get_workouts with date range'); console.log('• Sessions: get_sessions with date range'); console.log('• All 17+ tools available in your server\n'); console.log('šŸ“Š Inspector Features:'); console.log('• Real-time tool testing with custom inputs'); console.log('• JSON schema validation for parameters'); console.log('• Response formatting and syntax highlighting'); console.log('• Server connection status monitoring'); console.log('• Error debugging with detailed messages'); console.log('• Resource browsing and content viewing\n'); console.log('šŸš€ Quick Start Commands:'); console.log('npm run build # Build the server'); console.log('npm run inspector # Start inspector (production)'); console.log('npm run inspector:dev # Start inspector (development)\n'); console.log('šŸ’” Pro Tips:'); console.log('• Use recent dates (last 30 days) for testing'); console.log('• Start with get_personal_info to verify connection'); console.log('• Use small date ranges to avoid large responses'); console.log('• Check the Network tab in browser DevTools for API debugging'); console.log('• The inspector runs both a UI (port 5173) and proxy (port 3000)\n'); console.log('šŸ“– For detailed documentation, see: INSPECTOR.md'); console.log('āœ… Ready to explore your Oura Ring MCP server!');

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JamesLouie/oura-ring-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server