MCPcopy Create free account

hub / github.com/avahowell/offeryn / functions

Functions62 in github.com/avahowell/offeryn

↓ 13 callersMethodget
Get the current count
crates/offeryn-derive/tests/schema/03-stateful.rs:14
↓ 10 callersMethodhandle_request
( &self, request: JsonRpcRequest, )
crates/offeryn-core/src/server/mod.rs:61
↓ 7 callersMethodinput_schema
(&self)
crates/offeryn-core/tests/server_tests.rs:22
↓ 5 callersMethodname
(&self)
crates/offeryn-core/tests/server_tests.rs:14
↓ 4 callersMethodexecute
(&self, args: Value)
crates/offeryn-core/tests/server_tests.rs:33
↓ 4 callersMethodregister_tools
(&self, provider: T)
crates/offeryn-core/src/server/mod.rs:49
↓ 3 callersMethodregister_tool
(&self, tool: T)
crates/offeryn-core/src/server/mod.rs:43
↓ 2 callersMethodrun
(self)
crates/offeryn-core/src/transport/stdio.rs:74
↓ 1 callersMethoddescription
(&self)
crates/offeryn-core/tests/server_tests.rs:18
↓ 1 callersFunctionextract_doc_string
(attrs: &[Attribute])
crates/offeryn-derive/src/lib.rs:8
↓ 1 callersFunctionextract_param_doc
(docs: &str, param_name: &str)
crates/offeryn-derive/src/lib.rs:51
↓ 1 callersFunctiongenerate_param_deserialization
(param_name: &str, is_optional: bool)
crates/offeryn-derive/src/lib.rs:108
↓ 1 callersFunctiongenerate_param_schema
( param_type: &Type, param_name: &str, param_doc: &str, is_optional: bool, )
crates/offeryn-derive/src/lib.rs:78
↓ 1 callersFunctionget_type_schema
(ty: &Type)
crates/offeryn-derive/src/lib.rs:26
↓ 1 callersFunctionis_optional_type
(ty: &Type)
crates/offeryn-derive/src/lib.rs:46
Methodadd
Add two numbers
examples/calculator/src/main.rs:14
Methodadd
Add two numbers
examples/stdio-calculator/src/main.rs:12
Methodadd
(&self, a: i64, b: i64)
crates/offeryn-core/src/transport/stdio.rs:165
Methodadd
Add two numbers
crates/offeryn-core/src/transport/sse.rs:236
Methodadd
Add two numbers # Parameters `a` - First operand `b` - Second operand
crates/offeryn-derive/tests/schema/01-basic.rs:15
Methodanother_method
# Parameters `x` - First value `y` - Second value
crates/offeryn-derive/tests/schema/02-doc-comments.rs:24
Methodcreate_router
(server: Arc<McpServer>)
crates/offeryn-core/src/transport/sse.rs:33
Methoddivide
Divide two numbers
examples/calculator/src/main.rs:28
Methoddivide
Divide two numbers
examples/stdio-calculator/src/main.rs:27
Methoddivide
Divide two numbers
crates/offeryn-core/src/transport/sse.rs:251
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
crates/offeryn-core/src/error.rs:13
Methodfrom
(_: serde_json::Error)
crates/offeryn-core/src/error.rs:24
Methodhandle_notification
( &mut self, method: &str, _params: Option<serde_json::Value>, )
crates/offeryn-core/src/server/mod.rs:258
Methodincrement
Increment the counter by a value # Parameters `by` - Amount to increment by
crates/offeryn-derive/tests/schema/03-stateful.rs:22
Functionmain
()
examples/calculator/src/main.rs:38
Functionmain
()
examples/stdio-calculator/src/main.rs:37
Functionmain
()
crates/offeryn-derive/tests/schema/03-stateful.rs:29
Functionmain
()
crates/offeryn-derive/tests/schema/02-doc-comments.rs:30
Functionmain
()
crates/offeryn-derive/tests/schema/01-basic.rs:30
Methodmessage_handler
( session_id: String, state: Arc<Mutex<SseServerTransport>>, server: Arc<McpServer>,
crates/offeryn-core/src/transport/sse.rs:139
Methodmultiply
Multiply two numbers
examples/calculator/src/main.rs:23
Methodmultiply
Multiply two numbers
examples/stdio-calculator/src/main.rs:22
Methodmultiply
Multiply two numbers
crates/offeryn-core/src/transport/sse.rs:246
Methodmultiply
Multiply two numbers # Parameters `a` - First number `b` - Second number
crates/offeryn-derive/tests/schema/01-basic.rs:24
Methodnew
(server: Arc<McpServer>)
crates/offeryn-core/src/transport/stdio.rs:52
Methodnew
()
crates/offeryn-core/src/transport/sse.rs:26
Methodnew
(name: &str, version: &str)
crates/offeryn-core/src/server/mod.rs:18
Methodread_message
(reader: &mut BufReader<R>)
crates/offeryn-core/src/transport/stdio.rs:18
Methodsse_handler
( state: Arc<Mutex<SseServerTransport>>, )
crates/offeryn-core/src/transport/sse.rs:83
Methodsubtract
(&self, a: i64, b: i64)
examples/calculator/src/main.rs:18
Methodsubtract
Subtract two numbers
examples/stdio-calculator/src/main.rs:17
Methodsubtract
Subtract two numbers
crates/offeryn-core/src/transport/sse.rs:241
Functiontest_calculator
()
crates/offeryn-core/src/transport/sse.rs:261
Functiontest_calculator_add
()
crates/offeryn-core/src/transport/stdio.rs:171
Functiontest_initialize
()
crates/offeryn-core/tests/server_tests.rs:156
Functiontest_invalid_method
()
crates/offeryn-core/tests/server_tests.rs:131
Methodtest_method
This is a test method # Parameters `value` - A test parameter
crates/offeryn-derive/tests/schema/02-doc-comments.rs:14
Functiontest_schema
()
crates/offeryn-derive/tests/schema.rs:2
Functiontest_sse_transport
()
crates/offeryn-core/src/transport/sse.rs:359
Functiontest_tool_execution
()
crates/offeryn-core/tests/server_tests.rs:72
Functiontest_tools_list
()
crates/offeryn-core/tests/server_tests.rs:46
Functiontest_unknown_tool
()
crates/offeryn-core/tests/server_tests.rs:111
Functiontool
(_attr: TokenStream, item: TokenStream)
crates/offeryn-derive/src/lib.rs:129
Methodwith_streams
(server: Arc<McpServer>, stdin: R, stdout: W)
crates/offeryn-core/src/transport/stdio.rs:66
Methodwith_tool
(&self, tool: impl McpTool + 'static)
crates/offeryn-core/src/server/mod.rs:26
Methodwith_tools
(&self, tools: Vec<Box<dyn McpTool>>)
crates/offeryn-core/src/server/mod.rs:33
Methodwrite_message
( writer: &mut BufWriter<W>, message: &[u8], )
crates/offeryn-core/src/transport/stdio.rs:30