jac-mcp Release Notes#
jac-mcp 0.1.9 (Unreleased)#
- Knowledge map tools:
understand_jac_and_jaseciandget_resourcetools for on-demand doc fetching with size-tagged URIs, expanded fullstack coverage, enum-validated example categories, and leaner tool/server descriptions.
jac-mcp 0.1.8 (Latest Release)#
- Full CLI access over MCP: AI models can now discover and run any
jacCLI command (including plugin-provided ones) directly from the MCP session.list_commandsreturns a lightweight summary;get_command(name)returns full argument details;execute_commandruns them. Replaces the narrowerstart_server,create_project, andlist_templatestools.
jac-mcp 0.1.7#
- 2 small changes.
- 8 new tools: AI models can now run Jac code, lint files, convert Jac to Python or JavaScript, visualize graphs, list project templates, scaffold new projects, and start a local server - all from within the MCP session.
jac_to_jsfix: Client-side transpilation now correctly targets.cl.jacfiles; previously produced no output.start_serverfix: Server startup now runs from the project's directory sojac.tomlis discovered correctly.- Expanded test coverage: 35 new tests covering all new tools at both the
CompilerBridgeandToolProviderlevels. - Richer example descriptions:
list_examplesnow returns a meaningful one-line description per example (fullstack, OSP, native/lib mode, etc.) so AI models can pick the right one without fetching its contents first.
jac-mcp 0.1.6#
- Fix SSE transport method issue
- Fix
prompts/getfailing with Pydantic validation error: System instructions now correctly userole: "assistant" - Fix CompilerBridge tools returning incorrect results:
check_syntax,validate_jac, andget_astnow use the compiler's structured diagnostics and parse API to correctly detect errors and return real AST output - Fix error reporting and example loading: Syntax errors now report accurate line/column numbers.
list_examplesnow correctly falls back to GitHub API when installed from PyPI, instead of returning an empty list - Fix jac-mcp configuration issue in
jac.toml*: Respect [plugins.mcp] config from jac.toml in jac mcp, using it as fallback when CLI args are not explicitly provided. - Lazy GitHub-based example fetching: Examples are now fetched on-demand from GitHub instead of being bundled in the PyPI package, reducing package size and ensuring examples are always up-to-date. Local repo examples are used when available, with GitHub as a fallback
jac-mcp 0.1.5#
jac-mcp 0.1.4#
- Fix streamable HTTP transport method issue: Refactors the server initialization logic for the
streamable-httptransport method. - 1 small change/refactor.
jac-mcp 0.1.3#
- Updated token definitions path: Grammar resource now references
tokens.na.jac(renamed fromtokens.jac) - Added backtick escaping pitfall: New section documenting when keywords need backtick escaping and clarifying that special variable references (
self,super,root,here,visitor,init,postinit) are used directly without backticks
jac-mcp 0.1.2#
- Compiler-validated MCP content: Cross-validated all code snippets in pitfalls.md and patterns.md against the Jac compiler, fixing critical issues where the server was teaching syntax the compiler rejects
- Fixed
canvsdefguidance:canis only for event-driven abilities (can X with Y entry);defis correct for regular methods. Updated pitfalls, patterns, and SERVER_INSTRUCTIONS accordingly - Fixed
enumerate()pitfall: Corrected documentation that wrongly saidenumerate()is unsupported in Jac - Removed invalid
<>ByRef pitfall: This syntax does not exist in current Jac - Fixed
classvsobjpitfall:classis valid Jac syntax alongsideobj - Fixed match/case syntax in patterns: Uses colon syntax, not braces
- Enhanced SERVER_INSTRUCTIONS: Corrected
can/defguidance sent to AI clients during MCP initialization - Enhanced tool descriptions: Added workflow guidance (MUST validate, use before writing, etc.)
- System/user role separation: All 9 prompt templates now use proper role separation
- QA test suite: Added 149-test
qa_server.jaccovering resources, tools, prompts, server instructions, and compiler validation
jac-mcp 0.1.1#
- Expanded documentation resources: DOC_MAPPINGS now covers all 42 mkdocs pages (up from 12), including tutorials, developer workflow, and quick-start guides
- Auto-generated doc bundling: New
scripts/bundle_docs.jacscript replaces hardcoded CI copy commands, using DOC_MAPPINGS as the single source of truth for PyPI release bundling
jac-mcp 0.1.0#
Initial release of jac-mcp, the MCP (Model Context Protocol) server plugin for Jac.
Features#
- MCP Server: Full MCP server with stdio, SSE, and streamable-http transport support
- Resources (24+): Grammar spec, token definitions, 11 documentation sections, example index, bundled pitfalls/patterns guides
- Tools (9): validate_jac, check_syntax, format_jac, py_to_jac, explain_error, list_examples, get_example, search_docs, get_ast
- Prompts (9): write_module, write_impl, write_walker, write_node, write_test, write_ability, debug_error, fix_type_error, migrate_python
- Compiler Bridge: Parse, typecheck, format, and py2jac operations with timeout protection and input size limits
- CLI Integration:
jac mcpcommand with --transport, --port, --host, --inspect flags - Plugin System: Full Jac plugin with JacCmd and JacPluginConfig hooks