MCP.so
登录
S

Smalltalk Validator MCP Server

@mumez

基本信息

分类

其他

传输方式

stdio

作者

mumez

提交者

Masashi Umezawa

关于 Smalltalk Validator MCP Server

MCP server for validating and linting Tonel formatted Smalltalk source code using tree-sitter-tonel-smalltalk.

#smalltalk#tonel

Smalltalk Validator MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "smalltalk-validator": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/mumez/smalltalk-validator-mcp-server.git@main",
        "smalltalk-validator-mcp-server"
      ]
    }
  }
}

Smalltalk Validator MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is smalltalk-validator-mcp-server?

A Model Context Protocol server for validating and linting Tonel‑formatted Smalltalk source code. It uses tree‑sitter‑tonel‑smalltalk to parse and check syntax and style. Designed for developers who want to verify AI‑generated Tonel files and method definitions before importing them into a real Smalltalk environment.

How to use smalltalk-validator-mcp-server?

Install with uvx --from git+https://github.com/mumez/smalltalk-validator-mcp-server.git@main smalltalk-validator-mcp-server or clone the repository and run uv run smalltalk-validator-mcp-server. Configure it as an MCP server in Cursor or Claude Code using the provided JSON or CLI commands. The server exposes five tools: validate_tonel_smalltalk_from_file, validate_tonel_smalltalk, validate_smalltalk_method_body, lint_tonel_smalltalk_from_file, and lint_tonel_smalltalk. Validation options include without-method-body to skip method body checking.

Key features of smalltalk-validator-mcp-server

  • Validate Tonel files from file path or content string.
  • Validate Smalltalk method bodies for syntax correctness.
  • Lint Tonel files for best practices and style issues.
  • Option to skip method body validation with without-method-body.
  • Returns structured results with issues, counts, and severities.

Use cases of smalltalk-validator-mcp-server

  • Validate AI‑generated Tonel class definitions before loading.
  • Lint existing Tonel files for style and length warnings.
  • Check Smalltalk method body syntax in isolation.
  • Integrate Smalltalk code quality checks into an AI‑assisted workflow.

常见问题

1

What exactly does smalltalk-validator-mcp-server validate?

It validates Tonel‑formatted Smalltalk source code (files or strings) and individual Smalltalk method bodies. It checks both structure and syntax using tree‑sitter‑tonel‑smalltalk, and can optionally lint for style issues such as method length.

2

How do I install and run smalltalk-validator-mcp-server?

The quickest way is `uvx --from git+https://github.com/mumez/smalltalk-validator-mcp-server.git@main smalltalk-validator-mcp-server`. You can also clone the repo and run `uv run smalltalk-validator-mcp-server`. Dependencies are managed by `uv`.

3

Can I configure smalltalk-validator-mcp-server with Cursor or Claude Code?

Yes. For Cursor, add the server configuration to `.cursor/settings.json`. For Claude Code, use `claude mcp add smalltalk-validator -- uvx ...` (or the local clone equivalent). Example configurations are provided in the README.

4

What validation options are available?

The validation tools accept an options dictionary. The only documented option is `without-method-body: true`, which makes validation check only the Tonel structure without parsing method bodies (useful for testing).

5

Are there known limitations or security considerations?

The README does not document any specific limits or security warnings. The server is intended for local validation of Smalltalk code, and no authentication or transport details beyond standard MCP stdio are mentioned.

评论

其他 分类下的更多 MCP 服务器