Skip to main content
Glama

CodeGraphContext

interface_traits.php478 B
<?php interface Greeter { public function greet(); } trait Logger { public function log($msg) { echo "[LOG] $msg\n"; } } class Human implements Greeter { use Logger; public $name; public function __construct($name) { $this->name = $name; } public function greet() { return "Hello, I am {$this->name}"; } } $shashank = new Human("Shashank"); echo $shashank->greet() . "\n"; $shashank->log("Greeting done");

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/Shashankss1205/CodeGraphContext'

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