Skip to content

Commit 08d099d

Browse files
committed
Add Cloudflare API client with DNS management
Introduces a new Cloudflare API client under lzl.api.cloudflare, including sync/async support, DNS record CRUD and batch operations, declarative DNS management, and environment-based configuration. Adds documentation, models, resource classes, and module-level singletons for convenient usage.
1 parent 912cc9d commit 08d099d

12 files changed

Lines changed: 2736 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ tests/out/lzl/api/qdrant/client_v2.pyi
6464
tests/out/lzl/api/qdrant/client_v3.pyi
6565
src/lzo/utils/.tmpdata
6666
.cursor/mcp.json
67-
.mcp.json
67+
# .mcp.json
6868
tests/_deprecated/lzl/file_08262025.py
6969

7070
# MkDocs build artifacts

.mcp.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"mcpServers": {
3+
"cloudflare_docs": {
4+
"type": "stdio",
5+
"command": "npx",
6+
"args": [
7+
"mcp-remote",
8+
"https://docs.mcp.cloudflare.com/mcp"
9+
],
10+
"env": {}
11+
},
12+
"cloudflare": {
13+
"type": "stdio",
14+
"command": "npx",
15+
"args": [
16+
"mcp-remote",
17+
"https://dns-analytics.mcp.cloudflare.com/mcp"
18+
],
19+
"env": {}
20+
}
21+
}
22+
}

docs/api/lzl/api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The `lzl.api` module contains clients and integrations for various external serv
1212

1313
## Service Integrations
1414

15+
### Cloudflare
16+
::: lzl.api.cloudflare
17+
18+
See the [Cloudflare Client Guide](cloudflare.md) for detailed documentation.
19+
1520
### OpenAI
1621
::: lzl.api.openai
1722

0 commit comments

Comments
 (0)