Skip to content

Commit d62eb6a

Browse files
authored
Delete MCP server API and A2A task examples
^
1 parent 80625b4 commit d62eb6a

File tree

1 file changed

+1
-63
lines changed

1 file changed

+1
-63
lines changed

solutions/search/agent-builder/kibana-api.md

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -677,30 +677,6 @@ curl -X DELETE "https://${KIBANA_URL}/api/agent_builder/conversations/{conversat
677677

678678
::::
679679

680-
### MCP server API
681-
682-
Refer to [](mcp-server.md) for more information.
683-
684-
Communicate with the MCP server using JSON-RPC 2.0.
685-
686-
```bash
687-
curl -X POST "https://${KIBANA_URL}/api/agent_builder/mcp" \
688-
-H "Authorization: ApiKey ${API_KEY}" \
689-
-H "Content-Type: application/json" \
690-
-H "Accept: application/json" \
691-
-H "kbn-xsrf: true" \
692-
-d '{
693-
"jsonrpc": "2.0",
694-
"id": 1,
695-
"method": "tools/list"
696-
}'
697-
```
698-
If you're using Spaces, you need to prefix `/api/agent_builder` with `/s/<space_name>`. Refer to [Working with Spaces](#working-with-spaces).
699-
700-
:::{note}
701-
This endpoint uses the JSON-RPC protocol. The MCP server is used by AI clients like Claude Desktop, Cursor, and VS Code extensions to access your Elastic tools. Use this {{kib}} API endpoint for testing MCP connectivity or debugging protocol communication. This endpoint requires JSON-RPC formatting and does not work from the Dev Tools Console.
702-
:::
703-
704680
### A2A protocol
705681

706682
Refer to [](a2a-server.md) for more information.
@@ -732,47 +708,9 @@ curl -X GET "https://${KIBANA_URL}/api/agent_builder/a2a/{agentId}.json" \
732708
::::
733709

734710

735-
% TODO: Execute A2A agent task section - commented out until ready
736-
% Execute A2A agent task
737-
% ::::{tab-set}
738-
% :group: api-examples
739-
%
740-
% :::{tab-item} Console
741-
% :sync: console
742-
% :::{note}
743-
% This endpoint uses the JSON-RPC protocol, which cannot be executed in the Dev Tools Console.
744-
% Use curl or another HTTP client.
745-
% :::
746-
%
747-
% :::{tab-item} curl
748-
% :sync: curl
749-
% ```bash
750-
% curl -X POST "https://${KIBANA_URL}/api/agent_builder/a2a/{agentId}" \
751-
% -H "Authorization: ApiKey ${API_KEY}" \
752-
% -H "kbn-xsrf: true" \
753-
% -H "Content-Type: application/json" \
754-
% -d '{
755-
% "jsonrpc": "2.0",
756-
% "method": "complete",
757-
% "params": {
758-
% "messages": [
759-
% {
760-
% "role": "user",
761-
% "content": "Hello from A2A protocol"
762-
% }
763-
% ]
764-
% },
765-
% "id": "task-123"
766-
% }'
767-
% ```
768-
% :::
769-
%
770-
% ::::
771-
772-
773711

774712

775713

776714
## API reference
777715

778-
For the full API documentation, refer to the [{{kib}} API reference](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-agent-builder).
716+
For the full API documentation, refer to the [{{kib}} API reference](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-agent-builder).

0 commit comments

Comments
 (0)