@kanmon-hq/portico-ui
Web Components UI suite for Portico FastMCP Hub & Gateway
316
| Install | |
|---|---|
npm install @kanmon-hq/portico-ui |
|
| Latest Version: | 0.0.2 |
| Vue: | 3 |
| License: | MPL-2.0 |
| Last Updated: | Oct 19, 2026 |
| Links: | GitHub · npm |
Maintainer: northfield.t
@kanmon-hq/portico-ui
Portico FastMCP Hub & Gateway 向けの組み込み型 Web Components UI ライブラリ。
Vue 3、React、Next.js、Vanilla HTML などあらゆるフロントエンド環境に単一のカスタム要素として簡単に組み込み可能です。
特徴
- ⚡ Web Components (Custom Elements):
<portico-console>タグで即座にマウント可能 - 🛡️ Shadow DOM スコープ保護: ホストアプリケーションの CSS と干渉しない完全隔離スタイリング
- 🔌 FastMCP サーバー管理: 社内 SaaS Built-in ツールおよびテナント個別 MCP サーバーの動的追加・削除・ステータス監視
- 🛠️ 統合ツールカタログ: 認識済みツール一覧、引数スキーマ、許可スコープのリアルタイムブラウズ
インストール
npm からインストール (推奨)
npm install @kanmon-hq/portico-ui
GitHub Packages からインストール
プロジェクト直下の .npmrc に以下を設定してインストールします:
@kanmon-hq:registry=https://npm.pkg.github.com
npm install @kanmon-hq/portico-ui
使い方 (Vue 3 / React)
Vue 3
<script setup lang="ts">
import '@kanmon-hq/portico-ui'
const tenants = [
{ id: 'tenant-corp-a', name: '企業 A' },
{ id: 'tenant-corp-b', name: '企業 B' }
]
</script>
<template>
<portico-console
api-base-url=""
admin-token="your-admin-secret"
:tenants-json="tenants"
/>
</template>
React
import React, { useEffect } from 'react'
export function PorticoAdminPage() {
useEffect(() => {
import('@kanmon-hq/portico-ui')
}, [])
return (
<portico-console
api-base-url={process.env.NEXT_PUBLIC_PORTICO_API_URL}
admin-token="secret"
/>
)
}
ライセンス
MPL-2.0
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.2 | ^3.5.13 | MPL-2.0 | |
| 0.0.1 | ^3.5.13 | Apache-2.0 |