@havesomecode/kibana-mcp-server 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +486 -0
- package/config/sources.example.json +97 -0
- package/dist/src/cli.js +160 -0
- package/dist/src/config.js +204 -0
- package/dist/src/index.js +10 -0
- package/dist/src/kibana_client.js +441 -0
- package/dist/src/mcp_entry.js +6 -0
- package/dist/src/mcp_runtime.js +23 -0
- package/dist/src/profile_paths.js +36 -0
- package/dist/src/profile_store.js +136 -0
- package/dist/src/query/compiler.js +430 -0
- package/dist/src/query/cursor.js +7 -0
- package/dist/src/query/normalize.js +383 -0
- package/dist/src/schema_catalog.js +91 -0
- package/dist/src/secret_store.js +261 -0
- package/dist/src/server.js +87 -0
- package/dist/src/setup_flow.js +160 -0
- package/dist/src/source_catalog.js +47 -0
- package/dist/src/tools/configure.js +53 -0
- package/dist/src/tools/describe_fields.js +55 -0
- package/dist/src/tools/discover.js +47 -0
- package/dist/src/tools/filter.js +141 -0
- package/dist/src/tools/query.js +287 -0
- package/dist/src/types.js +1 -0
- package/docs/project/compatibility-matrix.md +22 -0
- package/docs/project/distribution-strategy.md +78 -0
- package/docs/project/npm-publishing.md +57 -0
- package/docs/project/release-checklist.md +51 -0
- package/docs/project/support-policy.md +52 -0
- package/package.json +65 -0
- package/plugins/kibana-log-investigation/.codex-plugin/plugin.json +31 -0
- package/plugins/kibana-log-investigation/.mcp.json +10 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Support Policy
|
|
3
|
+
status: active
|
|
4
|
+
updated: 2026-04-09
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Support Policy
|
|
8
|
+
|
|
9
|
+
## Audience
|
|
10
|
+
|
|
11
|
+
This MCP is designed for operators and AI agents that need read-only access to Kibana-backed logs for investigation workflows.
|
|
12
|
+
|
|
13
|
+
## Guaranteed Support
|
|
14
|
+
|
|
15
|
+
- Node.js 22+ runtime
|
|
16
|
+
- Repo-local Codex plugin install
|
|
17
|
+
- `kibana_internal_search_es` and `elasticsearch_search` backends
|
|
18
|
+
- Guided machine setup with saved profiles and imported source catalogs
|
|
19
|
+
- Runtime configuration via `configure` plus persisted non-secret source catalogs
|
|
20
|
+
|
|
21
|
+
## Best-Effort Support
|
|
22
|
+
|
|
23
|
+
- Fully autonomous repo-local plugin installation by prompting alone across all Codex model variants
|
|
24
|
+
- Schema metadata endpoints (`kibana_data_views_fields`, `kibana_index_patterns_fields`, `elasticsearch_field_caps`)
|
|
25
|
+
- Nested query features that depend on schema availability
|
|
26
|
+
- Public package installs (once enabled)
|
|
27
|
+
|
|
28
|
+
Best-effort means we will investigate issues but cannot guarantee behavior across all deployments.
|
|
29
|
+
|
|
30
|
+
## Known Environment Constraints
|
|
31
|
+
|
|
32
|
+
- Some Codex model variants are less reliable at completing repo-local plugin installation without a manual Codex UI step. The supported fallback is to install the plugin manually from the local marketplace, then continue with MCP configuration.
|
|
33
|
+
- Some Kibana deployments proxy or block schema metadata endpoints. In those cases, schema-aware features may be unavailable.
|
|
34
|
+
- `KIBANA_BASE_URL` must be the Kibana base prefix, not a full search endpoint such as `/internal/search/es`.
|
|
35
|
+
- Linux secure storage depends on a Secret Service-compatible keyring being available and unlocked.
|
|
36
|
+
- If you run staging and production side by side, prefer saved machine profiles plus `KIBANA_PROFILE` selection. If you stay on env bootstrap, keep `KIBANA_SOURCE_CATALOG_PATH` distinct per entry so runtime-persisted sources do not overwrite each other.
|
|
37
|
+
- Credentials are not persisted to repo-local files or tracked config. Guided setup stores them in the platform credential store.
|
|
38
|
+
|
|
39
|
+
## Security Reporting
|
|
40
|
+
|
|
41
|
+
If you find a security issue, report it through the process documented in `SECURITY.md`.
|
|
42
|
+
|
|
43
|
+
## Response Expectations
|
|
44
|
+
|
|
45
|
+
- Critical security reports: acknowledge within 3 business days.
|
|
46
|
+
- Non-security issues: response cadence depends on maintainer availability.
|
|
47
|
+
- Release notes and shipped version history are published through GitHub Releases and npm, not through committed changelog updates in the repository.
|
|
48
|
+
|
|
49
|
+
## Out of Scope
|
|
50
|
+
|
|
51
|
+
- Writes to Kibana, Elasticsearch, or data views
|
|
52
|
+
- Workflow-specific automation beyond log investigation
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@havesomecode/kibana-mcp-server",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Read-only MCP server for Kibana-backed log investigation and schema-aware querying",
|
|
6
|
+
"homepage": "https://github.com/Zacaria/kibana-mcp-server",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Zacaria/kibana-mcp-server.git"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"main": "dist/src/mcp_entry.js",
|
|
13
|
+
"bin": {
|
|
14
|
+
"kibana-mcp-server": "dist/src/index.js"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"provenance": true
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist/**",
|
|
22
|
+
"plugins/kibana-log-investigation/.mcp.json",
|
|
23
|
+
"plugins/kibana-log-investigation/.codex-plugin/plugin.json",
|
|
24
|
+
"README.md",
|
|
25
|
+
"LICENSE",
|
|
26
|
+
"config/sources.example.json",
|
|
27
|
+
"docs/project/**"
|
|
28
|
+
],
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=22.0.0"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsc -p tsconfig.build.json",
|
|
34
|
+
"check:types": "tsc --noEmit -p tsconfig.json",
|
|
35
|
+
"lint": "biome lint .",
|
|
36
|
+
"format": "biome format . --write",
|
|
37
|
+
"format:check": "biome check . --linter-enabled=false",
|
|
38
|
+
"check": "npm run check:types && npm run lint && npm run format:check",
|
|
39
|
+
"dev": "tsx src/mcp_entry.ts",
|
|
40
|
+
"release": "semantic-release",
|
|
41
|
+
"release:dry-run": "semantic-release --dry-run",
|
|
42
|
+
"setup": "node dist/src/index.js setup",
|
|
43
|
+
"start": "node dist/src/mcp_entry.js",
|
|
44
|
+
"test": "vitest run",
|
|
45
|
+
"verify:release-contract": "node scripts/verify-release-contract.mjs",
|
|
46
|
+
"verify:packlist": "node scripts/verify-packlist.mjs",
|
|
47
|
+
"verify:entrypoint": "node scripts/verify-mcp-entrypoint.mjs",
|
|
48
|
+
"verify": "npm run check && npm run test && npm run build && npm run verify:entrypoint && npm run verify:release-contract && npm run verify:packlist"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@cfworker/json-schema": "^4.1.1",
|
|
52
|
+
"@modelcontextprotocol/server": "^2.0.0-alpha.2",
|
|
53
|
+
"zod": "^4.0.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@biomejs/biome": "^1.8.3",
|
|
57
|
+
"@commitlint/cli": "^20.1.0",
|
|
58
|
+
"@commitlint/config-conventional": "^20.0.0",
|
|
59
|
+
"@types/node": "^24.0.0",
|
|
60
|
+
"semantic-release": "^25.0.1",
|
|
61
|
+
"tsx": "^4.0.0",
|
|
62
|
+
"typescript": "^5.7.0",
|
|
63
|
+
"vitest": "^3.0.0"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kibana-log-investigation",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Install the local Kibana log investigation MCP from this repository.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Zacaria",
|
|
7
|
+
"url": "https://github.com/Zacaria"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/Zacaria/kibana-mcp-server",
|
|
10
|
+
"repository": "https://github.com/Zacaria/kibana-mcp-server",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": ["kibana", "logs", "mcp", "investigation", "codex"],
|
|
13
|
+
"skills": "./skills/",
|
|
14
|
+
"mcpServers": "./.mcp.json",
|
|
15
|
+
"interface": {
|
|
16
|
+
"displayName": "Kibana Log Investigation",
|
|
17
|
+
"shortDescription": "Local Kibana log investigation MCP for Codex",
|
|
18
|
+
"longDescription": "Install a local stdio MCP server from this repository so Codex can discover sources, inspect schema metadata, and query Kibana-backed logs without additional hosting. This repo is the primary distribution contract today; public distribution is planned once artifact verification is stable.",
|
|
19
|
+
"developerName": "Zacaria",
|
|
20
|
+
"category": "Productivity",
|
|
21
|
+
"capabilities": ["Interactive", "Read", "Write"],
|
|
22
|
+
"websiteURL": "https://github.com/Zacaria/kibana-mcp-server",
|
|
23
|
+
"privacyPolicyURL": "https://github.com/Zacaria/kibana-mcp-server",
|
|
24
|
+
"termsOfServiceURL": "https://github.com/Zacaria/kibana-mcp-server",
|
|
25
|
+
"defaultPrompt": [
|
|
26
|
+
"Install the Kibana Log Investigation plugin from this repo, bootstrap Node.js if needed, and configure it for my Kibana environment.",
|
|
27
|
+
"Use the Kibana Log Investigation plugin to inspect log sources and query a time window."
|
|
28
|
+
],
|
|
29
|
+
"brandColor": "#1F6FEB"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"kibana-log-investigation": {
|
|
4
|
+
"type": "stdio",
|
|
5
|
+
"command": "node",
|
|
6
|
+
"args": ["./dist/src/mcp_entry.js"],
|
|
7
|
+
"note": "Local stdio MCP server for this repo. Requires Node.js 22+ and a built dist/ directory. If dependencies or dist are missing, run npm install and npm run build from the repository root first."
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|