- Add mcp/operations/importHosts.graphql for flexible, name-based host provisioning.
- Split schema verification operations into createVerificationHost.graphql and verifySchemaExtension.graphql to support Apollo MCP server requirements.
- Improve mcp/operations/createHost.graphql with better type mapping and error message retrieval.
- Fix syntax error in importHosts.graphql by replacing unsupported triple-quote docstrings with standard comments.
- Add src/test/mcp_operations_validation.test.ts to automatically validate MCP operations against the GraphQL schema.
- Update docs/howtos/cookbook.md with 🤖 AI/MCP guidance and refined recipe steps for schema extension verification.
- Update README.md, docs/howtos/mcp.md, and .junie/guidelines.md to:
- Add Docker (v27+) and Docker Compose (v2.29+) version requirements to the Tech Stack.
- Enforce the use of docker compose (without hyphen) for all commands in the Environment guidelines.
- Replace legacy docker-compose references across all documentation with the new command format.
11 lines
270 B
GraphQL
11 lines
270 B
GraphQL
# Import multiple hosts/devices into Zabbix.
|
|
# This is a powerful tool for bulk provisioning of hosts using their names and types.
|
|
mutation ImportHosts($hosts: [CreateHost!]!) {
|
|
importHosts(hosts: $hosts) {
|
|
hostid
|
|
message
|
|
error {
|
|
message
|
|
}
|
|
}
|
|
}
|