Commit Graph

309 Commits

Author SHA1 Message Date
Luca Beurer-Kellner 983844a0a9 Merge branch 'main' into mcp-metadata 2025-05-16 11:32:48 +02:00
Hemang Sarkar a6c1124076 Update test_mcp.py 2025-05-15 15:00:31 +05:30
Hemang Sarkar 0ffde69391 Fix test_mcp_sse_with_gateway_hybrid_guardrails so that we don't rely on order of annotations. 2025-05-15 15:00:31 +05:30
Hemang a214837b1e Add message to session store for MCP sse in post path before returning. 2025-05-14 15:44:52 +02:00
Hemang Sarkar fefc22eea0 Update test_mcp.py to include the transport parameter in the hybrid guardrails test. 2025-05-14 15:32:05 +02:00
Hemang e32ec74ed2 Fix paths to pyproject.toml and README in dockerfile.gateway. Also update context in publish-images.yml 2025-05-14 18:05:14 +05:30
Hemang ed50670bef Add MCP gateway tests with hybrid guardrails (both blocking and logging). Also refactor tests so that we can parameterize the transport type - stdio or sse. 2025-05-14 18:05:14 +05:30
Hemang 8eae198eb0 Add integration tests for MCP SSE via gateway with guardrails. 2025-05-14 14:21:48 +05:30
Hemang e2e004b7b1 Move dockerfiles inside gateway/ and update main CLI script to be able to run build, up, down and logs on a local gateway server instance. 2025-05-14 14:21:48 +05:30
Hemang Sarkar 73de68e822 Update tests_ci.yml with a timeout at the job level. 2025-05-12 15:36:33 +02:00
knielsen404 7cd5950e38 Merge branch 'main' into mcp-metadata 2025-05-12 11:09:22 +02:00
knielsen404 8f9c28158d add server and client name to policy get 2025-05-09 18:43:08 +02:00
Hemang dbab86e0ac Fix broken tests. 2025-05-09 12:17:14 +05:30
Hemang edd9fd9a5c When tool_call is blocked in MCP Post method, add the error message to a pending error messages list. Create two queues in the MCP SSE Get endpoint which correspond to the MCP server events and these pending error messages. These two queues are merged to return events back to the client. 2025-05-09 11:05:33 +05:30
Luca Beurer-Kellner 8988f9a7dd verbose logging + loud exception failure 2025-05-08 18:33:44 +02:00
Luca Beurer-Kellner cfacbde975 log version 2025-05-08 18:08:19 +02:00
Luca Beurer-Kellner c2e9745163 line logging 2025-05-08 18:03:37 +02:00
Hemang 794aae0326 Add MCP guardrailing for SSE. 2025-05-08 20:40:28 +05:30
Luca Beurer-Kellner 9fc384d629 mcp: make error reporting configurable 2025-05-08 15:24:59 +02:00
Hemang 40ec6d2db2 Add MCP SSE server proxying in gateway. 2025-05-08 14:11:22 +05:30
Luca Beurer-Kellner 0de80fafbe test: adjust addresses 2025-05-07 13:51:08 +02:00
Luca Beurer-Kellner 59d112ac26 offset indices in tests 2025-05-07 10:06:41 +02:00
Luca Beurer-Kellner 85de70dcf1 Merge branch 'main' into mcp-metadata 2025-05-07 09:54:10 +02:00
Hemang 132eedab0a Update tests_ci.yml so that the CI run fails even when unit tests fail. 2025-05-07 02:03:06 +05:30
Hemang d057aa5c37 Add httpx as unit test dependencies. 2025-05-07 01:27:13 +05:30
Hemang 1f6e2ed7fb Update streaming in anthropic route to handle chunks with incomplete events. Introduce an sse_buffer which keeps track of the current incomplete event from the last processed chunk. 2025-05-07 01:08:15 +05:30
Hemang aec7808e3e Fix broken integration tests. 2025-05-07 01:08:15 +05:30
Hemang dc9ac9c3c6 Fix broken unit tests. 2025-05-07 01:08:15 +05:30
Luca Beurer-Kellner 356d88a01e list_tools as tool call 2025-05-06 20:55:29 +02:00
Luca Beurer-Kellner 1851cbe818 use empty object as parameters, if None 2025-05-06 18:05:29 +02:00
Luca Beurer-Kellner 9539edddaa extra metadata tests 2025-05-06 17:44:53 +02:00
Hemang e64a977d87 Properly propagate the integrations test and unit test exit code. 2025-05-06 20:10:45 +05:30
Luca Beurer-Kellner 483249761f unify session metadata 2025-05-06 16:24:20 +02:00
Luca Beurer-Kellner 9cf6aa2607 nest extra mcp metadata in metadata object 2025-05-06 16:20:58 +02:00
Luca Beurer-Kellner 6ca07a5802 support for setting static metadata for MCP sessions 2025-05-06 16:17:19 +02:00
Luca Beurer-Kellner 86ec75ba2d use select() before readline (#45) 2025-05-06 16:07:50 +02:00
Luca Beurer-Kellner a5f5ea42da use select() before readline 2025-05-05 13:55:03 +02:00
Hemang 88ba17a803 Move MCP testing stdio server and client into a separate folder. 2025-04-29 15:56:37 +05:30
Hemang dbeb4bc660 Add blocking guardrails based test for MCP gateway. 2025-04-29 09:00:04 +02:00
Hemang d877e5a1e6 Add logging guardrails based test for MCP gateway. 2025-04-29 09:00:04 +02:00
Hemang d983b7431b Add tests for MCP integration in gateway. 2025-04-29 09:00:04 +02:00
Hemang 61c12a4340 Version 0.0.4 2025-04-24 15:48:36 +02:00
Hemang 52f5359d36 Add MCP client and server names in trace metadata for Explorer. 2025-04-24 15:48:36 +02:00
Hemang 7287065940 Improve on request reads from byte by byte to line by line. 2025-04-24 15:48:36 +02:00
knielsen404 55874d552e feat: append_and_push_trace uses configurable API URL 2025-04-23 13:08:57 +01:00
Kristian Nielsen ed63a4b592 fix typo (#42) 2025-04-23 09:28:45 +01:00
Marco Milanta da76fd516a next version 2025-04-17 15:01:40 +02:00
Marco Milanta 12932787b2 fix: print breaks claude
remove print statment
2025-04-17 15:00:34 +02:00
Marco Milanta 20d1e0afd4 fix: print breaks claude 2025-04-17 14:59:59 +02:00
Hemang Sarkar 2b9785de11 Update README.md 2025-04-17 10:05:28 +02:00