Spaces:
Sleeping
Sleeping
|
Download README.md from Recovery-Compass-79/README: direct link, hf CLI and curl.
- Browser
- Download file 3.78 kB
-
https://huggingface.co/spaces/Recovery-Compass-79/README/resolve/main/README.md
- Command line
-
hf download hf://spaces/Recovery-Compass-79/README/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Recovery-Compass-79/README/resolve/main/README.md
3.78 kB
| title: Recovery Compass MCP Hub | |
| emoji: π§ | |
| colorFrom: purple | |
| colorTo: blue | |
| sdk: docker | |
| pinned: true | |
| license: mit | |
| tags: | |
| - mcp | |
| - recovery | |
| - mental-health | |
| - support | |
| - ai-assistant | |
| # π§ Recovery Compass MCP Hub | |
| **AI-Powered Recovery Support with Hugging Face MCP Integration** | |
| ## π Features | |
| - **π MCP Server Integration** - Full Model Context Protocol support for AI assistants | |
| - **π€ AI Chat Support** - 24/7 recovery guidance and support | |
| - **π Semantic Search** - Find recovery resources, research papers, and support tools | |
| - **π Progress Tracking** - Monitor your recovery journey with AI insights | |
| - **π OAuth Login** - Secure authentication with Hugging Face | |
| - **π REST API** - Complete API for integration with other services | |
| ## π Quick Start | |
| ### Access the Space | |
| Visit [https://huggingface.co/spaces/Recovery-Compass-79/README](https://huggingface.co/spaces/Recovery-Compass-79/README) | |
| ### API Endpoints | |
| - **`GET /`** - Welcome page with OAuth login | |
| - **`GET /health`** - Health check endpoint | |
| - **`GET /mcp`** - MCP server capabilities | |
| - **`GET /api/search?query={text}`** - Search HF resources | |
| - **`GET /api/models?task={task}`** - List ML models | |
| - **`GET /api/datasets?task={task}`** - List datasets | |
| - **`GET /api/spaces`** - List recovery-related Spaces | |
| - **`POST /api/chat`** - AI chat endpoint | |
| ### Example API Call | |
| ```bash | |
| # Search for recovery-related resources | |
| curl "https://Recovery-Compass-79-README.hf.space/api/search?query=mental%20health" | |
| # Get health check | |
| curl "https://Recovery-Compass-79-README.hf.space/health" | |
| # Chat with AI | |
| curl -X POST "https://Recovery-Compass-79-README.hf.space/api/chat" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"message": "I need support today"}' | |
| ``` | |
| ## π§ MCP Integration | |
| This Space serves as an MCP server providing: | |
| 1. **Semantic Search Tools** - Find AI apps, papers, and documentation | |
| 2. **Model Access** - Discover and use ML models | |
| 3. **Dataset Tools** - Access recovery and mental health datasets | |
| 4. **Space Integration** - Connect to other support Spaces | |
| 5. **Progress Tracking** - Monitor recovery metrics | |
| ### Connect with MCP Clients | |
| Add this to your MCP client configuration: | |
| ```json | |
| { | |
| "mcpServers": { | |
| "recovery-compass": { | |
| "url": "https://huggingface.co/spaces/Recovery-Compass-79/README", | |
| "oauth": true | |
| } | |
| } | |
| } | |
| ``` | |
| ## π OAuth Setup | |
| 1. Visit the Space homepage | |
| 2. Click "Login with Hugging Face" | |
| 3. Authorize the application | |
| 4. Start using MCP tools | |
| ## π οΈ Local Development | |
| ```bash | |
| # Clone the repository | |
| git clone https://huggingface.co/spaces/Recovery-Compass-79/README | |
| # Install dependencies | |
| pip install -r requirements.txt | |
| # Run locally | |
| uvicorn app:app --host 0.0.0.0 --port 7860 | |
| ``` | |
| ## π Documentation | |
| - [Hugging Face MCP Server](https://huggingface.co/mcp) | |
| - [FastAPI Documentation](https://fastapi.tiangolo.com/) | |
| - [Model Context Protocol](https://modelcontextprotocol.io/) | |
| ## π€ Contributing | |
| Contributions are welcome! This is an open-source recovery support tool. | |
| ## π License | |
| MIT License - feel free to use and modify for your own recovery support projects. | |
| ## β οΈ Disclaimer | |
| This is an AI-powered support tool and should not replace professional medical or mental health care. If you're in crisis, please contact: | |
| - National Suicide Prevention Lifeline: 988 | |
| - Crisis Text Line: Text HOME to 741741 | |
| - Emergency Services: 911 | |
| ## π About Recovery Compass | |
| Recovery Compass is an AI-powered platform designed to support individuals on their recovery journey. By integrating with Hugging Face's MCP ecosystem, we provide access to cutting-edge AI models, datasets, and tools to enhance recovery support. | |
| --- | |
| Built with β€οΈ using Hugging Face, FastAPI, and Model Context Protocol | |