Pharo Nc MCP Server

A local MCP server to evaluate Pharo Smalltalk expressions and get system information via [NeoConsole](https://github.com/svenvc/NeoConsole).

Local serverstdioPython

What is the Pharo Nc MCP server?

A local MCP server to evaluate Pharo Smalltalk expressions and get system information via NeoConsole. That is what the pharo nc mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The tools it exposes

The server publishes 7 tools. What each one is for:

  • evaluate_smalltalk_with_neo_console — The evaluate_smalltalk_with_neo_console tool exposed by this server
  • evaluate_simple_smalltalk — Execute Smalltalk expressions using Pharo's simple -e option:
  • get_pharo_metric — The get_pharo_metric tool exposed by this server
  • get_class_comment — The get_class_comment tool exposed by this server
  • get_class_definition — The get_class_definition tool exposed by this server
  • get_method_list — The get_method_list tool exposed by this server
  • get_method_source — The get_method_source tool exposed by this server

What it needs from you

  • Python 3.10 or later - uv package manager - Pharo with NeoConsole installed

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Pharo Nc's toolset — evaluate_smalltalk_with_neo_console, evaluate_simple_smalltalk, get_pharo_metric and 4 more — is a fair guide to whether it matches your workflow. It is maintained by mumez; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Pharo Nc's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
evaluate_smalltalk_with_neo_consoleThe evaluate_smalltalk_with_neo_console tool exposed by this server.
evaluate_simple_smalltalkExecute Smalltalk expressions using Pharo's simple -e option:
get_pharo_metricThe get_pharo_metric tool exposed by this server.
get_class_commentThe get_class_comment tool exposed by this server.
get_class_definitionThe get_class_definition tool exposed by this server.
get_method_listThe get_method_list tool exposed by this server.
get_method_sourceThe get_method_source tool exposed by this server.

How to install the Pharo Nc MCP server

### Cursor MCP settings

```json:mcp.json
{
  "mcpServers": {
    "pharo-nc-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/your-path/to/pharo-nc-mcp-server",
        "run",
        "pharo-nc-mcp-server"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10 or later - uv package manager - Pharo with NeoConsole installed

Example prompts to try

  • Use Pharo Nc to evaluate smalltalk with neo console.
  • Use Pharo Nc to evaluate simple smalltalk.
  • Use Pharo Nc to get pharo metric.

Frequently asked questions

It connects Pharo Nc to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (evaluate_smalltalk_with_neo_console, evaluate_simple_smalltalk, get_pharo_metric, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pharo Nc directly.