Skip to main content
Glama

MCP Language Server

another_consumer.rs723 B
// Another consumer module for testing references use crate::helper::helper_function; use crate::types::{ SharedInterface, SharedStruct, SharedType, SHARED_CONSTANT, }; pub fn another_consumer_function() { // Use the helper function let result = helper_function(); println!("Helper result from another consumer: {}", result); // Use shared struct let s = SharedStruct::new("another test"); println!("Struct in another consumer: {}", s.name); // Use shared interface let _iface: &dyn SharedInterface = &s; // Use shared constant println!("Constant in another consumer: {}", SHARED_CONSTANT); // Use shared type let _t: SharedType = String::from("another test"); }

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