Add pgpt-mcp-server: Enhanced PrivateGPT MCP Server with API v1.3 integration#13
Open
elswa-dev wants to merge 5 commits into
Open
Add pgpt-mcp-server: Enhanced PrivateGPT MCP Server with API v1.3 integration#13elswa-dev wants to merge 5 commits into
elswa-dev wants to merge 5 commits into
Conversation
…egration - Add comprehensive PrivateGPT API v1.3 compatibility - Implement dual authentication system (proxy + Bearer token) - Add complete CRUD operations for sources with markdown formatting - Add user management (create, edit, delete users) - Add group management (list, create, delete groups) - Add RAG-enabled chat with group-specific knowledge bases - Add conversation continuation and chat history - Version 1.4.0 with comprehensive tool documentation - Enhance error handling and API response mapping - Support for any MCP client (not just Claude Desktop) Tested features: ✅ User creation and editing ✅ Source lifecycle (create, get, edit, delete) ✅ Group listing and source management ✅ RAG chat with knowledge base integration ✅ Authentication and token management
- Complete MCP server implementation with 15 tools - Dual authentication system (proxy + Bearer token) - Comprehensive error handling and logging - Support for all PrivateGPT API v1.3 endpoints - RAG-enabled chat with group-specific knowledge bases - Full CRUD operations for sources, groups, and users
- Complete API type definitions with validation functions - PGPTService class with authentication and error handling - Modular architecture for maintainability - Type-safe interfaces for all API operations
- Complete setup and installation instructions - Detailed tool documentation with TypeScript interfaces - MCP client configuration examples - API integration details and security information - Development guidelines and project structure - Troubleshooting guide and error handling - Generic for any MCP client (not just Claude Desktop)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Adds a comprehensive PrivateGPT MCP Server implementation with full API v1.3 compatibility.
Features
Key Tools
chat,continue_chat,get_chat- Conversation managementcreate_source,edit_source,delete_source,get_source,list_sources- Knowledge managementlist_groups,create_group,delete_group- Group managementcreate_user,edit_user,delete_user- User managementlogout- Session managementFiles Added
Testing
✅ All features tested with live PrivateGPT instance
✅ User/source/group CRUD operations
✅ RAG chat with knowledge bases
✅ Authentication and error handling
Version: 1.4.0 | License: MIT | Node.js: 18+