djcrud-client
Stdio MCP bridge + reusable library for djcrud JSON APIs. No Django required — FastMCP and the HTTP client run in the agent / tool process.
Full documentation: the djcrud Sphinx docs (reference → djcrud_client).
Install
pip install djcrud-client
# dev / prereleases:
pip install --pre djcrud-client
CLI
export DJCRUD_BASE_URL=http://127.0.0.1:8000
export DJCRUD_TOKEN=...
djcrud-client -mcp
djcrud-client --call article_list --json '{}'
djcrud-client --call article_publish --json '{"pk": 1}'
See the full CLI + env var reference in the djcrud docs.
Library usage (import djcrud_client)
from djcrud_client import CrudApi, McpProfile
from djcrud_client.server import create_mcp_server
from djcrud_client.schema import build_tools_from_schema
# High level
mcp = create_mcp_server(base_url=..., token=...)
mcp.run(transport="stdio")
# Low level + direct API
api = CrudApi(base_url=..., token=...)
Host setup (Django side only)
Declare McpProfile subclasses in your app's djcrud.py and register on djcrud_mcp.site
(see djcrud_example/mcp_example/djcrud.py).
Add djcrud_mcp + djcrud_drf to INSTALLED_APPS and include the DRF URLs.
Provide a bearer token when running the client.
Metadata
Release files for djcrud-client 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djcrud_client-0.3.3.tar.gz | 9.9 kB | Without provenance | Details for djcrud_client-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djcrud_client-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for djcrud_client-0.3.3-py3-none-any.whl |
Total release size: 20.9 kB
Release files / djcrud_client-0.3.3.tar.gz
| Download URL | djcrud_client-0.3.3.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43a10c8c067c32c75713f307c5c737bab50b75bdaeefdf2cd41a9b43eb7273b4
|
|
BLAKE2b-256 checksum How to use checksums |
7ebf3622fb86d69d3814c31b5943fe8fcffd6eb849ec0e28da98ea8614683dc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / djcrud_client-0.3.3-py3-none-any.whl
| Download URL | djcrud_client-0.3.3-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2260c43eda81947f2d0816c2f6a85c18ad9756b4d5fc3a67b3bf9f1180c6393
|
|
BLAKE2b-256 checksum How to use checksums |
975376b9aae7076b66d2f812becbefe20eecf654ee2e78048b398167f4695ee8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for djcrud-client 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.