Skip to main content
Glama

MCP Git Server

by MementoRC
token_limits.json3.37 kB
{ "token_limits": { "description": "Token limit configuration for MCP Git Server", "core_limits": { "llm_token_limit": 20000, "human_token_limit": 0, "unknown_token_limit": 25000 }, "features": { "enable_content_optimization": true, "enable_intelligent_truncation": true, "enable_client_detection": true, "add_truncation_warnings": true, "enable_response_caching": false }, "client_detection": { "force_client_type": "", "client_detection_headers": ["user-agent", "x-client-type"], "llm_indicators": ["claude", "gpt", "openai", "anthropic", "llm", "ai-assistant", "chatgpt"] }, "performance": { "max_processing_time_ms": 100, "enable_metrics_collection": true, "log_truncation_events": true }, "operation_limits": { "git_diff": 25000, "git_diff_unstaged": 25000, "git_diff_staged": 25000, "git_diff_branches": 30000, "git_show": 25000, "git_log": 15000, "git_status": 10000, "github_get_pr_files": 20000, "github_get_pr_details": 15000, "github_list_pull_requests": 10000 }, "content_optimization": { "remove_emojis_for_llm": true, "simplify_error_messages": true, "add_structure_markers": false, "include_content_summaries": false, "preserve_technical_details": true }, "truncation_strategies": { "diff_preserve_headers": true, "diff_max_files_shown": 10, "log_prefer_recent_commits": true, "log_max_commits_shown": 20, "status_prioritize_staged": true, "generic_preserve_line_boundaries": true } }, "profiles": { "conservative": { "llm_token_limit": 15000, "unknown_token_limit": 18000, "enable_content_optimization": true, "add_truncation_warnings": true }, "balanced": { "llm_token_limit": 20000, "unknown_token_limit": 25000, "enable_content_optimization": true, "enable_intelligent_truncation": true }, "aggressive": { "llm_token_limit": 30000, "unknown_token_limit": 35000, "enable_content_optimization": false, "add_truncation_warnings": false }, "development": { "llm_token_limit": 50000, "unknown_token_limit": 50000, "enable_content_optimization": false, "enable_intelligent_truncation": false, "enable_response_caching": true } }, "environment_variables": { "description": "Environment variables that can override these settings", "variables": [ "MCP_GIT_LLM_TOKEN_LIMIT", "MCP_GIT_HUMAN_TOKEN_LIMIT", "MCP_GIT_UNKNOWN_TOKEN_LIMIT", "MCP_GIT_ENABLE_OPTIMIZATION", "MCP_GIT_ENABLE_TRUNCATION", "MCP_GIT_ENABLE_CLIENT_DETECTION", "MCP_GIT_ADD_TRUNCATION_WARNINGS", "MCP_GIT_MAX_PROCESSING_TIME_MS", "MCP_GIT_FORCE_CLIENT_TYPE", "MCP_GIT_REMOVE_EMOJIS", "MCP_GIT_SIMPLIFY_ERRORS" ], "operation_limit_variables": { "description": "Set operation-specific limits with MCP_GIT_OPERATION_LIMIT_{OPERATION}", "examples": [ "MCP_GIT_OPERATION_LIMIT_GIT_DIFF=30000", "MCP_GIT_OPERATION_LIMIT_GIT_LOG=10000", "MCP_GIT_OPERATION_LIMIT_GIT_STATUS=5000" ] } } }

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/MementoRC/mcp-git'

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