clockwork-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLOCKWORK_PHP_PATH | No | Custom PHP binary path | php |
| CLOCKWORK_PROJECT_PATH | No | Path to Laravel project root | Auto-detect |
| CLOCKWORK_STORAGE_PATH | No | Direct path to storage (file driver only) | Auto-detect |
| CLOCKWORK_STORAGE_DRIVER | No | Force storage driver (artisan or file) | Auto-detect |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_requestsC | List recent Clockwork requests with optional filtering |
| get_requestA | Get full details of a specific request by ID |
| get_latest_requestB | Get the most recent Clockwork request |
| search_requestsB | Search requests by controller, URI, status, or duration |
| get_queriesC | Get database queries for a request |
| analyze_slow_queriesC | Find slow database queries above threshold |
| detect_n_plus_oneC | Detect N+1 query patterns in a request |
| get_query_statsC | Get aggregate query statistics for a request |
| get_performance_summaryC | Get performance overview for a request |
| get_timelineB | Get timeline events for a request |
| compare_requestsC | Compare two requests side by side |
| get_cache_operationsC | Get cache operations for a request |
| get_cache_statsB | Get cache statistics (hit ratio, totals) |
| get_redis_commandsC | Get Redis commands for a request |
| get_logsC | Get log entries for a request |
| get_eventsC | Get dispatched events for a request |
| get_viewsB | Get rendered views for a request |
| get_http_requestsC | Get outgoing HTTP requests made during a request |
| list_commandsB | List profiled Artisan command executions |
| get_commandC | Get full details of an Artisan command execution |
| get_clockwork_statusB | Check Clockwork storage status and statistics |
| explain_request_flowC | Get high-level summary of what happened in a request |
| get_call_graphC | Build hierarchical execution tree from timeline events |
| get_query_stack_traceB | Get source location for a database query |
| get_log_stack_traceC | Get source location for a log entry |
| get_xdebug_profileB | Get Xdebug profiling data for a request (stub - not available in Clockwork) |
| get_xdebug_hotspotsB | Get Xdebug hotspots for a request (stub - not available in Clockwork) |
| list_queue_jobsC | List queue jobs with optional filtering |
| get_queue_jobB | Get full details of a queue job |
| list_testsB | List test executions with optional filtering |
| get_testB | Get full details of a test execution |
| get_auth_userC | Get authenticated user for a request |
| get_session_dataC | Get session data for a request |
| get_middleware_chainC | Get middleware chain for a request |
| get_route_detailsC | Get route details for a request |
| analyze_exceptionsC | Analyze exceptions across requests, grouping by message pattern |
| analyze_route_performanceC | Analyze route performance with percentile statistics |
| detect_memory_issuesC | Detect high memory usage and growth patterns |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/fridzema/clockwork-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server