This project provides a Model Context Protocol (MCP) implementation for Dart class modifiers. It allows you to query the capabilities and rules of Dart class modifiers combinations like base class, abstract interface class.
- Query Dart class modifiers and their capabilities
- Returns information about constructibility, extensibility, implementability, mixin capability, and exhaustiveness
- Handles invalid or unknown modifiers gracefully
- Construct
- Extended
- Implement
- Mix In
- Exhaustive
You can query the MCP server with a Dart class modifier string, and it will return a table of capabilities. Example:
base class
Returns:
| Modifier | Construct | Extend | Implement | Mix In | Exhaustive |
|---|---|---|---|---|---|
| base class | YES | YES | NO | NO | NO |
Unknown or invalid modifiers will return:
| Modifier | Construct | Extend | Implement | Mix In | Exhaustive |
|---|---|---|---|---|---|
| unknown class | Invalid modifier |
- Clone the repository
- Install dependencies:
npm install - Run the MCP server:
npm startor as per your setup
This project is licensed under the MIT License.
Vinoth - https://vinothramajeyam.vercel.app