eliu243-oura-mcp-server-2
Connect your Oura Ring account to enable secure, authenticated access in your workflows. Generate鈥�
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
Oura Ring OAuth2 MCP Server
Complete Oura Ring integration with OAuth2 authentication and sleep data access using FastMCP and Smithery.
# Setup
- Install dependencies:
uv sync
- Test locally:
uv run playground
# MCP Tools
# # OAuth2 Authentication
get_auth_url- Get OAuth2 authorization URLexchange_code- Exchange code for access token (auto-stores token)parse_redirect_url- Parse redirect URL and auto-extract token (smoother UX)set_access_token- Manually set access token (backup method)
# # Sleep Data
get_sleep_last_night- Get sleep data from last nightget_sleep_last_week- Get sleep data from past week with average scoreget_sleep_by_date- Get sleep data for specific date (YYYY-MM-DD)
# Usage
# # 1. OAuth2 Authentication
- Set session configuration with your Oura API credentials (
client_id,client_secret,redirect_uri) - Call
get_auth_urlto get authorization URL - Visit URL and authorize
- Copy the entire redirect URL
- Use
parse_redirect_urlwith the full URL (auto-extracts and stores token)
# # 2. Access Sleep Data
Once authenticated, use any sleep data tool:
- "What was my sleep score last night?"
- "Show me my sleep data from the past week"
- "Get my sleep data for 2024-10-01"
# Session Configuration
Set these in Smithery dashboard:
client_id- Oura API client ID (required)client_secret- Oura API client secret (required)redirect_uri- OAuth2 redirect URI (default: http://localhost:8080/callback)access_token- Auto-populated after OAuth2 authentication
# Deploy
Push to GitHub and deploy via Smithery dashboard.