Metadata-Version: 2.5
Name: mocop
Version: 0.2.0
Summary: Command line for mocop: search APIs, MCP servers and agents, score a website's agent-readiness, manage your domains.
Project-URL: Homepage, https://mocop.ai/docs#cli
Project-URL: Documentation, https://mocop.ai/docs
Author: Mayberry Tech
License: MIT
Keywords: a2a,agents,api,cli,llms.txt,mcp,openapi,search
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# mocop

Command line for [mocop](https://mocop.ai): search APIs, MCP servers and agents, score a website's agent-readiness, and manage your domains. Pure Python standard library, no dependencies.

```
pipx install mocop        # or: uvx mocop search "send sms"
mocop --help
mocop search "send sms" --type api --limit 5
mocop analyze example.com
mocop auth login          # OAuth in the browser; --device for headless machines
```

Add `--json` for machine-readable output. Set `MOCOP_TOKEN` to use a bearer token in CI. Docs: https://mocop.ai/docs#cli

## Library

```python
from mocop import Mocop

m = Mocop()                                   # read APIs need no key
m.search("send sms", type="api", limit=5)
report = m.analyze("example.com")             # agent-readiness score out of 10
print(report["score"], report["grade"])

Mocop(token="...").add_domain("example.com")  # account calls need a token (mocop auth token)
```

JavaScript/TypeScript: `npm install @mayberrytech/mocop-sdk`.
