MCP Connector
Connect your agent with Tools provided by MCP (Model Context Protocol) servers.
namespace App\Neuron;
use NeuronAI\Agent;
use NeuronAI\Providers\AIProviderInterface;
use NeuronAI\MCP\McpConnector;
class MyAgent extends Agent
{
protected function provider(): AIProviderInterface
{
...
}
public function instructions(): string
{
...
}
protected function tools(): array
{
return [
...McpConnector::make([
'command' => 'php',
'args' => ['/home/code/mcp_server.php'],
])->tools(),
];
}
}Monitoring

Filter the list of tools
Last updated