ruby-sdk/test/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Juliano Julio Costa c10c0ddf9d Refactor MCP tool and server to handle optional server_context parameter
- Updated `call` method in `MCP::Tool` and `MCP::Prompt` to accept `server_context` as an optional parameter.
- Refactored `MCP::Server` to streamline argument handling for tool and prompt calls, introducing helper methods `call_tool_with_args` and `call_prompt_template_with_args`.
- Adjusted tests to reflect changes in method signatures and ensure compatibility with optional `server_context` parameter.
2025-06-10 15:40:28 -04:00
..
server Extract server capabilities into dedicated Capabilities class 2025-06-04 22:52:16 +09:00
tool Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
configuration_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
instrumentation_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
methods_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
prompt_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
server_context_test.rb Refactor MCP tool and server to handle optional server_context parameter 2025-06-10 15:40:28 -04:00
server_test.rb Refactor MCP tool and server to handle optional server_context parameter 2025-06-10 15:40:28 -04:00
string_utils_test.rb Rename test directory from model_context_protocol to mcp 2025-06-01 02:13:28 +09:00
tool_test.rb Refactor MCP tool and server to handle optional server_context parameter 2025-06-10 15:40:28 -04:00