Skip to content

Commit 22b009d

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 f761b02 commit 22b009d

File tree

5 files changed

+1414
-19
lines changed

5 files changed

+1414
-19
lines changed

0 commit comments

Comments
 (0)