Skip to content

Commit 146ca70

Browse files
committed
updates to readme and contributing
1 parent 07c0a68 commit 146ca70

File tree

3 files changed

+52
-67
lines changed

3 files changed

+52
-67
lines changed

CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Developing
2+
3+
### Packages
4+
5+
- eslint-config: Eslint config used by all apps and packages.
6+
- typescript-config: tsconfig used by all apps and packages.
7+
- mcp-common: Shared common tools and scripts to help manage this repo.
8+
9+
For more details on development in this monorepo, take a look at apps/workers-observability
10+
11+
## Testing
12+
13+
The project uses Vitest as the testing framework with MSW (Mock Service Worker) for API mocking.
14+
15+
### Running Tests
16+
17+
To run all tests:
18+
19+
```bash
20+
pnpm test
21+
```
22+
23+
To run a specific test file:
24+
25+
```bash
26+
pnpm test -- tests/tools/queues.test.ts
27+
```
28+
29+
To run tests in watch mode (useful during development):
30+
31+
```bash
32+
pnpm test:watch
33+
```

README.md

Lines changed: 18 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,43 @@
11
# Cloudflare MCP Server
22

3-
Model Context Protocol (MCP) is a [new, standardized protocol](https://modelcontextprotocol.io/introduction) for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for [Cloudflare's API](https://api.cloudflare.com).
3+
Model Context Protocol (MCP) is a [new, standardized protocol](https://modelcontextprotocol.io/introduction) for managing context between large language models (LLMs) and external systems. In this repository, you can find several MCP servers allowing you to connect to Cloudflare's service from an MCP client (e.g. Cursor, Claude Desktop) and use natural language to accomplish things on your Cloudflare account. The following servers are included in this repository:
44

5-
This lets you use Claude Desktop, or any MCP Client, to use natural language to accomplish things on your Cloudflare account, e.g.:
5+
| Server Name | Description | Server URL |
6+
|--------------------------|-----------------------------------------------------------------------------|-------|
7+
| [**Documentation server**](/apps/docs-autorag) | Get up to date reference information on Cloudflare | `https://docs.mcp.cloudflare.com/sse` |
8+
| [**Workers Bindings server**](/apps/bindings) | Build Workers applications with storage, AI, and compute primitives | `https://bindings.mcp.cloudflare.com/sse` |
9+
| [**Observability server**](/apps/observability) | Debug and get insight into your application’s logs and analytics | `https://observability.mcp.cloudflare.com/sse` |
10+
| [**Radar server**](/apps/radar) | Get global Internet traffic insights, trends, URL scans, and other utilities | `https://radar.mcp.cloudflare.com/sse` |
611

7-
- `List all the Cloudflare workers on my <some-email>@gmail.com account.`
8-
- `Can you tell me about any potential issues on this particular worker '...'?`
12+
## Access the remote MCP server from any MCP client
913

10-
## Access the remote MCP server from Claude Desktop
14+
If your MCP client has first class support for remote MCP servers, the client will provide a way to accept the server URL directly within its interface (e.g. [Cloudflare AI Playground](https://playground.ai.cloudflare.com/))
1115

12-
Open Claude Desktop and navigate to Settings -> Developer -> Edit Config. This opens the configuration file that controls which MCP servers Claude can access.
13-
14-
Replace the content with the following configuration. Once you restart Claude Desktop, a browser window will open showing your OAuth login page. Complete the authentication flow to grant Claude access to your MCP server. After you grant access, the tools will become available for you to use.
16+
If your client does not yet support remote MCP servers, you will need to set up its resepective configuration file using mcp-remote (https://www.npmjs.com/package/mcp-remote) to specify which servers your client can access.
1517

1618
```json
1719
{
1820
"mcpServers": {
19-
"cloudflare": {
21+
"cloudflare-observability": {
2022
"command": "npx",
2123
"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/sse"]
22-
}
24+
},
25+
"cloudflare-bindings": {
26+
"command": "npx",
27+
"args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/sse"]
28+
},
2329
}
2430
}
2531
```
2632

2733
## Need access to more Cloudflare tools?
2834

29-
We're gradually moving over functionality to this remote MCP server repo. In the meantime please take a look at the local only mcp-server-cloudflare package which currently has more tools available.
30-
31-
Visit <https://www.npmjs.com/package/@cloudflare/mcp-server-cloudflare>
35+
We're continuing to add more functionality to this remote MCP server repo. If you'd like to leave feedback, file a bug or provide a feature request, [please open an issue](https://github.com/cloudflare/mcp-server-cloudflare/issues/new/choose) on this repository
3236

3337
## Paid Features
3438

3539
Some features may require a paid Cloudflare Workers plan. Ensure your Cloudflare account has the necessary subscription level for the features you intend to use.
3640

37-
## Features
38-
39-
### Workers Management
40-
41-
- `worker_list`: List all Workers in your account
42-
- `worker_get_worker`: Get a Worker's script content
43-
44-
### Workers Logs
45-
46-
- `worker_logs_by_worker_name`: Analyze recent logs for a Cloudflare Worker by worker name
47-
- `worker_logs_by_ray_id`: Analyze recent logs across all workers for a specific request by Cloudflare Ray ID
48-
- `worker_logs_keys`: Get available telemetry keys for a Cloudflare Worker
49-
50-
## Developing
51-
52-
### Apps
53-
54-
- [workers-observability](apps/workers-observability): The Workers Observability MCP server
55-
- [radar](apps/radar): The Cloudflare Radar MCP server
56-
57-
### Packages
58-
59-
- eslint-config: Eslint config used by all apps and packages.
60-
- typescript-config: tsconfig used by all apps and packages.
61-
- mcp-common: Shared common tools and scripts to help manage this repo.
62-
63-
For more details on development in this monorepo, take a look at apps/workers-observability
64-
65-
## Testing
66-
67-
The project uses Vitest as the testing framework with MSW (Mock Service Worker) for API mocking.
68-
69-
### Running Tests
70-
71-
To run all tests:
72-
73-
```bash
74-
pnpm test
75-
```
76-
77-
To run a specific test file:
78-
79-
```bash
80-
pnpm test -- tests/tools/queues.test.ts
81-
```
82-
83-
To run tests in watch mode (useful during development):
84-
85-
```bash
86-
pnpm test:watch
87-
```
88-
8941
## Contributing
9042

91-
Contributions are welcome! Please feel free to submit a Pull Request.
43+
Interested in contributing, and running this server locally? See [CONTRIBUTING.md](CONTRIBUTING.md) to get started.

apps/radar/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This MCP server is still a work in progress, and we plan to add more tools in th
3636

3737
## Access the remote MCP server from from any MCP Client
3838

39-
If your MCP client has first class support for remote MCP servers, the client will provide a way to accept the server URL directly within its interface.
39+
If your MCP client has first class support for remote MCP servers, the client will provide a way to accept the server URL directly within its interface (e.g. [Cloudflare AI Playground](https://playground.ai.cloudflare.com/))
4040

4141
If your client does not yet support remote MCP servers, you will need to set up its resepective configuration file using mcp-remote (https://www.npmjs.com/package/mcp-remote) to specify which servers your client can access.
4242

0 commit comments

Comments
 (0)