Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/lazy-trains-send.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@repo/tools': patch
---

chore: remove pnpx from wrangler deploy script

This is redundant because turbo and pnpm already add the bundled wrangler command to $PATH
7 changes: 7 additions & 0 deletions .changeset/ripe-hornets-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@repo/typescript-config': patch
---

chore: remove publishConfig from typescript-config/package.json

This did nothing.
2 changes: 1 addition & 1 deletion .github/workflows/evals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
du -h ./apps/sandbox-container/.dev.vars
du -h ./apps/workers-bindings/.dev.vars
- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile --child-concurrency=10
- name: Run evals
run: pnpm eval:ci
4 changes: 2 additions & 2 deletions .github/workflows/test-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile --child-concurrency=10
- name: Syncpack lint
run: pnpm syncpack lint
run: pnpm check:deps
- name: Run linter
run: pnpm check:turbo
- name: Run linter (formatting)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ The following servers are included in this repository:
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [**Documentation server**](/apps/docs-vectorize) | Get up to date reference information on Cloudflare | `https://docs.mcp.cloudflare.com/sse` |
| [**Workers Bindings server**](/apps/workers-bindings) | Build Workers applications with storage, AI, and compute primitives | `https://bindings.mcp.cloudflare.com/sse` |
| [**Observability server**](/apps/workers-observability) | Debug and get insight into your application’s logs and analytics | `https://observability.mcp.cloudflare.com/sse` |
| [**Workers Builds server**](/apps/workers-builds) | Get insights and manage your Cloudflare Workers Builds | `https://builds.mcp.cloudflare.com/sse` |
| [**Observability server**](/apps/workers-observability) | Debug and get insight into your application's logs and analytics | `https://observability.mcp.cloudflare.com/sse` |
| [**Radar server**](/apps/radar) | Get global Internet traffic insights, trends, URL scans, and other utilities | `https://radar.mcp.cloudflare.com/sse` |
| [**Container server**](/apps/sandbox-container) | Spin up a sandbox development environment | `https://containers.mcp.cloudflare.com/sse` |
| [**Browser rendering server**](/apps/browser-rendering) | Fetch web pages, convert them to markdown and take screenshots | `https://browser.mcp.cloudflare.com/sse` |
Expand Down
4 changes: 0 additions & 4 deletions apps/dns-analytics/src/tools/dex-analytics.tools.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import { z } from 'zod'

import { getCloudflareClient } from '@repo/mcp-common/src/cloudflare-api'
import { getEnv } from '@repo/mcp-common/src/env'

import type { AccountGetParams } from 'cloudflare/resources/accounts/accounts.mjs'
import type { ReportGetParams } from 'cloudflare/resources/dns/analytics.mjs'
import type { ZoneGetParams } from 'cloudflare/resources/dns/settings.mjs'
import type { DNSAnalyticsMCP } from '../dns-analytics.app'
import type { Env } from '../dns-analytics.context'

const env = getEnv<Env>()

function getStartDate(days: number) {
const today = new Date()
Expand Down
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
{
"name": "@cloudflare/mcp-server-cloudflare",
"version": "1.0.0",
"description": "MCP server for interacting with Cloudflare API",
"description": "Monorepo for Cloudflare MCP servers",
"license": "Apache-2.0",
"author": "Cloudflare, Inc. (https://cloudflare.com)",
"homepage": "https://github.com/cloudflare/mcp-server-cloudflare",
"bugs": "https://github.com/cloudflare/mcp-server-cloudflare/issues",
"type": "module",
"main": "dist/index.js",
Comment thread
jahands marked this conversation as resolved.
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"access": "public",
"sideEffects": false,
"scripts": {
"changeset:new": "run-changeset-new",
"check:deps": "pnpm exec syncpack lint",
"check:deps": "syncpack lint",
"check:format": "prettier . --check --cache --ignore-unknown",
"check:turbo": "run-turbo check",
"types": "run-turbo types",
"test:ci": "run-vitest-ci",
"test": "vitest run --passWithNoTests",
"fix:format": "prettier . --write",
"fix:format": "prettier . --write --cache --ignore-unknown",
"fix:deps": "run-fix-deps",
"test:watch": "vitest",
"eval:ci": "run-turbo eval:ci"
"eval:ci": "run-turbo eval:ci",
"update-deps": "syncpack update"
},
"devDependencies": {
"@changesets/cli": "2.28.1",
Expand Down
1 change: 0 additions & 1 deletion packages/mcp-common/src/tools/hyperdrive.tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
HyperdriveListParamPerPageSchema,
HyperdriveOriginDatabaseSchema,
HyperdriveOriginHostSchema,
HyperdriveOriginPasswordSchema,
HyperdriveOriginPortSchema,
HyperdriveOriginSchemeSchema,
HyperdriveOriginUserSchema,
Expand Down
5 changes: 4 additions & 1 deletion packages/tools/bin/run-wrangler-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ VERSION=$(jq -r '.version' package.json)

# Deploy with wrangler using the extracted values as binding variables
echo "Deploying MCP server $NAME version $VERSION"
pnpx wrangler deploy --var MCP_SERVER_NAME:"$NAME" --var MCP_SERVER_VERSION:"$VERSION" "$@"
Comment thread
jahands marked this conversation as resolved.
wrangler deploy \
--var MCP_SERVER_NAME:"$NAME" \
--var MCP_SERVER_VERSION:"$VERSION" \
"$@"
3 changes: 0 additions & 3 deletions packages/typescript-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "0.2.4",
"private": true,
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/node": "22.14.1"
}
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependsOn": ["^check:types"]
},
"check:lint": {
"env": ["GITHUB_ACTIONS"],
Comment thread
jahands marked this conversation as resolved.
"dependsOn": ["^check:lint"]
},
"eval:ci": {
Expand Down