- bex/mcp_server.py: FastMCP server with 3 tools: * infer_grammar(sequences, method='crx'|'idregex') * infer_yaml_grammar(yaml_dir, pattern, method) * infer_ansible_role_grammar(roles_dir) - pyproject.toml: add bex-mcp console_scripts entry point
16 lines
404 B
TOML
16 lines
404 B
TOML
[build-system]
|
|
requires = ["setuptools>=68.0"]
|
|
build-backend = "setuptools.backends._legacy:_Backend"
|
|
|
|
[project]
|
|
name = "grammar-inference-engine"
|
|
version = "0.1.0"
|
|
description = "BEX-based grammar inference: learn regular expression patterns from example sequences"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"PyYAML>=6.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
bex-mcp = "bex.mcp_server:main"
|