Skip to content
guillepPublic
forked from Evref-BL/MCP

About

MCP server for Pharo

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

584 Commits

Folders and files

Repository files navigation

Pharo version CI Coverage Status

MCP for Pharo

MCP is an in-image Model Context Protocol server for Pharo. It lets MCP clients inspect and change the running image through Pharo-aware tools for packages, classes, methods, tests, repositories, change history, debugging, and UI inspection.

MCP works through the Pharo ecosystem—compilation, refactorings, Renraku, SUnit, Iceberg, Metacello, Epicea, and Spec—rather than patching exported Tonel files as plain text.

Supported Versions

Pharo 12, 13, and 14 are supported. Development targets Pharo 14 while CI checks the full matrix.

Install And Start

Load MCP in a supported image:

Metacello new
   baseline: 'MCP';
   repository: 'github://Evref-BL/MCP:main/src';
   load.

Start the Streamable HTTP server:

mcp := MCP new.
mcp port: 4000.
mcp start.

Connect a local MCP client to http://127.0.0.1:4000. Client configuration formats differ; see Getting started for setup and first calls.

Documentation

Agent Templates

Install the guide, local references, workflow skills, and direct MCP configuration for an agent host into the current project:

npx @evref-bl/pharo-mcp install --host codex

Use --host claude or --host opencode for those hosts. The direct MCP configuration expects port 4000; update it when the image uses another port.

Node integrations that provide their own MCP transport can install only the guide, skills, references, and soft-loading instruction block:

import { installGuidance } from "@evref-bl/pharo-mcp";

installGuidance({ host: "codex", cwd: process.cwd() });

Contributing

Use Pharo 14 for normal development and preserve Pharo 12/13 compatibility. Live behavior must be verified in an image; source inspection alone is not enough. Start with AGENTS.md and MCP verification.

About

MCP server for Pharo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages