TSE: Artificial: Intelligence: TSE acting as an MCP client: 01
Hello,
FYIO
MCP = Model Context Protocol.
There are MCP clients and MCP clients.
The MCP server allows connected external clients to execute terminal commands without prompting for user.
Acting as an MCP client is already implemented in many text editors (Vim, Visual Studio Code, JetBrain IntelliJ, ...).
So also setting up TSE to act as an MCP client.
Typically having Python installed, then via Dos() and to work automatically also needing an API key.
The MCP client and MCP server communicate primarily via JSON (sending a JSON request and receiving a JSON response).
What one e.g. can do is to let the AI recompile more than once (e.g. 1 or 2 or maximum 3 times) via sc32.exe an automatically generated
TSE .s file until it compiles successfully.
So basically letting TSE run as an AI 'agent'.
AI used: Claude
See also:
TSE for Microsoft Windows 4.50 RC24
Operating system Microsoft Windows 11 Professional
Python version 3.11.3
Directory used: c:\temp\
Example mcp_client.s file
Download the latest version here:
or here (click in the right top on the download button)
---
Example mcp_client.py file
Download the latest version here:
or here (click in the right top on the download button)
Example bufferlister.s file
Download the latest version here:
or here (click in the right top on the download button)
with friendly greetings
Knud van Eeden
Artificial Intelligence specialist
IT specialist
TSE specialist
===
bufferlister.s:
Automatically generated and then compiled maximum 3 attempts via sc32.exe,
using Claude API and Claude API key.