Magector

46 tools. 2 can modify or destroy data without limits.

2 write tools that can modify data. Rate limits recommended.

Last updated:

2 can modify or destroy data
44 read-only
46 tools total

Community server · catalogue entry verified 28/06/2026

How to control Magector ↓

What Magector exposes to your agents

Read (44) Write / Execute (2) Destructive / Financial (0)
High Risk

The most dangerous Magector tools

2 of Magector's 46 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Magector

PolicyLayer is an MCP gateway — it sits between your AI agents and Magector, and nothing reaches the server without passing your rules. These are the rules we recommend:

Rate limit write operations
{
  "magento_index": {
    "limits": [
      {
        "counter": "magento_index_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "magento_analyze_diff": {
    "limits": [
      {
        "counter": "magento_analyze_diff_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Magector — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON MAGECTOR →

Instant setup, no code required.

All 46 Magector tools

READ 44 tools
Read magento_analyze_diff Analyze git diffs for risk scoring, change classification, and per-file impact analysis. Works on specific com Read magento_ast_search Structural PHP code search using tree-sitter AST queries. Unlike magento_grep (text-based), this understands P Read magento_complexity Analyze code complexity — cyclomatic complexity, function count, and line count for PHP files. Identifies comp Read magento_describe Generate LLM-powered natural language descriptions for di.xml files using Claude Sonnet via the Anthropic API. Read magento_enrich Build the method-chain enrichment index. Scans all vendor/ PHP files for two-step method chains (->firstMethod Read magento_error_parser Parse a Magento error message or stack trace and map it to relevant source files and root causes. Understands Read magento_find_api Find REST and SOAP API endpoint definitions in webapi.xml and their service class implementations. See also: m Read magento_find_block Find Magento Block classes used for view rendering and template logic. Blocks bridge controllers and templates Read magento_find_callers Find all call sites of a PHP method across the codebase. Searches for ->method() and ::method() patterns in PH Read magento_find_class Find a PHP class, interface, abstract class, or trait by name in Magento. Locates repositories, models, resour Read magento_find_config Find XML configuration files and nodes in Magento — di.xml (dependency injection), events.xml (observers), rou Read magento_find_controller Find MVC controllers by frontend or admin route path. Maps URL routes to Controller action classes with execut Read magento_find_cron Find scheduled cron jobs defined in crontab.xml and their handler classes in Cron/ directories. See also: mage Read magento_find_dataobject_issues Detect DataObject::setX(null) anti-pattern calls. In Magento, classes extending DataObject store values in a _ Read magento_find_db_schema Find database table definitions, columns, indexes, and constraints declared in db_schema.xml (Magento declarat Read magento_find_di_wiring Get the complete DI wiring picture for a PHP class: preferences (interface→implementation), plugins (intercept Read magento_find_event_dispatchers Find all PHP locations where a specific Magento event is dispatched via eventManager->dispatch(). Unlike magen Read magento_find_event_flow Trace complete event flow chain: find where an event is dispatched, list all observers registered in events.xm Read magento_find_fieldset Find fieldset.xml definitions that control how data is copied between Magento entities (e.g., order→quote, quo Read magento_find_graphql Find GraphQL schema definitions (.graphqls), types, queries, mutations, and resolver PHP classes. See also: ma Read magento_find_implementors Find all classes that implement a given PHP interface. Scans PHP files for Read magento_find_layout Find layout XML files — handles, blocks, containers, and referenceBlock/referenceContainer declarations. Parse Read magento_find_method Find implementations of a PHP method or function across the Magento codebase. Searches method names, function Read magento_find_null_risks Find method chains without null guards using the pre-built enrichment index. Returns all ->firstMethod()->seco Read magento_find_observer Find event observers (listeners) for a Magento event. Locates Observer classes and events.xml declarations. Se Read magento_find_plugin Find Magento plugins (interceptors) that modify class behavior via before/after/around methods. Locates Plugin Read magento_find_preference Find DI preference overrides — which concrete class implements an interface or replaces another class via di.x Read magento_find_table_usage Find all code that references a database table — across db_schema.xml, Setup scripts (InstallSchema/UpgradeSch Read magento_find_template Find PHTML template files in Magento for frontend or admin rendering. Locates view templates for product pages Read magento_find_test Find PHPUnit test files for a given PHP class or method. Searches Test/ directories for test classes, @covers Read magento_find_trigger Find MySQL database trigger definitions in Magento Setup scripts. Detects triggers created via TriggerFactory Read magento_grep Exact text search (grep) across Magento PHP/XML/JS files. Unlike magento_search (semantic/vector), this finds Read magento_impact_analysis Analyze the impact of changing a PHP class — finds all files that reference it via use statements, DI configur Read magento_module_structure Get the complete structure of a Magento module — lists all controllers, models, blocks, plugins, observers, AP Read magento_performance_profile Profile a Magento subsystem for performance bottlenecks. Scans for all plugins, observers, and collectors regi Read magento_read Read a file from the Magento codebase. Use in magento_batch to read multiple files in a single MCP call (e.g., Read magento_search Search Magento codebase semantically — find any PHP class, method, XML config, PHTML template, JS file, or Gra Read magento_stats Get index statistics — total indexed vectors, embedding dimensions, and database path. Use this to verify the Read magento_trace_api Trace a REST or GraphQL API endpoint from URL to implementation. Parses webapi.xml to find the service interfa Read magento_trace_call_chain Trace the internal method call chain starting from a specific class::method. Follows $this->method() calls (sa Read magento_trace_data_flow Trace how a data attribute flows through the Magento codebase: find all PHP files that set (via magic setter, Read magento_trace_dependency Trace dependency injection graph for a PHP class or interface. Parses di.xml files across all modules to find: Read magento_trace_flow Trace Magento execution flow from an entry point (route, API endpoint, GraphQL mutation, event, or cron job). Read magento_trace_shipping_chain Trace the complete shipping rate calculation chain: carrier classes → plugins on collectRates() → ShippingRate

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Magector

How do I prevent bulk modifications through Magector? +

The Magector server has 1 write tools including magento_index. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Magector.

How many tools does the Magector MCP server expose? +

46 tools across 3 categories: Execute, Read, Write. 44 are read-only. 2 can modify, create, or delete data.

How do I enforce a policy on Magector? +

Register the Magector MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Magector tool call.

Deterministic rules across all 46 Magector tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

46 Magector tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.