Skip to main content
Glama
mumez
by mumez

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PHARO_DIRNoPath to Pharo installation directory (default: ~/pharo)~/pharo

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
evaluate_smalltalk_with_neo_console
Evaluate a Pharo Smalltalk expression using NeoConsole. Args: expression: The Smalltalk expression to evaluate command: The NeoConsole command to use (default: eval) Returns: The result of the evaluation
quit_neo_console
Send quit command to NeoConsole to terminate the REPL session. Returns: The result of the quit command
evaluate_simple_smalltalk
Evaluate a Pharo Smalltalk expression using the simple -e option. Args: expression: The Smalltalk expression to evaluate Returns: The result of the evaluation
get_pharo_metric
Get a system metric from Pharo using NeoConsole. Args: metric: The metric to retrieve (e.g., 'system.status', 'memory.free') Returns: The metric value
install_package
Install a Pharo package using Metacello. Args: baseline: The baseline name of the package (e.g., 'Historia') repository: The repository URL (e.g., 'github://mumez/Historia:main/src') Returns: The result of the package installation
get_class_comment
Get the comment of a Pharo class. Args: class_name: The name of the class to get the comment for Returns: The class comment
get_class_definition
Get the definition of a Pharo class. Args: class_name: The name of the class to get the definition for Returns: The class definition
get_method_list
Get the list of method selectors for a Pharo class. Args: class_name: The name of the class to get method selectors for Returns: The list of method selectors
get_method_source
Get the source code of a specific method in a Pharo class. Args: class_name: The name of the class selector: The method selector (message name) Returns: The method source code
get_neo_console_command_history
Get the command history from the current NeoConsole session. Returns: The command history as a string, showing numbered entries of previously executed commands
shutdown_repl_session
Shutdown the persistent NeoConsole REPL session and server. Returns: The result of the shutdown operation

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mumez/pharo-nc-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server