MCPcopy Create free account

hub / github.com/dexwritescode/rust-mcp / functions

Functions96 in github.com/dexwritescode/rust-mcp

↓ 23 callersFunctionexecute_tool
( name: &str, args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/types.rs:33
↓ 6 callersMethodsend_request_internal
(&mut self, method: &str, params: Value)
src/analyzer/client.rs:105
↓ 2 callersMethodsend_message
(&mut self, message: &Value)
src/analyzer/client.rs:118
↓ 1 callersMethodanalyze_manifest
(&mut self, manifest_path: &str)
src/analyzer/client.rs:266
↓ 1 callersFunctionanalyze_manifest_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/cargo.rs:6
↓ 1 callersMethodapply_clippy_suggestions
(&mut self, file_path: &str)
src/analyzer/client.rs:385
↓ 1 callersFunctionapply_clippy_suggestions_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/quality.rs:6
↓ 1 callersMethodchange_signature
( &mut self, file_path: &str, line: u32, character: u32, new_signature
src/analyzer/client.rs:363
↓ 1 callersFunctionchange_signature_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:133
↓ 1 callersFunctioncreate_formatting_params
(file_path: &str)
src/analyzer/protocol.rs:49
↓ 1 callersMethodcreate_module
( &mut self, module_name: &str, module_path: &str, is_public: bool, )
src/analyzer/client.rs:426
↓ 1 callersFunctioncreate_module_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/advanced.rs:68
↓ 1 callersFunctioncreate_references_params
(file_path: &str, line: u32, character: u32)
src/analyzer/protocol.rs:15
↓ 1 callersFunctioncreate_rename_params
(file_path: &str, line: u32, character: u32, new_name: &str)
src/analyzer/protocol.rs:36
↓ 1 callersFunctioncreate_text_document_position_params
(file_path: &str, line: u32, character: u32)
src/analyzer/protocol.rs:3
↓ 1 callersFunctioncreate_workspace_symbol_params
(query: &str)
src/analyzer/protocol.rs:30
↓ 1 callersMethodextract_function
( &mut self, file_path: &str, start_line: u32, start_character: u32, e
src/analyzer/client.rs:276
↓ 1 callersFunctionextract_function_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:45
↓ 1 callersMethodfind_definition
Tool implementation methods
src/analyzer/client.rs:175
↓ 1 callersFunctionfind_definition_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/analysis.rs:6
↓ 1 callersMethodfind_references
( &mut self, file_path: &str, line: u32, character: u32, )
src/analyzer/client.rs:193
↓ 1 callersFunctionfind_references_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/analysis.rs:41
↓ 1 callersMethodformat_code
(&mut self, file_path: &str)
src/analyzer/client.rs:253
↓ 1 callersFunctionformat_code_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/formatting.rs:6
↓ 1 callersMethodgenerate_enum
( &mut self, enum_name: &str, variants: &[Value], derives: &[&str], fi
src/analyzer/client.rs:310
↓ 1 callersFunctiongenerate_enum_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:45
↓ 1 callersMethodgenerate_struct
( &mut self, struct_name: &str, fields: &[Value], derives: &[&str], fi
src/analyzer/client.rs:296
↓ 1 callersFunctiongenerate_struct_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:6
↓ 1 callersMethodgenerate_tests
( &mut self, target_function: &str, file_path: &str, test_cases: &[Value],
src/analyzer/client.rs:336
↓ 1 callersFunctiongenerate_tests_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:118
↓ 1 callersMethodgenerate_trait_impl
( &mut self, trait_name: &str, struct_name: &str, file_path: &str, )
src/analyzer/client.rs:324
↓ 1 callersFunctiongenerate_trait_impl_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:84
↓ 1 callersMethodget_diagnostics
(&mut self, file_path: &str)
src/analyzer/client.rs:211
↓ 1 callersFunctionget_diagnostics_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/analysis.rs:76
↓ 1 callersFunctionget_rust_analyzer_path
()
src/analyzer/client.rs:9
↓ 1 callersFunctionget_tools
()
src/tools/types.rs:83
↓ 1 callersMethodget_type_hierarchy
( &mut self, file_path: &str, line: u32, character: u32, )
src/analyzer/client.rs:397
↓ 1 callersFunctionget_type_hierarchy_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/advanced.rs:6
↓ 1 callersMethodinitialize
(&mut self)
src/analyzer/client.rs:51
↓ 1 callersMethodinline_function
( &mut self, file_path: &str, line: u32, character: u32, )
src/analyzer/client.rs:349
↓ 1 callersFunctioninline_function_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:99
↓ 1 callersMethodmove_items
( &mut self, source_file: &str, target_file: &str, item_names: &[&str], )
src/analyzer/client.rs:441
↓ 1 callersFunctionmove_items_impl
(args: Value, analyzer: &mut RustAnalyzerClient)
src/tools/advanced.rs:102
↓ 1 callersMethodorganize_imports
(&mut self, file_path: &str)
src/analyzer/client.rs:378
↓ 1 callersFunctionorganize_imports_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:171
↓ 1 callersMethodread_response
(&mut self, expected_id: u64)
src/analyzer/client.rs:133
↓ 1 callersMethodrename_symbol
( &mut self, file_path: &str, line: u32, character: u32, new_name: &st
src/analyzer/client.rs:234
↓ 1 callersFunctionrename_symbol_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:6
↓ 1 callersMethodrun_cargo_check
(&mut self, workspace_path: &str)
src/analyzer/client.rs:271
↓ 1 callersFunctionrun_cargo_check_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/cargo.rs:31
↓ 1 callersMethodsend_notification
(&mut self, method: &str, params: Value)
src/analyzer/client.rs:95
↓ 1 callersMethodstart
(&mut self)
src/server/handler.rs:37
↓ 1 callersMethodsuggest_dependencies
( &mut self, query: &str, workspace_path: &str, )
src/analyzer/client.rs:412
↓ 1 callersFunctionsuggest_dependencies_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/advanced.rs:40
↓ 1 callersMethodvalidate_lifetimes
(&mut self, file_path: &str)
src/analyzer/client.rs:390
↓ 1 callersFunctionvalidate_lifetimes_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/quality.rs:30
↓ 1 callersMethodworkspace_symbols
(&mut self, query: &str)
src/analyzer/client.rs:221
↓ 1 callersFunctionworkspace_symbols_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/navigation.rs:6
Methodanalyze_manifest
( &self, Parameters(AnalyzeManifestParams { manifest_path }): Parameters<AnalyzeManifestParams
src/server/handler.rs:246
Methodapply_clippy_suggestions
( &self, Parameters(ApplyClippySuggestionsParams { file_path }): Parameters< Apply
src/server/handler.rs:590
Methodcall_tool
(&mut self, name: &str, args: Value)
src/server/handler.rs:46
Methodchange_signature
( &self, Parameters(ChangeSignatureParams { file_path, line,
src/server/handler.rs:524
Methodcreate_module
( &self, Parameters(CreateModuleParams { module_name, module_path,
src/server/handler.rs:718
Functioncreate_person
()
test_code.rs:21
Methoddefault
()
src/analyzer/client.rs:24
Methoddefault
()
src/server/handler.rs:23
Methodextract_function
( &self, Parameters(ExtractFunctionParams { file_path, start_line,
src/server/handler.rs:304
Methodfind_definition
( &self, Parameters(FindDefinitionParams { file_path, line,
src/server/handler.rs:52
Methodfind_references
( &self, Parameters(FindReferencesParams { file_path, line,
src/server/handler.rs:87
Methodformat_code
( &self, Parameters(FormatCodeParams { file_path }): Parameters<FormatCodeParams>, )
src/server/handler.rs:217
Methodgenerate_enum
( &self, Parameters(GenerateEnumParams { enum_name, variants,
src/server/handler.rs:382
Methodgenerate_struct
( &self, Parameters(GenerateStructParams { struct_name, fields,
src/server/handler.rs:345
Methodgenerate_tests
( &self, Parameters(GenerateTestsParams { target_function, file_path,
src/server/handler.rs:454
Methodgenerate_trait_impl
( &self, Parameters(GenerateTraitImplParams { trait_name, struct_name,
src/server/handler.rs:419
Methodget_diagnostics
( &self, Parameters(GetDiagnosticsParams { file_path }): Parameters<GetDiagnosticsParams>,
src/server/handler.rs:122
Methodget_info
(&self)
src/server/handler.rs:790
Methodget_type_hierarchy
( &self, Parameters(GetTypeHierarchyParams { file_path, line,
src/server/handler.rs:650
Methodgreet
(&self)
test_code.rs:16
Methodinline_function
( &self, Parameters(InlineFunctionParams { file_path, line,
src/server/handler.rs:489
Methodlist_tools
(&self)
src/server/handler.rs:42
Functionmain
()
test_code.rs:1
Functionmain
()
test_diagnostics.rs:1
Functionmain
()
src/main.rs:6
Methodmove_items
( &self, Parameters(MoveItemsParams { source_file, target_file,
src/server/handler.rs:753
Methodnew
(name: String, age: u32)
test_code.rs:12
Methodnew
(name: &'static str, description: &'static str, schema: Value)
src/tools/types.rs:15
Methodnew
()
src/analyzer/client.rs:30
Methodnew
()
src/server/handler.rs:30
Methodorganize_imports
( &self, Parameters(OrganizeImportsParams { file_path }): Parameters<OrganizeImportsParams>,
src/server/handler.rs:561
Functionparse_lsp_message
(raw_content: &[u8])
src/analyzer/lsp.rs:11
Methodrename_symbol
( &self, Parameters(RenameSymbolParams { file_path, line,
src/server/handler.rs:180
Methodrun_cargo_check
( &self, Parameters(RunCargoCheckParams { workspace_path }): Parameters<RunCargoCheckParams>,
src/server/handler.rs:275
Methodstart
(&mut self)
src/analyzer/client.rs:38
Methodsuggest_dependencies
( &self, Parameters(SuggestDependenciesParams { query, workspace_path,
src/server/handler.rs:685
Methodvalidate_lifetimes
( &self, Parameters(ValidateLifetimesParams { file_path }): Parameters<ValidateLifetimesParams
src/server/handler.rs:621
Methodworkspace_symbols
( &self, Parameters(WorkspaceSymbolsParams { query }): Parameters<WorkspaceSymbolsParams>,
src/server/handler.rs:151