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
..
prompt
stop using shared dir
2025-05-30 14:33:22 -04:00
resource
stop using shared dir
2025-05-30 14:33:22 -04:00
server
Suppress Interrupt exception for stdio server
2025-06-07 19:25:37 +09:00
tool
stop using shared dir
2025-05-30 14:33:22 -04:00
configuration.rb
stop using shared dir
2025-05-30 14:33:22 -04:00
content.rb
stop using shared dir
2025-05-30 14:33:22 -04:00
instrumentation.rb
stop using shared dir
2025-05-30 14:33:22 -04:00
methods.rb
stop using shared dir
2025-05-30 14:33:22 -04:00
prompt.rb
Refactor MCP tool and server to handle optional server_context parameter
2025-06-10 15:40:28 -04:00
resource.rb
Merge pull request #34 from koic/make_some_optional_kwargs_in_resource
2025-05-31 13:34:25 -04:00
resource_template.rb
stop using shared dir
2025-05-30 14:33:22 -04:00
server.rb
Refactor MCP tool and server to handle optional server_context parameter
2025-06-10 15:40:28 -04:00
string_utils.rb
stop using shared dir
2025-05-30 14:33:22 -04:00
tool.rb
Refactor MCP tool and server to handle optional server_context parameter
2025-06-10 15:40:28 -04:00
transport.rb
stop using shared dir
2025-05-30 14:33:22 -04:00
version.rb
stop using shared dir
2025-05-30 14:33:22 -04:00