You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,17 @@ The Cloudflare Python library provides convenient access to the Cloudflare REST
7
7
application. The library includes type definitions for all request params and response fields,
8
8
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
9
9
10
+
It is generated with [Stainless](https://www.stainless.com/).
11
+
12
+
## MCP Server
13
+
14
+
Use the Cloudflare MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
15
+
16
+
[](https://cursor.com/en-US/install-mcp?name=cloudflare-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNsb3VkZmxhcmUtbWNwIl19)
17
+
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22cloudflare-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22cloudflare-mcp%22%5D%7D)
18
+
19
+
> Note: You may need to set environment variables in your MCP client.
20
+
10
21
## Documentation
11
22
12
23
The REST API documentation can be found on [developers.cloudflare.com](https://developers.cloudflare.com/api). The full API of this library can be found in [api.md](api.md).
@@ -15,7 +26,7 @@ The REST API documentation can be found on [developers.cloudflare.com](https://d
15
26
16
27
```sh
17
28
# install from PyPI
18
-
pip install cloudflare
29
+
pip install --pre cloudflare
19
30
```
20
31
21
32
## Usage
@@ -79,7 +90,7 @@ You can enable this by installing `aiohttp`:
79
90
80
91
```sh
81
92
# install from PyPI
82
-
pip install cloudflare[aiohttp]
93
+
pip install --pre cloudflare[aiohttp]
83
94
```
84
95
85
96
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
@@ -203,10 +214,11 @@ from cloudflare import Cloudflare
0 commit comments