Enables remote interaction with a running Smalltalk environment through Discord via the OpenClaw architecture.
Supports communication with remote Smalltalk images or Cuis-Smalltalk-Dev instances using an MQTT broker as a transport layer.
Integrates with Ollama to provide a local, private LLM backend for Smalltalk programming tasks and code reasoning.
Utilizes OpenAI's chat completion models as the reasoning engine for executing Smalltalk tasks and code analysis.
Enables remote interaction with a running Smalltalk environment through Telegram via the OpenClaw architecture.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ClaudeSmalltalkList all classes starting with String and show the source for the at: method"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ClaudeSmalltalk
Connect Claude Desktop to a live Smalltalk programming environment. Browse classes, evaluate expressions, define methods, and run autonomous code review — all against a running Squeak or Cuis image.
Developed by John M McIntosh, Corporate Smalltalk Consulting Ltd. 2026
What It Does
The Squeak VM provides 14 MCP tools — evaluate code, browse classes, read/write methods, navigate hierarchies, and save the image. Claude Desktop accesses them via smalltalk_task, which delegates all Smalltalk interaction to a locally-configured LLM (Ollama for free/local, or Anthropic/OpenAI/xAI) — no source code leaves your machine.
You → Claude Desktop → smalltalk_task → Your LLM → Live Smalltalk Image (TCP)
(MCP server) (Ollama) (Squeak or Cuis)The agent isolates Smalltalk reasoning from your chat model. Claude Desktop triggers the work, but a separate model (which can be local and free) does the actual Smalltalk coding.
Quick Start
1. Get a Smalltalk VM and Image
Squeak (recommended):
Download Squeak 6.0 — the All-in-One package includes VM and image
Follow SQUEAK-SETUP.md to install the MCP server into the image
Cuis Smalltalk:
Clone Cuis-Smalltalk-Dev
Follow CUIS-SETUP.md to build a ClaudeCuis image
macOS note: Place the VM and image files in
/Applications/or your home directory. Files in~/Documents/or~/Desktop/may be blocked by macOS privacy restrictions (TCC). See macOS Permissions below.
2. Create a Configuration File and Install
Follow CLAUDE-README-MCPB.md — it covers creating your smalltalk-mcp.json config and installing the desktop extension.
Copy a starter config from examples/ and set your VM paths:
cp examples/smalltalk-mcp-ollama.json smalltalk-mcp.json
# Edit vm.binary and vm.image to match your installThe VM auto-starts on first use — no manual launch needed. Token auth is handled automatically.
See examples/ for Anthropic, OpenAI, xAI, and MQTT variants.
3. Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"smalltalkAgent": {
"command": "python3",
"args": ["/path/to/ClaudeSmalltalk/smalltalk_agent_mcp.py"],
"env": {
"SMALLTALK_MCP_CONFIG": "/path/to/smalltalk-mcp.json"
}
}
}
}Requires Python 3.10+ and pip install httpx. For MQTT transport, also: pip install paho-mqtt.
4. Verify It Works
Open Claude Desktop and ask:
"List all Smalltalk classes that start with String"
Available Tools
Claude Desktop (1 tool)
Tool | Description |
| Delegate any Smalltalk task to a locally-configured LLM. No source code leaves your machine. |
VM Tools (14, available to the agent)
Tool | Description |
| Execute Smalltalk code and return result |
| Get class metadata (superclass, ivars, methods) |
| View source code of a method |
| Create or modify a class definition |
| Add or update a method |
| Remove a method from a class |
| Remove a class from the system |
| List classes matching a prefix |
| Get superclass chain |
| Get immediate subclasses |
| List all system categories |
| List classes in a category |
| Save the current image in place |
| Save image/changes as next version number |
All 14 tools are also available directly via the st CLI (openclaw/smalltalk.py).
Configuration Reference
Supported LLM Providers
Provider | API | Cost | Config key |
Ollama | /api/chat (native) | Free (local) |
|
Anthropic | Messages API | Paid |
|
OpenAI | /v1/chat/completions | Paid |
|
xAI | /v1/chat/completions | Paid |
|
Transport Options
Transport | How | Use Case |
| Token-authenticated TCP to Squeak VM | Recommended — VM is its own server |
| MQTT broker to remote image | Remote images, Cuis with MQTT handler |
tcp is the default. The Squeak VM runs MCPTcpTransport and listens on a local port. The agent auto-starts the VM on first use, generates a UUID token, and connects per-request with JSON-RPC + token auth.
mqtt connects through an MQTT broker. Used for remote images or Cuis with the MQTT LLM handler.
macOS Permissions
macOS Transparency, Consent, and Control (TCC) restricts which directories applications can access.
Safe locations (no extra permissions needed):
/Applications/— recommended for VM and image files~/(home directory root) — works for config files
Restricted locations (will cause errors):
~/Documents/,~/Desktop/,~/Downloads/
Other Integration Options
Option | Architecture | Guide |
OpenClaw | Telegram/Discord ↔ OpenClaw ↔ Squeak |
Security
The extension only connects to a local Smalltalk image over TCP (localhost only). No source code is sent to cloud APIs when using Ollama.
With Ollama + TCP transport, no Smalltalk source code leaves your machine.
Dual security audit details: SECURITY.md
Files
File | Description |
| Desktop extension — double-click to install |
| Setup guide bundled with the extension |
| MCP server (stdio JSON-RPC for Claude Desktop) |
| Agent with tool-calling loop, TcpBridge + MqttBridge |
|
|
| MQTT CLI bridge for Cuis/remote images |
| Starter config — copy and edit |
| Drag into Claude Desktop for Smalltalk best practices |
| MCP server fileIn for Squeak 6.0 (TCP transport) |
| MCP server package for Cuis |
| Config examples for all providers and transports |
License
MIT License — see LICENSE
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.