feat: Add Goals structure to MCP server budget response#13
Merged
eshaffer321 merged 1 commit intomainfrom Oct 12, 2025
Merged
Conversation
This commit prepares the MCP server to support goals data in budget queries by: - Adding GoalEntry type with fields for goal metadata (ID, name, balances, accounts) - Adding Goals field to GetBudgetOutput response structure - Updating .gitignore to exclude MCP binary artifacts and test files Currently returns nil for goals with a comment explaining that goals require a separate API query. This sets up the infrastructure for future goals support without breaking existing functionality. The Goals API integration will be completed in a follow-up PR once the correct GraphQL query structure is determined from the Monarch Money API. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (41.80%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #13 +/- ##
=======================================
Coverage 41.80% 41.80%
=======================================
Files 15 15
Lines 2239 2239
=======================================
Hits 936 936
Misses 1236 1236
Partials 67 67
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares the MCP server to support goals data in budget queries by adding the necessary data structures.
Changes
GoalEntrytype with fields for goal metadata (ID, name, balances, type, accounts)Goalsfield toGetBudgetOutputresponse structure.gitignoreto exclude MCP binary artifacts and test filesCurrent State
Currently returns
nilfor goals with a comment explaining that goals require a separate API query. This sets up the infrastructure for future goals support without breaking existing functionality.Next Steps
The Goals API integration will be completed in a follow-up PR once the correct GraphQL query structure is determined from the Monarch Money API. Initial investigation shows that
budgetData.goalsV2doesn't exist in the API schema - goals likely need to be queried separately.Testing
🤖 Generated with Claude Code