evref-bl/mcp 是从 https://github.com/evref-bl/mcp. 导入的 MCP 服务器候选
概览
evref-bl/mcp 是从 https://github.com/evref-bl/mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
MCP 是一种图像内模型上下文协议 服务器 for Pharo。它允许 MCP 客户端检查并更改正在运行的镜像 通过Pharo感知工具,用于包、类、方法、测试、仓库, 更改历史记录、调试和界面检查。
MCP通过Pharo生态系统运作——编译、重构、Renraku, SUnit、Iceberg、Metacello、Epicea和Spec——而不是修补导出的ToNel 文件以纯文本形式呈现。
支持版本
Pharo 12、13 和 14 均有支持。开发目标为 Pharo 14,同时 CI 检查完整的矩阵。
安装并开始
在支持的镜像中加载MCP:
启动可流式HTTP服务器:
将本地MCP客户端连接到http://127.0.0.1:4000。客户端配置
格式有所不同;请参见“开始”来设置
以及首次通话。
文献资料
- 文档索引
- 开始
- 使用代理的MCP
- 工具参考
- 安全与生态系统整合
- 故障排除
- 开发MCP
特工模板
安装指南、本地参考、工作流程技能和直接MCP 当前项目中代理主机的配置:
使用--host claude或--host opencode表示这些主机。直接MCP
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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, 14, and 15 are supported.
Protocol revisions 2025-03-26, 2025-06-18, 2025-11-25 and 2026-07-28
are supported, each answered in its own shape.
Install And Start
Load MCP in a supported image:
Metacello new
baseline: 'MCP';
repository: 'github://Evref-BL/MCP:main/src';
onConflictUseIncoming;
load.
The baseline groups are:
Core: the server, its transport and schema machinery, and the catalog tools it dispatches throughIDE: the image tools — classes, methods, packages, tests, critiques, repositories, change history, debuggingUI: the world-menu server listTelemetry: the OpenTelemetry backenddefault:Core,IDE,UIand their tests
A project embedding the server and serving tools of its own loads Core alone,
which leaves out the image tools and everything behind them. Loading its package
is all its tools need: a tool that names itself is in the catalog.
Building on MCP walks through
a tool, a resource and a prompt of your own.
Start the Streamable HTTP server:
MCP startOnPort: 4000.
That answers the server already on 4000 when the image has one, so running it
again after a restart is safe. MCP allServers lists what the image holds, and
Library → MCP Servers in the world menu shows the same list.
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
- Documentation index
- Getting started
- Building on MCP
- Observability and UI
- Tool reference
- Developing MCP
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 claude