Metadata-Version: 2.4
Name: cad-mcp
Version: 0.10.1
Summary: The stdio transport an agent app starts for text-to-cad's CAD app: MCP carried to the device's CAD server, with the standard library alone.
Author: earthtojake
License-Expression: MIT
Project-URL: Homepage, https://github.com/earthtojake/text-to-cad
Project-URL: Repository, https://github.com/earthtojake/text-to-cad
Project-URL: Issues, https://github.com/earthtojake/text-to-cad/issues
Keywords: cad,mcp,agent-skills
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
Requires-Python: >=3.14
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# cad-mcp

The stdio transport an agent app starts for text-to-cad's CAD app (`cad-mcp`): it carries the app's MCP
requests to the CAD server on this computer, over HTTP, and the server's answers back. The standard
library alone, imported as `cad_mcp`.

It holds no tool, view or document: the server does. What it does on its own:

- **Reaches the server** the way every client does: through the server's door in its folder, which names
  the server's HTTP endpoint and token. When none answers, it starts the current installation's server
  (`installations/current` in the user's state folder), whatever release it is itself.
- **Registers one first** on a computer with no installation current: the server its own environment
  carries, else the server of its own release, installed by `uvx`.
- **Holds the server** while the app runs, under a name its sessions are opened by, which end when the
  app quits.
- **Opens the person's browser** where a text-only app's `cad_show` asks, in the app's own environment,
  never in the server's, and tells the server whether it opened.
- **Says which app started it**, read from its parent processes, which only it can see.
