Skip to main content
Glama
by LeGenAI
CHANGELOG-v3.mdโ€ข5.15 kB
# CHANGELOG - Enhanced MCP-MAGMA-Handbook v3.0 ## ๐Ÿš€ Version 3.0.0 - 2025-01-06 ### โœจ Major New Features #### 1. **Multi-Query Search Engine** - **์ž๋™ ์ฟผ๋ฆฌ ํ™•์žฅ**: ์‚ฌ์šฉ์ž ์งˆ๋ฌธ์„ 3-5๊ฐœ์˜ ๋‹ค์–‘ํ•œ ๊ด€์ ์œผ๋กœ ํ™•์žฅ - **GPT-4o-mini ํ™œ์šฉ**: ๋” ์ •ํ™•ํ•œ ์ฟผ๋ฆฌ ์ƒ์„ฑ์œผ๋กœ ๊ฒ€์ƒ‰ ์„ฑ๋Šฅ ๋Œ€ํญ ํ–ฅ์ƒ - **LangConnect ๋ฐฉ์‹ ๋„์ž…**: ์ตœ์‹  RAG ๋ฐฉ๋ฒ•๋ก  ์ ์šฉ #### 2. **Hybrid Search System** - **Semantic Search**: Vector ์œ ์‚ฌ๋„ ๊ธฐ๋ฐ˜ ์˜๋ฏธ ๊ฒ€์ƒ‰ - **Keyword Search**: PostgreSQL full-text search ํ™œ์šฉ - **Hybrid Search**: ์‹œ๋งจํ‹ฑ + ํ‚ค์›Œ๋“œ ๊ฒ€์ƒ‰์„ ๊ฐ€์ค‘ํ‰๊ท ์œผ๋กœ ๊ฒฐํ•ฉ - **๋™์  ๊ฒ€์ƒ‰ ํƒ€์ž…**: ์š”์ฒญ์— ๋”ฐ๋ผ ๊ฒ€์ƒ‰ ๋ฐฉ์‹ ์„ ํƒ ๊ฐ€๋Šฅ #### 3. **Collection Management** - **์ปฌ๋ ‰์…˜ ์‹œ์Šคํ…œ**: ์ฃผ์ œ๋ณ„ ๋ฌธ์„œ ๋ถ„๋ฅ˜ ๋ฐ ๊ด€๋ฆฌ - **๊ธฐ๋ณธ ์ปฌ๋ ‰์…˜**: MAGMA Handbook, Personal Notes, Research Papers, Code Examples - **CRUD ์ž‘์—…**: ์ปฌ๋ ‰์…˜ ์ƒ์„ฑ, ์กฐํšŒ, ์‚ญ์ œ ์ง€์› - **๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์ง€์›**: ์ปฌ๋ ‰์…˜๋ณ„ ์ƒ์„ธ ์ •๋ณด ๊ด€๋ฆฌ #### 4. **Conversation Storage** - **๋Œ€ํ™” ์ €์žฅ**: AI์™€์˜ ์œ ์šฉํ•œ ๋Œ€ํ™” ๋‚ด์šฉ์„ ์ง€์‹๋ฒ ์ด์Šค์— ์ €์žฅ - **์ž๋™ ์ฒญํ‚น**: ์ €์žฅ๋œ ๋Œ€ํ™”๋Š” ์ž๋™์œผ๋กœ ๊ฒ€์ƒ‰ ๊ฐ€๋Šฅํ•œ ํ˜•ํƒœ๋กœ ์ฒ˜๋ฆฌ - **๋ฉ”ํƒ€๋ฐ์ดํ„ฐ**: ๋Œ€ํ™” ์ œ๋ชฉ, ์ €์žฅ ์‹œ๊ฐ„ ๋“ฑ ์ž๋™ ํƒœ๊น… #### 5. **Enhanced Database Schema** - **Collections ํ…Œ์ด๋ธ”**: UUID ๊ธฐ๋ฐ˜ ์ปฌ๋ ‰์…˜ ๊ด€๋ฆฌ - **๊ฐœ์„ ๋œ Documents ํ…Œ์ด๋ธ”**: ์ปฌ๋ ‰์…˜ ์ฐธ์กฐ ๋ฐ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์ง€์› - **Performance Indexes**: GIN, IVFFlat ์ธ๋ฑ์Šค๋กœ ๊ฒ€์ƒ‰ ์„ฑ๋Šฅ ์ตœ์ ํ™” - **Hybrid Search Functions**: PostgreSQL ํ•จ์ˆ˜๋กœ ํ•˜์ด๋ธŒ๋ฆฌ๋“œ ๊ฒ€์ƒ‰ ๊ตฌํ˜„ ### ๐Ÿ”ง Technical Improvements #### **Search Performance** - **Multi-query deduplication**: ์ค‘๋ณต ๊ฒฐ๊ณผ ์ œ๊ฑฐ ๋ฐ ์ ์ˆ˜ ์žฌ์กฐ์ • - **Query frequency scoring**: ์—ฌ๋Ÿฌ ์ฟผ๋ฆฌ์—์„œ ๋ฐœ๊ฒฌ๋œ ๋ฌธ์„œ ๊ฐ€์‚ฐ์  - **Configurable weights**: ์‹œ๋งจํ‹ฑ/ํ‚ค์›Œ๋“œ ๊ฒ€์ƒ‰ ๊ฐ€์ค‘์น˜ ์กฐ์ • ๊ฐ€๋Šฅ #### **Error Handling** - **Graceful fallback**: Multi-query ์‹คํŒจ ์‹œ ๋‹จ์ผ ์ฟผ๋ฆฌ๋กœ ์ž๋™ ์ „ํ™˜ - **Connection resilience**: ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์—ฐ๊ฒฐ ์˜ค๋ฅ˜ ๋ณต๊ตฌ - **Detailed logging**: ๋””๋ฒ„๊น…์„ ์œ„ํ•œ ์ƒ์„ธ ๋กœ๊น… #### **API Enhancements** - **Extended search parameters**: limit, search_type, use_multi_query ๋“ฑ - **Rich metadata**: ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ์— ์ ์ˆ˜, ๊ฒ€์ƒ‰ ํƒ€์ž… ๋“ฑ ์ถ”๊ฐ€ ์ •๋ณด - **Health status**: ์„œ๋ฒ„ ์ƒํƒœ ๋ฐ ๊ธฐ๋Šฅ ํ™•์ธ ๋„๊ตฌ ### ๐Ÿ“Š Performance Comparison | Feature | v2.2.0 | v3.0.0 | Improvement | |---------|--------|--------|-------------| | Search Accuracy | 84.7% | **~92%** | +7.3% | | Query Types | 1 (์›๋ณธ) | **3-5** (ํ™•์žฅ) | 3-5x | | Search Methods | 1 (semantic) | **3** (semantic/keyword/hybrid) | 3x | | Collections | 1 (MAGMA) | **Multiple** | Unlimited | | Conversation Storage | โŒ | **โœ…** | New | ### ๐ŸŽฏ Usage Examples #### **Basic Enhanced Search** ```javascript // ๊ธฐ๋ณธ ํ•˜์ด๋ธŒ๋ฆฌ๋“œ ๊ฒ€์ƒ‰ (multi-query ํ™œ์„ฑํ™”) search_magma({ query: "How to create polynomial rings in MAGMA?", search_type: "hybrid", use_multi_query: true, limit: 5 }) ``` #### **Collection Management** ```javascript // ์ปฌ๋ ‰์…˜ ๋ชฉ๋ก ์กฐํšŒ list_collections() // ์ƒˆ ์ปฌ๋ ‰์…˜ ์ƒ์„ฑ create_collection({ name: "Coding Theory", description: "Error correcting codes and cryptography" }) ``` #### **Conversation Storage** ```javascript // ์œ ์šฉํ•œ ๋Œ€ํ™” ์ €์žฅ save_conversation({ collection_id: "personal-notes", conversation: "User: MAGMA์—์„œ...\nAssistant: ...", title: "MAGMA Galois Field Tutorial" }) ``` ### ๐Ÿ”„ Migration from v2.2.0 #### **Database Migration** 1. Supabase SQL Editor์—์„œ `database-schema.sql` ์‹คํ–‰ 2. ๊ธฐ์กด documents ๋ฐ์ดํ„ฐ๋Š” ์ž๋™์œผ๋กœ 'magma-handbook' ์ปฌ๋ ‰์…˜์— ํ• ๋‹น #### **MCP Configuration Update** ```json { "mcpServers": { "magma-handbook": { "command": "npx", "args": ["mcp-magma-handbook@3.0.0"], "env": { "OPENAI_API_KEY": "your-key", "SUPABASE_URL": "your-url", "SUPABASE_KEY": "your-key" } } } } ``` ### ๐Ÿ› Bug Fixes - Fixed vector dimension mismatch issues - Improved error handling for missing API keys - Fixed concurrent search request handling - Resolved embedding model inconsistencies ### โš ๏ธ Breaking Changes - Main entry point changed from `src/index.js` to `enhanced-mcp-server.js` - Database schema requires migration (non-destructive) - Some search response formats have additional fields ### ๐Ÿ”ฎ Future Roadmap (v3.1.0) - **GUI Management Interface**: Web-based collection and document management - **Advanced Filtering**: Metadata-based search filtering - **Multi-language Support**: ํ•œ๊ตญ์–ด ๊ฒ€์ƒ‰ ์ตœ์ ํ™” - **Batch Document Upload**: ๋Œ€๋Ÿ‰ ๋ฌธ์„œ ์ผ๊ด„ ์ฒ˜๋ฆฌ - **Search Analytics**: ๊ฒ€์ƒ‰ ํŒจํ„ด ๋ถ„์„ ๋ฐ ์ตœ์ ํ™” --- ## Previous Versions ### Version 2.2.0 - 2024-12-XX - Advanced indexer with BM25 + Vector hybrid search - Quality benchmarking system - Improved relevance scoring ### Version 2.1.0 - 2024-12-XX - Enhanced search capabilities - Better error handling - Performance optimizations ### Version 2.0.0 - 2024-12-XX - Initial MCP server implementation - Basic vector search - MAGMA handbook indexing

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/LeGenAI/mcp-magma-handbook'

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