Skip to content

Comments

feat: Add event schema for MCP server#24

Merged
Matovidlo merged 5 commits intomainfrom
KAB-1030-add-mcp-server-event-schema
Jul 9, 2025
Merged

feat: Add event schema for MCP server#24
Matovidlo merged 5 commits intomainfrom
KAB-1030-add-mcp-server-event-schema

Conversation

@Matovidlo
Copy link
Contributor

@Matovidlo Matovidlo commented Jun 2, 2025

Before asking for review make sure that:

@Matovidlo Matovidlo force-pushed the KAB-1030-add-mcp-server-event-schema branch from 0288d05 to ad887d0 Compare June 2, 2025 09:46
@Matovidlo Matovidlo requested review from a team and romanbracinik and removed request for a team July 1, 2025 07:47
Copy link

@romanbracinik romanbracinik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uplne neviem o co sa jedna neslo by prehodt review na niekoho kto do toho vidi viac?

@Matovidlo Matovidlo force-pushed the KAB-1030-add-mcp-server-event-schema branch 2 times, most recently from cff154f to 475dccc Compare July 2, 2025 05:08
@Matovidlo
Copy link
Contributor Author

@romanbracinik zatial by sme to mali deployed na canary-orion, potom by sme to chceli dat do produkcie. Jedna sa o eventy pre MCP server podobne ako existuju v tomto repe CLI eventy (pull,push etc.)
V nasom pripade sa jedna o tool calling a argumenty tych toolov s ktorymi to LLM vola + measurement chyb

@Matovidlo
Copy link
Contributor Author

@vita-stejskal I added the sessionID here 696af82 to mcp-server-context for user tool execution tracking

@romanbracinik
Copy link

@romanbracinik zatial by sme to mali deployed na canary-orion, potom by sme to chceli dat do produkcie. Jedna sa o eventy pre MCP server podobne ako existuju v tomto repe CLI eventy (pull,push etc.) V nasom pripade sa jedna o tool calling a argumenty tych toolov s ktorymi to LLM vola + measurement chyb

@Matovidlo Skor mi ide o nejake zadanie alebo nieco podla coho dokazem zvalidovat, ze tento PR je OK

@Matovidlo Matovidlo requested a review from davidesner July 7, 2025 09:06
@Matovidlo
Copy link
Contributor Author

@romanbracinik nalinkoval som jira tasky do description, je tam popis na to ze potrebujeme "merat" tool calling, MCP context uzivatela odkial ide (lokalna, remote instancia), nazov a argumenty toolu

Copy link

@romanbracinik romanbracinik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presiel som to a par veci mi neni uplne jasnych

@Matovidlo Matovidlo requested a review from romanbracinik July 8, 2025 13:28
Copy link

@romanbracinik romanbracinik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok asi cajk

Matovidlo added 5 commits July 9, 2025 07:36
It should track usage of various tools within projects.

fix: Remove query and projectID, add MCP server context

Update schema test acordingly

fix: Rename file to cotains only one dot before extension

Reason: configurationId is not needed for this component

fix: Change tool arguments to be key value pair

fix: Rename keboola.mcp-server to keboola.mcp-server.tool, remove jobID

Reason: We expect to measure prompts and resources and we will have
multiple schemas for the component.
Remove jobID as it is required only by 1 tool

fix: Update tests based on req changes for jobID, key value arguments
Reason: we are tracking sessions of users in which some of the MCP tool
calls have not been/have been working
Reason: the error will be indicated by `type` and `message` fields
@Matovidlo Matovidlo force-pushed the KAB-1030-add-mcp-server-event-schema branch from b2e7856 to a9f2339 Compare July 9, 2025 05:37
@Matovidlo Matovidlo requested a review from vita-stejskal July 9, 2025 05:37
@vita-stejskal
Copy link

Would it be useful to also collect the MCP "transport" type (e.g. stdio versus sse)?

@Matovidlo Matovidlo merged commit 3b22d92 into main Jul 9, 2025
1 check passed
@Matovidlo Matovidlo deleted the KAB-1030-add-mcp-server-event-schema branch July 9, 2025 13:38
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.

5 participants