GenPark Jinja-Like Prompt Template Renderer

io.github.alphaparkinc由 GitHub 账号 alphaparkinc 发布v1.0.1更新于 Oct 27, 2026

Safe zero-dependency Jinja-like prompt template parser and renderer supporting for-loops, if-conditi

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

一个本地 MCP 服务器,仅用 Python 标准库解析并渲染支持变量、for 循环和 if 条件的类 Jinja 提示词模板。

可以做什么
  • 渲染含变量、for 循环和 if 条件的提示词模板
  • 解析并校验模板语法
  • 生成填充后的提示词文本,供智能体流程复用
  • 既可作为本地 MCP 服务器运行,也可作为 Python 库导入
适用场景
适合需要把可复用的提示词模板填入数据,或根据列表和条件生成重复提示词片段的场景,且不想引入完整的模板依赖。
运行要求
作为本地进程在用户机器上运行,需用 Python 启动(README 示例为运行 mcp_server.py)。仅限桌面端;未声明认证、环境变量或请求头。无第三方运行时依赖。
安装前请注意
清单未列出任何工具,因此向助手开放的具体操作未在此说明。它是仅限桌面端的本地包,会在你的机器上执行,运行前请先审阅其代码。

安装

在 SourceWeft 中

  1. 打开 控制台中的 GenPark Jinja-Like Prompt Template Renderer,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

GenPark Jinja-Like Prompt Template Renderer

[License: MIT] [Python Standard Library] [Model Context Protocol] [GenPark]

Safe zero-dependency Jinja-like prompt template parser and renderer supporting for-loops, if-conditions, and variables.

Part of the GenPark AI Agent Skills Ecosystem.


🌟 Key Features

  • 100% Python Standard Library: Zero third-party runtime dependencies.
  • MCP Native: Plugs directly into Claude Desktop, Cursor, LobeChat, and autonomous agent DAGs.
  • Production Resilience: Strict schema conformance, zero data loss, enterprise hardened.

🚀 Installation & Usage

Run as an MCP server:

bash
python mcp_server.py

Use directly as a library:

python
from client import *

See example_usage.py for comprehensive integration demonstrations.

📄 License

MIT License. Maintained by GenPark AI.

来源:README.md,提交 7a665c4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Oct 20, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。