get_server_info
Retrieve details about CSV Editor's data processing capabilities, including supported operations for manipulation, analysis, and validation of large files.
Instructions
Get information about the CSV Editor capabilities.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/csv_editor/server.py:57-91 (handler)The handler function for the 'get_server_info' tool. It is decorated with @mcp.tool for registration and returns detailed information about the server's name, version, description, capabilities across various categories, supported formats, and configuration settings like max file size and session timeout.@mcp.tool async def get_server_info(ctx: Context) -> Dict[str, Any]: """Get information about the CSV Editor capabilities.""" if ctx: await ctx.info("Server information requested") return { "name": "CSV Editor", "version": "1.0.0", "description": "A comprehensive MCP server for CSV file operations and data analysis", "capabilities": { "data_io": [ "load_csv", "load_csv_from_url", "load_csv_from_content", "export_csv", "multiple_export_formats" ], "data_manipulation": [ "filter_rows", "sort_data", "select_columns", "rename_columns", "add_column", "remove_columns", "change_column_type", "fill_missing_values", "remove_duplicates" ], "data_analysis": [ "get_statistics", "correlation_matrix", "group_by_aggregate", "value_counts", "detect_outliers", "profile_data" ], "data_validation": [ "validate_schema", "check_data_quality", "find_anomalies" ], "session_management": [ "multi_session_support", "session_isolation", "auto_cleanup" ] }, "supported_formats": ["csv", "tsv", "json", "excel", "parquet", "html", "markdown"], "max_file_size_mb": int(os.getenv("CSV_MAX_FILE_SIZE", "1024")), "session_timeout_minutes": int(os.getenv("CSV_SESSION_TIMEOUT", "60")) }