Merged
Conversation
added 11 commits
July 7, 2025 11:58
…dpoint for mcp usage
allows admin to know which mcp's are being used
allow user to know which key is driving spend
allow accurate cost tracking
store aggregate daily activity by mcp_namespaced_tool_name Enables cost / usage tracking by mcp tool name
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
enables storing the mcp calls
4 tasks
This pull request was closed.
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.
fix(common_daily_activity.py): initial commit with working mock BE endpoint for mcp usage
feat(ui/): show mcp server activity on UI
allows admin to know which mcp's are being used
feat(common_daily_activity.py): return activity by key
feat(ui/): show top api keys for a given model / mcp server
allow user to know which key is driving spend
fix(common_daily_activity.py): use known mcp server names
feat(server.py): log the namespaced tool name (includes server prefix)
allow accurate cost tracking
store aggregate daily activity by mcp_namespaced_tool_name
Enables cost / usage tracking by mcp tool name
fix(server.py): add key/user metadata to mcp calls
refactor(common_daily_activity.py): update to return mcp activity in API
fix(common_daily_activity.py): handle empty key
fix(common_daily_activity.py): track when api key is empty
test(test_spend_management_endpoints.py): update tests
fix: fix ui linting error
fix: fix linting errors
test: add missing key
build(schema.prisma): add mcp tool tracking
fix(migration.sql): add schema migration file
feat(server.py): add request logging for mcp calls
enables storing the mcp calls
fix(new_usage.tsx): fix linting errors
fix: fix code qa errors
fix(activity_metrics.tsx): fix ui linting errors post-merge
fix(types/utils.py): fix linting error
fix(server.py): always have name