Admin CLI for Dwarix, the MCP-native IAM gateway for AI agents
Project description
Dwarix CLI
Admin CLI for Dwarix, the MCP-native IAM gateway for AI agents.
Install
pip install dwarix-cli
Entrypoints:
dwarix
dwarix-setup
dwarix-setup is a legacy alias for setup subcommands.
Usage
Configure gateway URL and admin key:
dwarix configure
Common commands:
dwarix agent create --name billing-agent --tags billing,prod
dwarix agent list --json
dwarix token issue <agent_id> --ttl 30
dwarix policy set <agent_id> --allow "stripe/*" --deny "*/delete*" --rate-limit 60
dwarix tools register stripe http://localhost:9001
dwarix logs tail --limit 20 --json
dwarix stats --json
By default, the CLI reads:
DWARIX_GATEWAY_URL, defaulthttp://localhost:8080DWARIX_ADMIN_KEY, defaultdev-admin-key-change-in-production
dwarix configure stores values in ~/.dwarix/config.json.
Development
Run from repository root:
python -m cli.main --help
Build package from this directory:
cd cli
python -m build
python -m twine check dist/*
Publish:
python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dwarix_cli-0.1.0.tar.gz.
File metadata
- Download URL: dwarix_cli-0.1.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dde001b5bc9461c9c13fb99793b725cc5eebdfd9ed42072a0729b8f14eb1175a
|
|
| MD5 |
169407e0ca31c7802505429f885f394f
|
|
| BLAKE2b-256 |
4ad51fab2eb7d0c4cae779bb82a7d346396c3e5f8f43a2f7ff3f8dcdfe9b0223
|
File details
Details for the file dwarix_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dwarix_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
481eb8a8614c0d98318c03c88602cd018762c8e99829d8f879bb8244237eacaa
|
|
| MD5 |
b3336d0dbead49fbb5ef0850a7f55f61
|
|
| BLAKE2b-256 |
1495ec11071bf67dffbbb79b0dba8a653be589cf4b08506c68fabb22d0167c58
|