Skip to content

1.2.0

Latest

Choose a tag to compare

@laurynas-biveinis laurynas-biveinis released this 10 Feb 04:34
· 17 commits to main since this release
acce467

New features

elisp-read-source-file now accepts library names

The tool can now accept library names (e.g., "subr", "mcp-server-lib") in addition to absolute file paths. Library names are resolved using Emacs locate-library and validated against the same security whitelist. This makes it easier for AI agents to read built-in Emacs packages without needing to first determine the Emacs installation path.

Examples:

  • elisp-read-source-file "subr" - reads built-in subr.el
  • elisp-read-source-file "mcp-server-lib" - reads installed package
  • elisp-read-source-file "/absolute/path/file.el" - still works as before

This addresses GitHub issue #5.