Skip to main content
Glama

MCP Language Server

helper-function.snap1.15 kB
--- /TEST_OUTPUT/workspace/src/another_consumer.rs References in File: 2 At: L2:C20, L9:C18 1|// Another consumer module for testing references 2|use crate::helper::helper_function; 3|use crate::types::{ 4| SharedInterface, SharedStruct, SharedType, SHARED_CONSTANT, 5|}; 6| 7|pub fn another_consumer_function() { 8| // Use the helper function 9| let result = helper_function(); 10| println!("Helper result from another consumer: {}", result); 11| 12| // Use shared struct 13| let s = SharedStruct::new("another test"); 14| println!("Struct in another consumer: {}", s.name); --- /TEST_OUTPUT/workspace/src/consumer.rs References in File: 2 At: L2:C20, L9:C18 1|// Consumer module for testing references 2|use crate::helper::helper_function; 3|use crate::types::{ 4| SharedInterface, SharedStruct, SharedType, SHARED_CONSTANT, 5|}; 6| 7|pub fn consumer_function() { 8| // Use the helper function 9| let result = helper_function(); 10| println!("Helper result: {}", result); 11| 12| // Use shared struct 13| let s = SharedStruct::new("test"); 14| println!("Struct method: {}", s.method());

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/isaacphi/mcp-language-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server