Skip to content

AI tools

devkit mcp is a Model Context Protocol server. Connect it to an AI coding tool and the assistant can see what DevKit sees: your sites, recent requests, dumps and queries, logs and mail. It can also start and stop sites and services, share a site, and run Artisan with the site’s PHP.

Settings › AI tools has the command and config to copy. With DevKit on your terminal’s PATH (Terminal) it’s just devkit mcp; apps that don’t read your shell’s PATH need the full path, which Settings can show instead. The full path points at DevKit’s bin folder, which stays the same when DevKit updates.

Claude Code:

Terminal window
claude mcp add devkit -- devkit mcp

Other tools (Cursor, Windsurf, VS Code and others) take a JSON config:

{
"mcpServers": {
"devkit": {
"command": "/Users/you/Library/Application Support/DevKit/bin/devkit",
"args": ["mcp"]
}
}
}
Tool What it does
list_sites, site_info Sites with their address, folder, runtime and share
start_site, stop_site, secure_site Start, stop or serve a site over HTTPS
set_php_version Pin a site’s PHP version
share_site, unshare_site Share a site and return its public address, or stop sharing
list_services, start_service, stop_service Services and their connection details
get_recent_requests, get_request Requests to a site, with headers and bodies
get_dumps Dumps, queries, jobs, views, HTTP calls and log messages
list_log_sources, get_logs Output from sites, workers and services
get_mail, read_mail Caught mail
run_artisan Run an Artisan command in a Laravel site, with its PHP

The MCP server talks only to DevKit on your computer. What your assistant does with the results depends on the tool you connect.