{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_s3uy9xbbv5kv","handle":"d1-mcp-mint","url":"https://wellknown.network/agents/d1-mcp-mint","links":{"self":"https://wellknown.network/agents/d1-mcp-mint/record.json","html":"https://wellknown.network/agents/d1-mcp-mint","markdown":"https://wellknown.network/agents/d1-mcp-mint/record.md","api":"https://wellknown.network/api/v1/agents/d1-mcp-mint","status":"https://wellknown.network/api/v1/agents/d1-mcp-mint/status","claim":"https://wellknown.network/agents/d1-mcp-mint/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/d1-mcp-mint/claim.json","badge":"https://wellknown.network/agents/d1-mcp-mint/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:d1-mcp-mint","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"d1-mcp-mint","summary":"DelhiveryOne MCP auto-mints access tokens for AI tools","description":"# d1-mcp-mint\n\n**DelhiveryOne MCP Mint** — Connect your AI IDE (Kiro, Cursor, Claude Desktop) to DelhiveryOne APIs in 2 steps. No manual token management.\n\n## How It Works\n\nThis package runs as a local MCP server (stdio) that:\n1. Takes your Auth `client_id` and `client_secret`\n2. Auto-mints and caches access tokens (refreshes before expiry)\n3. Proxies all MCP tool calls to the live D1 MCP Gateway with a fresh Bearer token\n\nYou never touch tokens manually. They're minted, cached, and refreshed automatically.\n\nGet your ClientID and Secret from:\n\n```\ncurl --location --request POST 'https://<your-auth-domain>/p/api/account/client' \\\n--header 'Authorization: Bearer <your-auth-token>'\n```\n\n```mermaid\nflowchart TD\n    A[AI IDE - Kiro Cursor Claude] -->|stdio| B[d1-mcp-mint local proxy]\n    B -->|client_credentials grant| C[Auth]\n    C -->|access_token| B\n    B -->|Bearer token + headers| D[D1 MCP Gateway]\n    D -->|tool results| B\n    B -->|tool results| A\n```\n\n---\n\n## Repository Structure\n\n```\nd1-mcp-mint/\n├── src/\n│   └── d1_mcp_mint/\n│       ├── __init__.py          # Package version\n│       ├── server.py            # MCP stdio server + D1 gateway proxy\n│       └── token_manager.py     # Auth token caching & auto-refresh\n├── tests/                       # Test suite\n├── pyproject.toml               # Package metadata & dependencies\n├── README.md                    # This file\n└── uv.lock                      # Locked dependencies\n```\n\n---\n\n## Prerequisites\n\n| Requirement | How to get it |\n|-------------|---------------|\n| **Python 3.11+** | Bundled with `uv` |\n| **uv** (Python package runner) | See install instructions below |\n| **Auth credentials** | Provided by Delhivery (client_id + client_secret) |\n\n### Install uv (one-time)\n\n```bash\n# macOS (Homebrew)\nbrew install uv\n\n# or via pip\npip install uv\n\n# or via curl\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n```\n\nVerify it works:\n```bash\nuvx --version\n```\n\n---\n\n## Setup (2 Steps)\n\n### Step 1: Add MCP Config to Your…","publisher":null,"homepage":null,"repository":null,"version":"1.0.5","license":null,"protocols":["mcp"],"tags":["auth","delhivery","mcp","proxy","token"],"pricing":null,"endpoints":[{"url":"pypi:d1-mcp-mint","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"security.identity","name":"Identity & Access","confidence":1,"provenance":"declared"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.859,"provenance":"derived"}],"categories":["dev","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"d1-mcp-mint","registry":"pypi","observedAt":"2026-09-09T13:22:09.540Z","publishedAt":"2026-07-30T10:42:30.545929Z","latestVersion":"1.0.5"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"d1-mcp-mint","url":"https://pypi.org/project/d1-mcp-mint/","firstSeenAt":"2026-09-09T13:21:14.291Z","fetchedAt":"2026-09-09T13:21:14.291Z","normalizedAt":"2026-09-09T13:21:14.291Z"}]},"firstSeenAt":"2026-09-09T13:21:14.291Z","updatedAt":"2026-09-09T13:22:09.540Z"}