agents
Create or update agent
Create a new Agentic agent in the registry or update an existing one. Resources are immediately visible after creation.
post/v0/agents
Request body
Example request
{
"remotes": [
{
"headers": [
{
"name": "SOME_VARIABLE"
}
],
"type": "stdio",
"url": "https://api.example.com/mcp"
}
],
"repository": {
"id": "b94b5f7e-c7c6-d760-2c78-a5e9b8a5b8c9",
"source": "github",
"subfolder": "src/everything",
"url": "https://github.com/modelcontextprotocol/servers"
}
}Response
OK
Example response
{
"agent": {
"remotes": [
{
"headers": [
{
"name": "SOME_VARIABLE"
}
],
"type": "stdio",
"url": "https://api.example.com/mcp"
}
],
"repository": {
"id": "b94b5f7e-c7c6-d760-2c78-a5e9b8a5b8c9",
"source": "github",
"subfolder": "src/everything",
"url": "https://github.com/modelcontextprotocol/servers"
}
}
}