Skip to content

Conversation

@gr8nishan
Copy link
Collaborator

@gr8nishan gr8nishan commented Apr 26, 2025

Integration of MCP Server

Overview

This PR introduces the integration of the MCP (Model Control Protocol) server into the Pebblo application, enhancing its capabilities for sensitive data detection and classification.

Key Changes

  1. MCP Server Integration

    • Added FastApiMCP integration to the main service configuration
    • Implemented new endpoints for sensitive data classification and reporting
    • Configured MCP server with descriptive metadata and operation specifications
  2. New Endpoints

    • Added /scan endpoint for sensitive data report generation
  3. Dependencies Update

    • Updated Python requirement to >=3.12.0
    • Added new dependencies:
      • mcp==1.6.0 and related packages
      • fastapi-mcp==0.3.3
      • fastmcp==2.2.2
    • Updated existing dependencies to latest compatible versions

Technical Details

  • The MCP server is configured to handle two main operations:
    • get_sensitive_data_report: For scanning folders and generating reports
    • classify_data_api_v1_classify_post: For data classification
  • Added comprehensive error handling and logging
  • Implemented file system operations with proper path handling

Impact

This integration significantly enhances Pebblo's capabilities in:

  • Sensitive data detection
  • Automated classification
  • Report generation
  • System integration through standardized protocols

@gr8nishan gr8nishan requested a review from srics April 26, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant