Paul Michaels showed how to turn an ordinary . NET code into a set of tools that can be used by AI assistants like Cursor, VS Code, and LM Studio.
His sample MCP server connects to a local LLM through LM Studio, finds available functions in the assembly and allows the agent to call them via stdin/stdout — for example, create or add files.
According to the author, the basic implementation takes about 12 lines of code, and the new AI tool can be described as a simple static method with attributes and a clear text description.