Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by mumez • Testing & QA
A local MCP server that lets agents interact with a Pharo Smalltalk image for code evaluation, introspection, package management, search, and test execution.
Evaluate Smalltalk expressions and receive results from a local Pharo image to drive interactive code generation or debugging workflows.
Inspect code, comments, and metadata—fetching class and method source or searching implementors and references to enable code understanding and refactoring tasks.
Manage packages and projects—exporting/importing Tonel packages, installing Metacello projects, and running package or class test suites as part of automation pipelines.
This MCP server proxies the PharoSmalltalkInteropServer APIs to provide 19 tools for evaluating Smalltalk expressions, retrieving class and method sources, searching classes/methods/traits/references, managing Tonel packages, installing projects via Metacello, and running tests. It is designed for local use and integrates with MCP tooling (e.g., Claude/uv) to let agents perform programmatic operations against a Pharo image. The project includes mock-based tests so CI and development do not require a live Pharo instance, enabling fast and deterministic testing.
Evaluate a Pharo Smalltalk expression with PharoSmalltalkInteropServer. Args: code: The Smalltalk code to evaluate Returns: dict: API response with success/error and result - Success: {"success": True, "result": any} - result contains the evaluation result - Error: {"success": False, "error": str} - error contains error message
Get the source code of a Smalltalk class. Args: class_name: The name of the class to retrieve source for Returns: dict: API response with success/error and result - Success: {"success": True, "result": str} - result contains the class source code - Error: {"success": False, "error": str} - error contains error message
Get the source code of a specific method in a class. Args: class_name: The name of the class containing the method method_name: The name of the method to retrieve source for is_class_method: True for class-side methods, False for instance methods (default: False) Returns: dict: API response with success/error and result - Success: {"success": True, "result": str} - result contains the method source code - Error: {"success": False, "error": str} - error contains error message
Get the comment of a Smalltalk class. Args: class_name: The name of the class to retrieve comment for Returns: dict: API response with success/error and result - Success: {"success": True, "result": str} - result contains the class comment - Error: {"success": False, "error": str} - error contains error message
Find classes matching a pattern. Args: class_name_query: The pattern to search for in class names Returns: dict: API response with success/error and result - Success: {"success": True, "result": list[str]} - result contains list of matching class names - Error: {"success": False, "error": str} - error contains error message
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.