Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dexwritescode/rust-mcp
/ functions
Functions
96 in github.com/dexwritescode/rust-mcp
⨍
Functions
96
◇
Types & classes
28
↓ 23 callers
Function
execute_tool
( name: &str, args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/types.rs:33
↓ 6 callers
Method
send_request_internal
(&mut self, method: &str, params: Value)
src/analyzer/client.rs:105
↓ 2 callers
Method
send_message
(&mut self, message: &Value)
src/analyzer/client.rs:118
↓ 1 callers
Method
analyze_manifest
(&mut self, manifest_path: &str)
src/analyzer/client.rs:266
↓ 1 callers
Function
analyze_manifest_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/cargo.rs:6
↓ 1 callers
Method
apply_clippy_suggestions
(&mut self, file_path: &str)
src/analyzer/client.rs:385
↓ 1 callers
Function
apply_clippy_suggestions_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/quality.rs:6
↓ 1 callers
Method
change_signature
( &mut self, file_path: &str, line: u32, character: u32, new_signature
src/analyzer/client.rs:363
↓ 1 callers
Function
change_signature_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:133
↓ 1 callers
Function
create_formatting_params
(file_path: &str)
src/analyzer/protocol.rs:49
↓ 1 callers
Method
create_module
( &mut self, module_name: &str, module_path: &str, is_public: bool, )
src/analyzer/client.rs:426
↓ 1 callers
Function
create_module_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/advanced.rs:68
↓ 1 callers
Function
create_references_params
(file_path: &str, line: u32, character: u32)
src/analyzer/protocol.rs:15
↓ 1 callers
Function
create_rename_params
(file_path: &str, line: u32, character: u32, new_name: &str)
src/analyzer/protocol.rs:36
↓ 1 callers
Function
create_text_document_position_params
(file_path: &str, line: u32, character: u32)
src/analyzer/protocol.rs:3
↓ 1 callers
Function
create_workspace_symbol_params
(query: &str)
src/analyzer/protocol.rs:30
↓ 1 callers
Method
extract_function
( &mut self, file_path: &str, start_line: u32, start_character: u32, e
src/analyzer/client.rs:276
↓ 1 callers
Function
extract_function_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:45
↓ 1 callers
Method
find_definition
Tool implementation methods
src/analyzer/client.rs:175
↓ 1 callers
Function
find_definition_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/analysis.rs:6
↓ 1 callers
Method
find_references
( &mut self, file_path: &str, line: u32, character: u32, )
src/analyzer/client.rs:193
↓ 1 callers
Function
find_references_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/analysis.rs:41
↓ 1 callers
Method
format_code
(&mut self, file_path: &str)
src/analyzer/client.rs:253
↓ 1 callers
Function
format_code_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/formatting.rs:6
↓ 1 callers
Method
generate_enum
( &mut self, enum_name: &str, variants: &[Value], derives: &[&str], fi
src/analyzer/client.rs:310
↓ 1 callers
Function
generate_enum_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:45
↓ 1 callers
Method
generate_struct
( &mut self, struct_name: &str, fields: &[Value], derives: &[&str], fi
src/analyzer/client.rs:296
↓ 1 callers
Function
generate_struct_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:6
↓ 1 callers
Method
generate_tests
( &mut self, target_function: &str, file_path: &str, test_cases: &[Value],
src/analyzer/client.rs:336
↓ 1 callers
Function
generate_tests_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:118
↓ 1 callers
Method
generate_trait_impl
( &mut self, trait_name: &str, struct_name: &str, file_path: &str, )
src/analyzer/client.rs:324
↓ 1 callers
Function
generate_trait_impl_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/generation.rs:84
↓ 1 callers
Method
get_diagnostics
(&mut self, file_path: &str)
src/analyzer/client.rs:211
↓ 1 callers
Function
get_diagnostics_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/analysis.rs:76
↓ 1 callers
Function
get_rust_analyzer_path
()
src/analyzer/client.rs:9
↓ 1 callers
Function
get_tools
()
src/tools/types.rs:83
↓ 1 callers
Method
get_type_hierarchy
( &mut self, file_path: &str, line: u32, character: u32, )
src/analyzer/client.rs:397
↓ 1 callers
Function
get_type_hierarchy_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/advanced.rs:6
↓ 1 callers
Method
initialize
(&mut self)
src/analyzer/client.rs:51
↓ 1 callers
Method
inline_function
( &mut self, file_path: &str, line: u32, character: u32, )
src/analyzer/client.rs:349
↓ 1 callers
Function
inline_function_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:99
↓ 1 callers
Method
move_items
( &mut self, source_file: &str, target_file: &str, item_names: &[&str], )
src/analyzer/client.rs:441
↓ 1 callers
Function
move_items_impl
(args: Value, analyzer: &mut RustAnalyzerClient)
src/tools/advanced.rs:102
↓ 1 callers
Method
organize_imports
(&mut self, file_path: &str)
src/analyzer/client.rs:378
↓ 1 callers
Function
organize_imports_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:171
↓ 1 callers
Method
read_response
(&mut self, expected_id: u64)
src/analyzer/client.rs:133
↓ 1 callers
Method
rename_symbol
( &mut self, file_path: &str, line: u32, character: u32, new_name: &st
src/analyzer/client.rs:234
↓ 1 callers
Function
rename_symbol_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/refactoring.rs:6
↓ 1 callers
Method
run_cargo_check
(&mut self, workspace_path: &str)
src/analyzer/client.rs:271
↓ 1 callers
Function
run_cargo_check_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/cargo.rs:31
↓ 1 callers
Method
send_notification
(&mut self, method: &str, params: Value)
src/analyzer/client.rs:95
↓ 1 callers
Method
start
(&mut self)
src/server/handler.rs:37
↓ 1 callers
Method
suggest_dependencies
( &mut self, query: &str, workspace_path: &str, )
src/analyzer/client.rs:412
↓ 1 callers
Function
suggest_dependencies_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/advanced.rs:40
↓ 1 callers
Method
validate_lifetimes
(&mut self, file_path: &str)
src/analyzer/client.rs:390
↓ 1 callers
Function
validate_lifetimes_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/quality.rs:30
↓ 1 callers
Method
workspace_symbols
(&mut self, query: &str)
src/analyzer/client.rs:221
↓ 1 callers
Function
workspace_symbols_impl
( args: Value, analyzer: &mut RustAnalyzerClient, )
src/tools/navigation.rs:6
Method
analyze_manifest
( &self, Parameters(AnalyzeManifestParams { manifest_path }): Parameters<AnalyzeManifestParams
src/server/handler.rs:246
Method
apply_clippy_suggestions
( &self, Parameters(ApplyClippySuggestionsParams { file_path }): Parameters< Apply
src/server/handler.rs:590
Method
call_tool
(&mut self, name: &str, args: Value)
src/server/handler.rs:46
Method
change_signature
( &self, Parameters(ChangeSignatureParams { file_path, line,
src/server/handler.rs:524
Method
create_module
( &self, Parameters(CreateModuleParams { module_name, module_path,
src/server/handler.rs:718
Function
create_person
()
test_code.rs:21
Method
default
()
src/analyzer/client.rs:24
Method
default
()
src/server/handler.rs:23
Method
extract_function
( &self, Parameters(ExtractFunctionParams { file_path, start_line,
src/server/handler.rs:304
Method
find_definition
( &self, Parameters(FindDefinitionParams { file_path, line,
src/server/handler.rs:52
Method
find_references
( &self, Parameters(FindReferencesParams { file_path, line,
src/server/handler.rs:87
Method
format_code
( &self, Parameters(FormatCodeParams { file_path }): Parameters<FormatCodeParams>, )
src/server/handler.rs:217
Method
generate_enum
( &self, Parameters(GenerateEnumParams { enum_name, variants,
src/server/handler.rs:382
Method
generate_struct
( &self, Parameters(GenerateStructParams { struct_name, fields,
src/server/handler.rs:345
Method
generate_tests
( &self, Parameters(GenerateTestsParams { target_function, file_path,
src/server/handler.rs:454
Method
generate_trait_impl
( &self, Parameters(GenerateTraitImplParams { trait_name, struct_name,
src/server/handler.rs:419
Method
get_diagnostics
( &self, Parameters(GetDiagnosticsParams { file_path }): Parameters<GetDiagnosticsParams>,
src/server/handler.rs:122
Method
get_info
(&self)
src/server/handler.rs:790
Method
get_type_hierarchy
( &self, Parameters(GetTypeHierarchyParams { file_path, line,
src/server/handler.rs:650
Method
greet
(&self)
test_code.rs:16
Method
inline_function
( &self, Parameters(InlineFunctionParams { file_path, line,
src/server/handler.rs:489
Method
list_tools
(&self)
src/server/handler.rs:42
Function
main
()
test_code.rs:1
Function
main
()
test_diagnostics.rs:1
Function
main
()
src/main.rs:6
Method
move_items
( &self, Parameters(MoveItemsParams { source_file, target_file,
src/server/handler.rs:753
Method
new
(name: String, age: u32)
test_code.rs:12
Method
new
(name: &'static str, description: &'static str, schema: Value)
src/tools/types.rs:15
Method
new
()
src/analyzer/client.rs:30
Method
new
()
src/server/handler.rs:30
Method
organize_imports
( &self, Parameters(OrganizeImportsParams { file_path }): Parameters<OrganizeImportsParams>,
src/server/handler.rs:561
Function
parse_lsp_message
(raw_content: &[u8])
src/analyzer/lsp.rs:11
Method
rename_symbol
( &self, Parameters(RenameSymbolParams { file_path, line,
src/server/handler.rs:180
Method
run_cargo_check
( &self, Parameters(RunCargoCheckParams { workspace_path }): Parameters<RunCargoCheckParams>,
src/server/handler.rs:275
Method
start
(&mut self)
src/analyzer/client.rs:38
Method
suggest_dependencies
( &self, Parameters(SuggestDependenciesParams { query, workspace_path,
src/server/handler.rs:685
Method
validate_lifetimes
( &self, Parameters(ValidateLifetimesParams { file_path }): Parameters<ValidateLifetimesParams
src/server/handler.rs:621
Method
workspace_symbols
( &self, Parameters(WorkspaceSymbolsParams { query }): Parameters<WorkspaceSymbolsParams>,
src/server/handler.rs:151