Connection Settings
Server URL Configuration
The plugin connects to the MCP server via HTTP. By default, it useshttp://localhost:3002.
To change the server URL:
- Open the plugin dock widget (click “MCP Server” button in Plugins toolbar)
- Find the “Connection Settings” section
- Update the “Server URL” field
- The plugin will automatically reconnect with the new URL
The server URL should point to your MCP server’s HTTP endpoint. The default port is
3002.Default Configuration
Connection Behavior
The plugin uses a long-polling architecture with the following default settings:| Setting | Default Value | Description |
|---|---|---|
| Poll Interval | 500ms | Time between polls when MCP is not connected |
| Long Poll Timeout | 25s | Server-side wait time for new requests |
| Request Timeout | 30s | Maximum time for a single API request |
| Max Retry Delay | 5s | Maximum backoff delay on connection failures |
| Backoff Multiplier | 1.2x | Exponential backoff rate |
| Max Failures Before Error | 50 | Consecutive failures before showing error |
Retry and Backoff Settings
The plugin implements smart retry logic with exponential backoff:Retry Configuration
- On first failure, retry after 0.5 seconds
- Each consecutive failure increases delay by 1.2x
- Delay caps at 5 seconds maximum
- After 50 failures, shows persistent error state
- On successful connection, resets to 0.5 seconds
Exponential backoff reduces server load during outages while maintaining responsiveness.
Activity Log Settings
The plugin includes a built-in activity log with the following configuration:Log Categories
| Category | Color | Description |
|---|---|---|
| CONNECTION | Blue | Connection status changes |
| POLL | Gray | Long-poll events (throttled 10:1) |
| REQUEST | Cyan | Incoming API requests |
| RESPONSE | Green | API responses and timing |
| ERROR | Red | Error messages |
| WARN | Orange | Warnings and alerts |
Log Limits
Log Configuration
Log Actions
The activity log provides three buttons:- X (Clear): Clears all log entries
- C (Copy): Prints log to Output window for easy copying
- E (Export): Saves log to
ServerStorage.MCPActivityLogas StringValue
Advanced Customization
For developers who want to modify the plugin behavior, edit the source code:Poll Interval
plugin.luau
Debug Mode
Enable verbose logging by modifying log throttling:plugin.luau
Timeout Settings
Modify HTTP request timeouts (requires editing plugin source):plugin.luau
UI Customization
The plugin UI uses a modern design with customizable colors:Color Scheme
Color Configuration
Widget Size
Widget Configuration
Security Settings
Security Features
- 🏠 Local-only: All communication stays on your machine
- 🚫 No external servers: Plugin only talks to localhost
- 👁️ Read-only access: Plugin extracts data but never modifies your place
- 🔐 No data collection: Your projects remain private
Allowed Endpoints
The plugin only communicates with:http://localhost:3002/poll- Long-poll for new requestshttp://localhost:3002/response- Send responses back
All HTTP requests are local-only. The plugin never sends data to external servers.
Status Indicators
The plugin shows detailed connection status with three verification steps:Step 1: HTTP Server Reachable
- Green: HTTP server is responding
- Yellow: Attempting to connect
- Red: Cannot reach server
Step 2: MCP Bridge Connected
- Green: MCP server is connected and ready
- Yellow: Waiting for MCP server
- Red: MCP server connection failed
Step 3: Ready for Commands
- Green: System ready to process requests
- Yellow: Initializing
- Red: Not ready
Environment Variables
While the plugin itself doesn’t use environment variables, the MCP server does:MCP Server Configuration
Performance Tuning
For High-Latency Networks
If you experience connection issues on slower networks:- Increase retry delay in plugin source
- Reduce backoff multiplier for faster recovery
- Increase max failures threshold
For Large Projects
The plugin handles large projects efficiently, but you can optimize:- Use specific paths instead of scanning entire game
- Limit depth in project structure requests
- Use targeted queries instead of broad searches
Next Steps
Installation
Go back to installation instructions
Troubleshooting
Solve common configuration issues