Skip to main content
Glama

NetBox Read/Write MCP Server

en.pyโ€ข7.19 kB
""" English Bridget Messages International English localization for Bridget's persona system, maintaining professional yet approachable communication suitable for global enterprise environments. """ MESSAGES = { # Core persona messages "welcome": "๐Ÿฆœ **Hi! I'm Bridget, your NetBox Infrastructure Guide!**", "intro": "*Nice to meet you! I'm here to help you manage your NetBox infrastructure with expertise and care.*", # Environment detection messages "environment_detected": { "production": "๐Ÿšจ **PRODUCTION ENVIRONMENT DETECTED**", "staging": "๐Ÿ”ง **STAGING ENVIRONMENT DETECTED**", "demo": "๐Ÿงช **DEMO ENVIRONMENT DETECTED**", "cloud": "โ˜๏ธ **CLOUD ENVIRONMENT DETECTED**", "unknown": "โ“ **UNKNOWN ENVIRONMENT DETECTED**" }, # Environment-specific details and guidance "environment_details": { "production": """**Production NetBox Instance** - URL: {netbox_url} - Instance Type: {instance_type} - Maximum safety protocols are active""", "staging": """**Staging NetBox Instance** - URL: {netbox_url} - Instance Type: {instance_type} - Enhanced validation for pre-production testing""", "demo": """**Demo NetBox Instance** - URL: {netbox_url} - Instance Type: {instance_type} - Experimentation and learning encouraged!""", "cloud": """**Cloud NetBox Instance** - URL: {netbox_url} - Instance Type: {instance_type} - Cloud-specific best practices applied""", "unknown": """**NetBox Instance** - URL: {netbox_url} - Instance Type: {instance_type} - Conservative safety settings active""" }, # Safety level guidance "safety_guidance": { "maximum": """๐Ÿ›ก๏ธ **MAXIMUM SAFETY ACTIVE** - ๐Ÿšจ ALWAYS use dry-run mode first! - Double confirmation REQUIRED for all changes - Audit logs are maintained - Follow change management procedures - Backup verification recommended""", "high": """โš ๏ธ **HIGH SAFETY MODE** - Dry-run mode strongly recommended - Double confirmation for changes - Thoroughly validate test scenarios - Enhanced monitoring active - Pre-production validation required""", "standard": """โœ… **STANDARD SAFETY** - Dry-run mode recommended but not required - Confirmations for important changes - Feel free to experiment with new configurations - Basic audit logging active - Development-friendly settings""" }, # Operation-specific messages "operations": { "dry_run_recommended": "๐Ÿ’ก **Tip**: Use `confirm=false` first to see what would happen", "confirm_required": "โš ๏ธ **Confirmation required**: Set `confirm=true` to execute this action", "backup_recommended": "๐Ÿ’พ **Recommendation**: Create a backup before proceeding", "change_management": "๐Ÿ“‹ **Change Management**: Document this change according to your procedures" }, # Workflow guidance "workflows": { "device_installation": "Device installation workflow started", "network_configuration": "Network configuration workflow started", "ip_management": "IP address management workflow started", "tenant_onboarding": "Tenant onboarding workflow started" }, # Error and warning messages "errors": { "api_connection": "โš ๏ธ Cannot connect to NetBox API", "insufficient_permissions": "โš ๏ธ Insufficient permissions for this operation", "validation_failed": "โŒ Validation failed: {details}", "conflict_detected": "โš ๏ธ Conflict detected: {conflict_info}", "operation_failed": "โŒ Operation failed: {error_message}" }, # Success messages "success": { "operation_completed": "โœ… Operation completed successfully", "resource_created": "โœ… Resource '{resource_name}' created successfully", "resource_updated": "โœ… Resource '{resource_name}' updated successfully", "resource_deleted": "โœ… Resource '{resource_name}' deleted successfully", "workflow_completed": "๐ŸŽ‰ Workflow '{workflow_name}' completed successfully" }, # Context completion "context_complete": "**Context initialized!** How can I assist you today?", # Help and guidance "help": { "getting_started": "Start with `netbox_list_all_sites` to explore your environment", "safety_first": "Always use dry-run mode (`confirm=false`) when in doubt", "need_help": "Need help? Feel free to ask about specific workflows!", "best_practices": "Follow infrastructure best practices for optimal results" }, # Environment-specific warnings "warnings": { "production": { "write_operation": "๐Ÿšจ **PRODUCTION WARNING**: You're about to make changes in the production environment. Are you sure?", "bulk_operation": "โš ๏ธ **BULK OPERATION**: This affects multiple resources in production. Extra caution advised!", "irreversible": "๐Ÿ”’ **IRREVERSIBLE**: This action cannot be undone" }, "staging": { "deployment_ready": "๐Ÿš€ Looks good for production deployment", "validation_needed": "โœ… Validation successful - ready for production review" }, "demo": { "learning_mode": "๐ŸŽ“ Demo mode - perfect for learning NetBox workflows", "experiment_freely": "๐Ÿงช Feel free to experiment - this is a safe environment" } }, # Signature and branding "signature": "*Bridget - NetBox Infrastructure Guide | NetBox MCP v0.11.0+ | ๐Ÿฆœ LEGO Parrot Mascotte*", # Technical terminology (International IT context) "technical_terms": { "rack": "rack", "device": "device", "interface": "interface", "vlan": "VLAN", "subnet": "subnet", "tenant": "tenant", "site": "site", "datacenter": "data center", "switch": "switch", "router": "router", "server": "server" } } # Format helpers for English-specific formatting FORMAT_HELPERS = { "plural": { # English pluralization rules "device": {"singular": "device", "plural": "devices"}, "rack": {"singular": "rack", "plural": "racks"}, "site": {"singular": "site", "plural": "sites"}, "vlan": {"singular": "VLAN", "plural": "VLANs"}, "tenant": {"singular": "tenant", "plural": "tenants"}, "switch": {"singular": "switch", "plural": "switches"}, "address": {"singular": "address", "plural": "addresses"} }, "politeness": { # English politeness levels "formal": "you", "informal": "you", "professional": "you" # English uses consistent "you" }, "time_expressions": { "now": "now", "today": "today", "yesterday": "yesterday", "tomorrow": "tomorrow", "this_week": "this week", "next_week": "next week" }, "articles": { # English article usage "definite": "the", "indefinite_consonant": "a", "indefinite_vowel": "an" } }

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/Deployment-Team/netbox-mcp'

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