-
Notifications
You must be signed in to change notification settings - Fork 144
Add DNS Analytic MCP #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DNS Analytic MCP #121
Conversation
async ({ zone, days }) => { | ||
try { | ||
console.log('fetching DNS record') | ||
const client = getCloudflareClient(env.CLOUDFLARE_API_TOKEN) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we're passing a hardcoded API token here rather than using the user's api token that was granted to the server from oauth, is that intentional? Can we add a corresponding DNS oauth scope to our oauth app?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIP.
Add UserDetails binding for active account id.
|
||
const AnalyticsScopes = { | ||
...RequiredScopes, | ||
'account:read': 'See your account info such as account details, analytics, and memberships.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe can add todo comment to add dns scopes here so we don't forget
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Merged in !126! |
This PR adds DNS Analytic MCP that integrates MCP server with Cloudflare API to retrieve and analyze DNS Configurations.