Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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: 4 additions & 3 deletions apps/workers-observability/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ import {
import { registerAccountTools } from '@repo/mcp-common/src/tools/account'
import { registerWorkersTools } from '@repo/mcp-common/src/tools/worker'

import { registerLogsTools } from './tools/logs'

import type { AccountSchema, UserSchema } from '@repo/mcp-common/src/cloudflare-oauth-handler'
import { registerObservabilityTools } from './tools/observability'

// Context from the auth process, encrypted & stored in the auth token
// and provided to the DurableMCP as this.props
Expand Down Expand Up @@ -41,7 +40,8 @@ export class ObservabilityMCP extends McpAgent<Env, State, Props> {
registerWorkersTools(this)

// Register Cloudflare Workers logs tools
registerLogsTools(this)
registerObservabilityTools(this)
console.log('ObservabilityMCP initialized')
}

getActiveAccountId() {
Expand All @@ -61,6 +61,7 @@ export class ObservabilityMCP extends McpAgent<Env, State, Props> {
activeAccountId: accountId,
})
} catch (e) {
console.error('Failed to set active accountId', e)
return null
}
}
Expand Down
307 changes: 0 additions & 307 deletions apps/workers-observability/src/tools/logs.ts

This file was deleted.

Loading
Loading