From 406fb796b2212f0b5b234dabcd9202d561cbb003 Mon Sep 17 00:00:00 2001 From: nick-gorse Date: Sun, 31 May 2026 19:14:04 +0100 Subject: [PATCH] add toolconfig files --- .../production/mcp-tool-config-dev.yaml | 25 +++++++++++++++++++ .../production/mcp-tool-config-ops.yaml | 24 ++++++++++++++++++ .../mcp-tool-config-state-docs.yaml | 18 +++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 manifest/overlays/production/mcp-tool-config-dev.yaml create mode 100644 manifest/overlays/production/mcp-tool-config-ops.yaml create mode 100644 manifest/overlays/production/mcp-tool-config-state-docs.yaml diff --git a/manifest/overlays/production/mcp-tool-config-dev.yaml b/manifest/overlays/production/mcp-tool-config-dev.yaml new file mode 100644 index 0000000..feeb9be --- /dev/null +++ b/manifest/overlays/production/mcp-tool-config-dev.yaml @@ -0,0 +1,25 @@ +apiVersion: toolhive.stacklok.dev/v1alpha1 +kind: MCPToolConfig +metadata: + name: dev-tools + namespace: toolhive-system +spec: + filter: + - search_code + - get_file + - list_pull_requests + - get_pull_request + - create_pull_request_comment + - memory_search + - get_project_summary + - get_architecture_notes + overrides: + search_code: + name: gitea_search_code + description: "Search code in Gitea repos for implementation details." + get_file: + name: gitea_get_file + description: "Read a file from Gitea by path and revision." + memory_search: + name: memory_lookup_decisions + description: "Search Automem for prior decisions, conventions, and project summaries." \ No newline at end of file diff --git a/manifest/overlays/production/mcp-tool-config-ops.yaml b/manifest/overlays/production/mcp-tool-config-ops.yaml new file mode 100644 index 0000000..ca2d9ac --- /dev/null +++ b/manifest/overlays/production/mcp-tool-config-ops.yaml @@ -0,0 +1,24 @@ +apiVersion: toolhive.stacklok.dev/v1alpha1 +kind: MCPToolConfig +metadata: + name: ops-tools + namespace: toolhive-system +spec: + filter: + - get_application + - get_application_history + - get_application_health + - list_deployments + - get_pods + - describe_pod + - get_pod_logs + - get_events + overrides: + get_application: + name: argocd_get_application + get_application_health: + name: argocd_get_application_health + get_pod_logs: + name: k8s_get_pod_logs + get_events: + name: k8s_get_events \ No newline at end of file diff --git a/manifest/overlays/production/mcp-tool-config-state-docs.yaml b/manifest/overlays/production/mcp-tool-config-state-docs.yaml new file mode 100644 index 0000000..0033459 --- /dev/null +++ b/manifest/overlays/production/mcp-tool-config-state-docs.yaml @@ -0,0 +1,18 @@ +apiVersion: toolhive.stacklok.dev/v1alpha1 +kind: MCPToolConfig +metadata: + name: state-doc-tools + namespace: toolhive-system +spec: + filter: + - get_application + - get_application_health + - get_application_history + - get_pods + - describe_pod + - get_events + - get_pod_logs + - create_or_update_file + - get_file + - memory_search + - upsert_memory \ No newline at end of file