Agent Inventory 标志

Agent Inventory

社区
den-vasyliev

The Control Plane for AI Infrastructure Kubernetes-native registry for MCP servers, agents, skills & models

发布者den-vasyliev
代码仓库agentregistry-inventory
语言Go
复刻数
7
星标数
25
可用工具
0
传输类型streamable-http
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    Agent Inventory 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 25 个星标和 7 个复刻。

✨ What You Get

If it's running, it's in the catalog.

No CLI needed. Agent Registry ships an MCP server — connect it to Claude Code, Cursor, or any MCP-compatible client and manage your registry conversationally.

CapabilityWhat It Means
🔍 Auto-DiscoveryScans your clusters for AI workloads — MCP servers, agents, skills, models — and catalogs them automatically. Zero manual work.
📦 Unified InventoryEverything in one place across dev, staging, prod. Git as the single source of truth.
✍️ Create & PublishGenerate manifests via UI/API, submit for review, open PRs — or deploy directly.
🚀 One-Click DeployDeploy from catalog to any environment. Controller handles the lifecycle.
🔒 GitOps NativeGitOps and Gitless Ops workflows built-in.
🌐 Multi-ClusterDiscover and deploy across clusters with workload identity.

🚀 Quick Start

One command to run dev environment

bash
git clone https://github.com/den-vasyliev/agentregistry-inventory.git
cd agentregistry-inventory && make dev

🎯 That's it. UI opens at http://localhost:3000 with sample data pre-loaded.

No Kubernetes cluster needed — uses envtest (embedded etcd + kube-apiserver).

☸️ Have a cluster?

bash
kubectl apply -k https://github.com/den-vasyliev/agentregistry-inventory/config/crd
helm install agentregistry-inventory ./charts/agentregistry -n agentregistry --create-namespace

🌟 Why Agent Inventory?

Without Agent InventoryWith Agent Inventory
😵 Sprawl of AI tools across clusters📦 Single source of truth
🔍 Manual discovery of MCP servers🤖 Auto-discovery & cataloging
😰 No version control for AI configs📝 GitOps-native workflows
🤷 "What agents are running in prod?"📊 Real-time inventory & status
😱 Direct K8s yaml edits🚀 One-click deploy from UI/API

🏗️ Architecture

┌─────────────────────────────────────────────────────────────┐
│                      WEB UI (Next.js)                       │
│              embedded in controller at :8080                │
└───────────────────────────┬─────────────────────────────────┘
                            │ REST
                            ▼
┌─────────────────────────────────────────────────────────────┐
│                    CONTROLLER (Go Controller Runtime)       │
│  ┌─────────────┐ ┌────────────────┐ ┌─────────────────────┐ │
│  │  HTTP API   │ │  Reconcilers   │ │  Auto-Discovery     │ │
│  │   :8080     │ │                │ │                     │ │
│  └─────────────┘ └────────────────┘ └─────────────────────┘ │
│  ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐    │
│  │  MCP Server │ │   Metrics   │ │   Health            │    │
│  │   :8083     │ │   :8081     │ │   :8082             │    │
│  └─────────────┘ └─────────────┘ └─────────────────────┘    │
└───────────────────────────┬─────────────────────────────────┘
                            │ K8s API
                            ▼
┌─────────────────────────────────────────────────────────────┐
│                     CRDs (etcd)                             │
│  ┌─────────────────┐ ┌─────────────────┐ ┌──────────────┐   │
│  │ MCPServerCatalog│ │  AgentCatalog   │ │ SkillCatalog │   │
│  └─────────────────┘ └─────────────────┘ └──────────────┘   │
│  ┌────────────────────┐ ┌─────────────────┐                 │
│  │RegistryDeployment  | │ DiscoveryConfig │                 │
│  └────────────────────┘ └─────────────────┘                 │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│              RUNTIME (Kagent + KMCP +...)                   │
│         Agent ↔ MCP Server ↔ Model ↔ Skills                 │
└─────────────────────────────────────────────────────────────┘

📚 CRD Reference

  • Kgateway — Gateway API for AI traffic
  • Kagent — Kubernetes AI agent runtime
  • KMCP — MCP server operator

📋 Inventory CRD Examples

📦 Publish a Catalog Entry

yaml
apiVersion: agentregistry.dev/v1alpha1
kind: MCPServerCatalog          # Also: AgentCatalog, SkillCatalog, ModelCatalog
metadata:
  name: filesystem-v1-0-0
  namespace: agentregistry
spec:
  name: "filesystem"
  version: "1.0.0"
  title: "Filesystem MCP Server"
  description: "Provides file system access tools"
  websiteUrl: "https://github.com/modelcontextprotocol/servers"
  repository:
    url: "https://github.com/modelcontextprotocol/servers"
    source: github
  packages:
    - registryType: npm
      identifier: "@modelcontextprotocol/server-filesystem"
      version: "0.6.1"
      transport:
        type: stdio
  remotes:                        # Optional: streamable-http endpoints
    - type: streamable-http
      url: "https://mcp.example.com/filesystem"

🚀 Deploy to Runtime

yaml
apiVersion: agentregistry.dev/v1alpha1
kind: RegistryDeployment
metadata:
  name: filesystem-deployment
  namespace: agentregistry
spec:
  resourceName: "filesystem"
  version: "1.0.0"
  resourceType: mcp             # mcp | agent
  runtime: kubernetes           # Required: deployment runtime
  namespace: default            # Target namespace
  preferRemote: false           # Use local package vs remote endpoint
  environment: ""               # Target environment (from DiscoveryConfig), empty = local cluster
  config:                       # Optional: deployment configuration
    LOG_LEVEL: "info"

The controller reconciles this → creates MCPServer/Agent CRs → tracks status.

🌍 Multi-Cluster Discovery

yaml
apiVersion: agentregistry.dev/v1alpha1
kind: DiscoveryConfig
metadata:
  name: multi-cluster-discovery
  namespace: agentregistry
spec:
  environments:
    - name: production
      cluster:
        name: prod-gke
        projectId: my-gcp-project
        zone: us-central1
        useWorkloadIdentity: true
      provider: gcp
      discoveryEnabled: true
      deployEnabled: false
      namespaces: [ai-workloads, agents]
      resourceTypes: [MCPServer, Agent, ModelConfig]

→ Full Autodiscovery Docs


🔌 API Reference

Public API (Read-Only, no auth required)

bash
curl http://localhost:8080/v0/servers
curl http://localhost:8080/v0/agents
curl http://localhost:8080/v0/skills

Admin API (Write)

bash
# Auth disabled by default — just POST
curl -X POST http://localhost:8080/admin/v0/servers \
  -H "Content-Type: application/json" \
  -d @server.json

# With auth enabled (AGENTREGISTRY_AUTH_ENABLED=true)
curl -X POST http://localhost:8080/admin/v0/servers \
  -H "Authorization: Bearer your-token" \
  -H "Content-Type: application/json" \
  -d @server.json

🤖 MCP Server

The controller embeds an MCP server on :8083. Connect any MCP-compatible client (Claude Code, Cursor, etc.) to browse, deploy, and manage registry resources conversationally.

Connect (auth disabled, default)

json
{
  "mcpServers": {
    "agentregistry": {
      "type": "streamable-http",
      "url": "http://localhost:8083/mcp"
    }
  }
}

Connect (auth enabled)

json
{
  "mcpServers": {
    "agentregistry": {
      "type": "streamable-http",
      "url": "http://localhost:8083/mcp",
      "headers": {
        "Authorization": "Bearer your-token"
      }
    }
  }
}

Tools

ToolDescription
list_catalogList catalog entries (servers/agents/skills/models)
get_catalogGet entry details
get_registry_statsCounts of all resource types
list_deploymentsList active deployments
get_deploymentDeployment details by name
deploy_catalog_itemDeploy a catalog item to Kubernetes
delete_deploymentRemove a deployment
update_deployment_configUpdate deployment config
list_environmentsDiscovered environments from DiscoveryConfig
get_discovery_mapCluster topology and resource counts
trigger_discoveryForce re-scan of discovery
recommend_serversAI-powered server recommendations
analyze_agent_dependenciesAI-powered dependency analysis
generate_deployment_planAI-powered deployment planning

→ Full MCP Docs | → MCP Auth


☸️ Production Deployment

bash
helm install agentregistry ./charts/agentregistry \
  --namespace agentregistry \
  --create-namespace \
  --set replicaCount=2 \
  --set controller.leaderElection=true

Key Configuration

SettingDefaultDescription
replicaCount1Set to 2+ for HA
controller.leaderElectionfalseRequired for multi-replica
controller.logLevelinfoUse debug for troubleshooting
httpApi.serviceTypeClusterIPUse LoadBalancer for external access
disableAuthtrueSet to false to enable Bearer token auth

🔐 Authentication

The admin API (/admin/*) is always authenticated and fail-closed: it requires a Bearer token from the agentregistry-api-tokens Kubernetes Secret and rejects every request when no tokens are configured, regardless of disableAuth. Public read endpoints (/v0/*) remain open. The disableAuth chart value (default false) governs Bearer-token enforcement on the MCP server and the auth flag served to the UI.

Enable Bearer Token Auth

bash
# Create token secret
kubectl create secret generic agentregistry-api-tokens \
  -n agentregistry \
  --from-literal=admin-token=$(openssl rand -hex 32)

# Install with auth enabled
helm install agentregistry ./charts/agentregistry \
  --namespace agentregistry \
  --set disableAuth=false

Azure AD (MSAL Browser PKCE)

The embedded UI supports Azure AD login via MSAL.js — no client secret required.

yaml
# charts/agentregistry/values.yaml
azure:
  tenantId: "your-tenant-id"
  clientId: "your-client-id"

→ Full Azure AD Setup


🧪 Development

bash
make dev          # Full stack: controller + UI dev server
make run          # Controller only with embedded UI at :8080
make test         # Run test suite
make lint         # gofmt + go vet
make build        # Build UI + controller binary
make generate     # Regenerate CRD manifests + deepcopy

🔗 Ecosystem

ProjectDescriptionLink
AgentgatewayMCP/HTTP auth gatewayagentgateway.dev
MCPModel Context Protocol specificationmodelcontextprotocol.io
KagentKubernetes AI agent runtimegithub.com/kagent-dev/kagent
KMCPMCP server operator for Kubernetesgithub.com/kagent-dev/kmcp
MCP Go SDKOfficial Go SDKgithub.com/modelcontextprotocol/go-sdk

💬 Join the Community

  • 🐛 Issues — Report bugs or request features
  • 🤝 PRs Welcome — We love contributions!

⬆ Back to Top

Made with ❤️ by the Agent Inventory team

MIT License

将 Agent Inventory MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Agent Inventory 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 在 TypingMind 中,您可以使用远程托管的 MCP 服务器的 URL 连接此 MCP 服务。

添加 MCP 服务器 URL

如果 Agent Inventory 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 提供商提供的 MCP 服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 提供商提供的 MCP 服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 Agent Inventory 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 Agent Inventory 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 Agent Inventory 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 Agent Inventory 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Agent Inventory 帮我完成这项任务吗?
Agent Inventory
当然,我看过了。
以下是我使用 Agent Inventory 得到的结果。

常见问题

Agent Inventory MCP 服务器有什么用途?

Agent Inventory 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Agent Inventory MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Agent Inventory。

为什么在 TypingMind 中使用 Agent Inventory MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Agent Inventory 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Agent Inventory MCP 连接到 TypingMind?

要连接 Agent Inventory,请在 TypingMind 中添加该远程 MCP 服务器的 URL。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

Agent Inventory MCP 在 TypingMind 中提供哪些工具?

Agent Inventory 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Agent Inventory MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Agent Inventory 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇