Metadata-Version: 2.4
Name: a9-mcp-readonly
Version: 1.0.0
Summary: Exact spatial reasoning, integer constraints, geometry, and verifiable computation. mcp-name: io.github.PLACEHOLDER/a9-readonly
Author: 屈登飞
License: Apache-2.0
Project-URL: Homepage, https://github.com/PLACEHOLDER/a9
Keywords: mcp,model-context-protocol,a9,shaohao,read-only
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# a9-mcp-readonly

mcp-name: io.github.PLACEHOLDER/a9-readonly

Read-only [Model Context Protocol](https://modelcontextprotocol.io) server for **A9 (SHAOHAO)**.

It exposes four tools over stdio, all backed by `GET` requests to a locally running A9
read-only endpoint:

| Tool | Backend |
|---|---|
| `a9_health` | `GET /health` |
| `a9_computation_objects` | `GET /computation_objects` |
| `a9_structured_latest` | `GET /structured/latest` |
| `a9_events_tail` | `GET /events/tail?limit=N` |

No writes, no POST, no model calls. The server never touches A9 internals.

## Install

```bash
pip install a9-mcp-readonly
```

## Run

```bash
A9_ENDPOINT=http://127.0.0.1:8791 a9-mcp-readonly
```

## Client configuration

```json
{
  "mcpServers": {
    "a9": {
      "command": "a9-mcp-readonly",
      "env": { "A9_ENDPOINT": "http://127.0.0.1:8791" }
    }
  }
}
```

## Notes

- Requires a local A9 read-only endpoint; the package does not start A9.
- If the endpoint is unreachable, tool calls return `isError: true` with the reason.
- Logging defaults to off for installed use (`A9_MCP_LOG=0`).
