-
Notifications
You must be signed in to change notification settings - Fork 0
[CPL-19830] list dataflows #6
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
Conversation
- passed as a build arg to the image - read from APP_VERSION env var in the app - set to commit sha when building and pushing image to the registry
| npx @modelcontextprotocol/inspector --cli npm run dev --method tools/call --tool-name list-dataflows | ||
|
|
||
| # Call get-schema tool | ||
| npx @modelcontextprotocol/inspector --cli npm run dev --method tools/call --tool-name get-schema --tool-arg dataflowId=<your data flow ID> |
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.
🔥
| import { CouplerioClient } from '@/lib/couplerio-client' | ||
|
|
||
| export const handler = async (): Promise<CallToolResult> => { | ||
| const coupler = new CouplerioClient({ auth: COUPLER_ACCESS_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.
does it make sense to move COUPLER_ACCESS_TOKEN to CouplerioClient?
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.
might be a good idea to move it, once it's more final. I kept it this way in case we have any other auth types. Included this in a task for API SDK improvements https://railsware.atlassian.net/browse/CPL-20383
Changes
x-coupler-clientheader with app version set to commit SHAlist-dataflowstoolHow to test
npx @modelcontextprotocol/inspector --cli npm run dev --method tools/call --tool-name list-dataflowsghcr.io/railsware/coupler-io-mcp-server:pr-6