Skip to content

feat: Add Goals structure to MCP server budget response#13

Merged
eshaffer321 merged 1 commit intomainfrom
feat/mcp-server-goals-structure
Oct 12, 2025
Merged

feat: Add Goals structure to MCP server budget response#13
eshaffer321 merged 1 commit intomainfrom
feat/mcp-server-goals-structure

Conversation

@eshaffer321
Copy link
Copy Markdown
Owner

Summary

Prepares the MCP server to support goals data in budget queries by adding the necessary data structures.

Changes

  • ✅ Add GoalEntry type with fields for goal metadata (ID, name, balances, type, accounts)
  • ✅ Add Goals field to GetBudgetOutput response structure
  • ✅ Update .gitignore to exclude MCP binary artifacts and test files

Current State

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.

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.goalsV2 doesn't exist in the API schema - goals likely need to be queried separately.

Testing

  • MCP server builds successfully
  • MCP server runs and returns budget data (with empty goals array)
  • No breaking changes to existing functionality

🤖 Generated with Claude Code

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
Copy link
Copy Markdown

codecov Bot commented Oct 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 41.80%. Comparing base (70bf1a1) to head (28cc8b3).
⚠️ Report is 1 commits behind head on main.

❌ 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

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   41.80%   41.80%           
=======================================
  Files          15       15           
  Lines        2239     2239           
=======================================
  Hits          936      936           
  Misses       1236     1236           
  Partials       67       67           
Flag Coverage Δ
unittests 41.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 70bf1a1...28cc8b3. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eshaffer321 eshaffer321 merged commit 05a7f9f into main Oct 12, 2025
12 of 13 checks passed
@eshaffer321 eshaffer321 deleted the feat/mcp-server-goals-structure branch October 12, 2025 01:47
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