Skip to content

Commit 810996e

Browse files
committed
Expose TLA+ language model tools via Model Context Protocol server
Add support for the Model Context Protocol (MCP) which enables TLA+ language model tools to be used by editors that implement MCP but don't support VS Code's native LanguageModelTool API - specifically Cursor editor. The implementation: - Adds an MCP server exposing four TLA+ tools (parse, symbol, check, smoke) - Makes the server configurable via a new `tlaplus.mcp.port` setting - Ensures the server starts/stops properly with the extension lifecycle - Integrates @modelcontextprotocol/sdk dependency for MCP specification References: https://forum.cursor.com/t/support-languagemodeltool-api/91137 microsoft/vscode-discussions#2411 (comment) [Feature] Signed-off-by: Markus Alexander Kuppe <[email protected]>
1 parent 1be9127 commit 810996e

File tree

5 files changed

+1404
-19
lines changed

5 files changed

+1404
-19
lines changed

0 commit comments

Comments
 (0)