Local MCP server enabling Pharo Smalltalk code eval, introspection, package mgmt, testing, UI debugging, and project install.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Pharo Smalltalk Interop MCP Server.
evalCallable MCP tool function
get_class_sourceCallable MCP tool function
get_method_sourceCallable MCP tool function
get_class_commentCallable MCP tool function
search_classes_likeCallable MCP tool function
search_methods_likeCallable MCP tool function
โ ๏ธ This project has moved. Starting with v4.0.0, development has moved to smalltalk-interop-mcp-server, which adds support for Squeak's SIS server in addition to Pharo. Please use the new repository for the latest features and updates; this repository is kept for historical reference only.
A local MCP server to communicate local Pharo Smalltalk image. It supports:
The easiest way to run the server without cloning the repository:
To set up for development:
Using uvx (no installation required):
Using uv (after cloning the repository):
You can configure the server using environment variables:
PHARO_SIS_PORT: Port number for PharoSmalltalkInteropServer (default: 8086)Examples:
Using uvx:
Using uv:
Using uvx (recommended):
Using uv (after cloning):
Note: The env section is optional and can be used to set environment variables for the MCP server.
Using uvx (recommended):
Using uv (after cloning):
This server provides 22 MCP tools that map to all PharoSmalltalkInteropServer APIs:
eval: Execute Smalltalk expressions and return resultsget_class_source: Retrieve source code of a classget_method_source: Retrieve source code of a specific methodget_class_comment: Retrieve comment/documentation of a classsearch_classes_like: Find classes matching a patternsearch_methods_like: Find methods matching a patternsearch_traits_like: Find traits matching a patternsearch_implementors: Find all implementors of a method selectorsearch_references: Find all references to a method selectorsearch_references_to_class: Find all references to a classlist_packages: List all packages in the imagelist_classes: List classes in a specific packagelist_extended_classes: List extended classes in a packagelist_methods: List methods in a packageexport_package: Export a package in Tonel formatimport_package: Import a package from specified pathinstall_project: Install a project using Metacello with optional load groupsrun_package_test: Run test suites for a packagerun_class_test: Run test suites for a specific classread_screen: UI screen reader for debugging Pharo interfaces with screenshot and structure extractionget_settings: Retrieve current server configurationapply_settings: Modify server configuration dynamicallyThe read_screen tool captures screenshots and extracts UI structure for debugging Pharo UI issues.
Parameters:
target_type (string, default: 'world'): UI type to inspect ('world' for morphs, 'spec' for windows, 'roassal' for visualizations)capture_screenshot (boolean, default: true): Include PNG screenshot in responseReturns: UI structure with screenshot and human-readable summary
Usage Examples:
Extracted Data Includes:
World (morphs):
Example output:
Spec (presenters):
Example output:
Roassal (visualizations):
Example output:
The get_settings and apply_settings tools provide dynamic server configuration management.
Retrieve the current server configuration.
Parameters: None
Returns: Dictionary containing current server settings
Usage Example:
Response Format:
Modify server configuration dynamically. Settings take effect immediately during the current session.
Parameters:
settings (dict): Dictionary containing settings to modifyReturns: Success confirmation message
Usage Example:
Common Settings:
| Setting | Type | Default | Description |
|---|---|---|---|
stackSize | integer | 100 | Maximum stack trace depth for error reporting |
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mumez-pharo-smalltalk-interop-mcp-server)<a href="https://allmcps.com/mcp/mumez-pharo-smalltalk-interop-mcp-server"><img src="https://allmcps.com/api/badge/mumez-pharo-smalltalk-interop-mcp-server?style=directory" alt="Pharo Smalltalk Interop MCP Server on AllMCPs" /></a>