TSE: Artificial: Intelligence: TSE acting as an MCP client: 01

14 views
Skip to first unread message

knud van eeden

unread,
Mar 12, 2026, 3:16:32 PMMar 12
to SemWare TSE Pro Text Editor
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.

Inline image


Inline image

Guy Rouillier

unread,
Mar 13, 2026, 2:36:38 AMMar 13
to sem...@googlegroups.com
Perhaps I'm just getting old - will be 70 next month.  But I'm 
trying to imagine a useful application of this technology.  I 
did a little googling and found this site describing "Sample
Applications of MCP":

https://modelcontextprotocol.io/examples

Still, I don't find making my own flight reservations that 
difficult to do, or clicking the "Pull" button on my Git 
client to update a repository I'm following.
--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/1849737062.521841.1773342976844%40mail.yahoo.com.

-- 
Guy Rouillier
Reply all
Reply to author
Forward
0 new messages