MCP.so
登录

Chapel Support for MCP Server

@DanilaFe

基本信息

分类

其他

传输方式

stdio

作者

DanilaFe

关于 Chapel Support for MCP Server

A Model-Context-Protocol (MCP) server for AI Agents to make use of Chapel

Chapel Support for MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Chapel Support for MCP Server 工具

工具列表暂未提供

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

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Chapel Support for MCP?

A Model‑Context‑Protocol (MCP) server for the Chapel programming language that provides tools for compiling, linting, and accessing educational primers, designed to integrate Chapel functionality with AI assistants and other tools.

How to use Chapel Support for MCP?

Install with UV, set the CHPL_HOME environment variable (or use a .env file or auto‑detection if chpl is in PATH), then run uv run chapel-support.py to start the server. Configure AI assistants to connect to it using a client configuration that points to the uv command and the server script.

Key features of Chapel Support for MCP

  • Browse and access Chapel primer examples.
  • Compile Chapel programs through the API.
  • Lint Chapel code with chplcheck and auto‑fix.
  • Automatically detect Chapel installation directory.
  • List and enable custom linting rules.

Use cases of Chapel Support for MCP

  • An AI assistant writing Chapel code can compile and check for errors on the fly.
  • A learner can fetch primer contents to study Chapel’s parallel programming concepts.
  • A developer can lint an existing Chapel codebase for style and best practices.
  • Integrate Chapel development into AI‑driven workflows without leaving the chat interface.

常见问题

1

What are the prerequisites to use Chapel Support for MCP?

Python 3.13 or higher and a working Chapel installation are required. For linting, `chplcheck` (shipped with Chapel) is optional.

2

How does Chapel Support for MCP find the Chapel installation?

It searches `CHPL_HOME` environment variable, then a `.env` file in the project root, then runs `chpl --print-chpl-home` if the compiler is in PATH.

3

What tools does Chapel Support for MCP offer?

It provides five tools: `list_primers()`, `get_primer(path)`, `compile_program(program_text, program_name)`, `list_chapel_lint_rules()`, and `lint_chapel_code(program_text, program_name, fix, custom_rules)`.

4

How can I use Chapel Support for MCP with an AI assistant?

Configure the assistant to connect to the server using a client JSON object that specifies `uv run --directory <path> chapel-support.py` as the command.

5

Can Chapel Support for MCP automatically fix linting issues?

Yes. When `fix=True` is passed to `lint_chapel_code()`, the server applies automatic fixes from `chplcheck` and returns the corrected code.

评论

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