内容
[](https://github.com/pharo-project/Pharo)
[](https://github.com/Evref-BL/MCP/actions/workflows/ci.yml?query=branch%3Amain+event%3Apush)
[](https://coveralls.io/github/Evref-BL/MCP?branch=main)
# MCP for Pharo
MCP is an in-image [Model Context Protocol](https://modelcontextprotocol.io/)
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 13 while CI
checks the full matrix.
## Install And Start
Load MCP in a supported image:
```smalltalk
Metacello new
baseline: 'MCP';
repository: 'github://Evref-BL/MCP:main/src';
load.
```
Start the Streamable HTTP server:
```smalltalk
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](docs/user/getting-started.md) for setup,
first calls, and the copyable Codex template.
## Documentation
- [Documentation index](docs/README.md)
- [Getting started](docs/user/getting-started.md)
- [Using MCP from an agent](docs/user/using-pharo-mcp.md)
- [Tool reference](docs/user/tool-reference.md)
- [Safety and ecosystem integration](docs/user/safety-and-ecosystem.md)
- [Troubleshooting](docs/user/troubleshooting.md)
- [Developing MCP](docs/dev/developing-mcp.md)
## Agent Template
Copy the supplied MCP configuration, agent guide, and workflow skills into a
Pharo project:
```sh
cp -R templates/. /path/to/your/project/
```
Update `.codex/config.toml` when the image uses a port other than `4000`.
## Contributing
Use Pharo 13 for normal development and preserve Pharo 12/14 compatibility.
Live behavior must be verified in an image; source inspection alone is not
enough. Start with [AGENTS.md](AGENTS.md) and
[MCP verification](docs/dev/mcp-verification.md).
连接信息
猜你喜欢
rea
用于编码代理的逆向工程:一个 CLI 和 MCP 服务器,用于检查任何应用程序,了解其功能,并按照您的方式构建它们。
everything-claude-code
完整的 Claude Code 配置集合 - agents、skills、hooks、commands、rules、MCPs。来自 Anthropic...
Firecrawl
Firecrawl MCP Server 实现了网页抓取、爬虫和内容提取功能。
MarkItDown MCP
MarkItDown-MCP是一个轻量级服务器,用于将URI转换为Markdown。
cc-switch
跨平台的Claude Code、Codex和Gemini CLI一体化助手。
Agent-Reach
赋予你的AI Agent观察整个互联网的眼睛。读取并搜索...