← Back to search

@p4it-kft/phpactor-mcp

p4it-kft Scanned 30d ago

MCP server for PHP refactoring via Phpactor

B
85 / 100

Versions

1.1.0latest
Apr 9, 2026
1.0.0
Mar 30, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 6

phpactor_index_build
annotations: none low

Build or rebuild the Phpactor project index. Must run before other phpactor tools. Checks PSR-4 autoload config and warns if missing (Yii2 projects need manual setup).

projectPath string
phpactor_find_references
annotations: none low

Find all semantic references to a PHP class or class member across the project. Returns type-aware results (not grep-based text matching).

projectPath string
phpactor_rename_class
annotations: none low

Update all REFERENCES to a PHP class project-wide (use statements, type hints, docblocks, instantiations). Does NOT rename the file or modify the class declaration — use phpactor_move_class for a full rename including file move and namespace update.

projectPath string
phpactor_rename_member
annotations: none low

Rename a PHP method, property, or constant and update all references project-wide. Uses type inference to only rename the correct member (not same-named members on other classes).

newName string memberName string projectPath string
phpactor_move_class
annotations: none low

Move/rename a PHP class: moves the file, updates the namespace declaration, AND updates all references project-wide. This is the tool for full class renames. WARNING: Writes directly to disk — commit your work first!

sourcePath string projectPath string
phpactor_class_info
annotations: none low

Query indexed information about a PHP class: FQCN, file path, type, what it implements, and what implements it.

projectPath string

Permissions 2

shell high
Server uses shell capabilities via: child_process, spawn()
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 21

low
Tool 'phpactor_index_build' has no annotations annotation_checker · 100%
low
Tool 'phpactor_find_references' has no annotations annotation_checker · 100%
low
Tool 'phpactor_rename_class' has no annotations annotation_checker · 100%
low
Tool 'phpactor_rename_member' has no annotations annotation_checker · 100%
low
Tool 'phpactor_move_class' has no annotations annotation_checker · 100%
low
Tool 'phpactor_class_info' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
info
package.json metadata manifest_parser · 100%
info
Tool: phpactor_index_build manifest_parser · 70%
info
Tool: phpactor_find_references manifest_parser · 70%
info
Tool: phpactor_rename_class manifest_parser · 70%
info
Tool: phpactor_rename_member manifest_parser · 70%
info
Tool: phpactor_move_class manifest_parser · 70%
info
Tool: phpactor_class_info manifest_parser · 70%
info
Transport: stdio manifest_parser · 90%
info
Required env vars (1) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
info
SBOM generated: 94 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%