Skip to main content
Glama

MCP Language Server

shared-constant.snap775 B
--- /TEST_OUTPUT/workspace/another_consumer.go References in File: 1 At: L15:C23 6|func AnotherConsumer() { ... 10| // Create another SharedStruct instance 11| s := &SharedStruct{ 12| ID: 2, 13| Name: "another test", 14| Value: 99.9, 15| Constants: []string{SharedConstant, "extra"}, 16| } 17| 18| // Use the struct methods 19| if name := s.GetName(); name != "" { 20| fmt.Println("Got name:", name) --- /TEST_OUTPUT/workspace/consumer.go References in File: 1 At: L15:C23 6|func ConsumerFunction() { ... 10| // Use shared struct 11| s := &SharedStruct{ 12| ID: 1, 13| Name: "test", 14| Value: 42.0, 15| Constants: []string{SharedConstant}, 16| } 17| 18| // Call methods on the struct 19| fmt.Println(s.Method()) 20| s.Process()

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