response_formatter.py 1.0 KB

12345678910111213141516171819202122232425
  1. """
  2. -----------------------------------------------------------------------------------------
  3. INTERSEL - 4 cité d'Hauteville - 75010 PARIS
  4. RCS PARIS 488 379 660 - NAF 721Z
  5. File : mcp/response_formatter.py
  6. Object : Response formatter for the MCP server
  7. -----------------------------------------------------------------------------------------
  8. Modifications :
  9. - 2026/01/16 - Damien Lugagne-Delpon - V1.0.0- Creation
  10. -----------------------------------------------------------------------------------------
  11. @copyright : Intersel 2026
  12. @author : Damien Lugagne-Delpon - damien.lugagne-delpon@livinweb.fr
  13. @version : 1.0.0 (to be updated to the current_version of the developed software if file is touched)
  14. -----------------------------------------------------------------------------------------
  15. """
  16. class ResponseFormatter:
  17. """Response formatter for the MCP server."""
  18. def format_response(self, response: dict) -> str:
  19. """Format the response into a string."""
  20. formatted_response = dict()
  21. return formatted_response