Skip to content

feat: allow passing app id + api key directly #23

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

Merged
merged 1 commit into from
May 21, 2025

Conversation

kombucha
Copy link
Collaborator

@kombucha kombucha commented Apr 19, 2025

🤔 What

  • feat: allow passing app id + api key directly

🤷 Why

It can be practical (for hosting the mcp server) to scope the MCP tools to a specific application instead of relying on the oauth behaviour.
This also allows the node implementation to function in a way that's similar to the Go implementation.

🔍 How

Added an optional --credentials=applicationId:apiKey cli flags. When present, the MCP server will not use the Dashboard's API tools and endpoint anymore. Instead, the passed credentials will be used directly to query the different public APIs

🧪 Testing

Added some ✅

@kombucha kombucha self-assigned this Apr 19, 2025
@kombucha kombucha force-pushed the feat-credentials-from-opts branch 4 times, most recently from bd6f759 to dbe0ff6 Compare April 22, 2025 15:48
@kombucha kombucha force-pushed the feat-credentials-from-opts branch 4 times, most recently from 408a529 to 739a843 Compare May 21, 2025 20:23
@kombucha kombucha marked this pull request as ready for review May 21, 2025 20:31
@kombucha kombucha force-pushed the feat-credentials-from-opts branch from 739a843 to 7b708e5 Compare May 21, 2025 20:57
@kombucha kombucha merged commit 18f2c84 into main May 21, 2025
3 checks passed
@kombucha kombucha deleted the feat-credentials-from-opts branch May 21, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant