Module: MCP
- Defined in:
- lib/mcp.rb,
lib/mcp/tool.rb,
lib/mcp/client.rb,
lib/mcp/prompt.rb,
lib/mcp/server.rb,
lib/mcp/content.rb,
lib/mcp/methods.rb,
lib/mcp/version.rb,
lib/mcp/resource.rb,
lib/mcp/transport.rb,
lib/mcp/client/http.rb,
lib/mcp/client/tool.rb,
lib/mcp/string_utils.rb,
lib/mcp/configuration.rb,
lib/mcp/prompt/result.rb,
lib/mcp/tool/response.rb,
lib/mcp/prompt/message.rb,
lib/mcp/instrumentation.rb,
lib/mcp/prompt/argument.rb,
lib/mcp/tool/annotations.rb,
lib/mcp/transports/stdio.rb,
lib/mcp/resource/contents.rb,
lib/mcp/resource/embedded.rb,
lib/mcp/resource_template.rb,
lib/mcp/tool/input_schema.rb,
lib/mcp/tool/output_schema.rb,
lib/mcp/server/capabilities.rb,
lib/mcp/server/transports/stdio_transport.rb,
lib/mcp/server/transports/streamable_http_transport.rb
Defined Under Namespace
Modules: Content, Instrumentation, Methods, StringUtils, Transports
Classes: Annotations, Client, Configuration, Prompt, Resource, ResourceTemplate, Server, Tool, Transport
Constant Summary
collapse
- VERSION =
"0.4.0"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
36
37
38
|
# File 'lib/mcp.rb', line 36
def configuration
@configuration ||= Configuration.new
end
|
32
33
34
|
# File 'lib/mcp.rb', line 32
def configure
yield(configuration)
end
|