@okfshare/mcp
okfshare CLI と MCP サーバー
okfshare のクライアントサイドを担うオープンソース実装です。AI コーディングエージェント向けに、共有・バージョン管理されたナレッジを提供します。
検証済みの Markdown バンドルを一度公開するだけで、承認されたすべてのエージェントが同じ不変のリビジョンを基準に、監査可能な行レベルの引用を利用して作業できます。ホスト型サービスはリビジョン、引用、ワークスペース認証を保持し、このリポジトリにはエージェントが実際に実行するツールが含まれています。
パッケージ
パッケージ | コマンド | 目的 |
| CLI: setup、publish、search、context、diff、rollback | |
| Claude Code、Cursor、opencode、Codex 向け MCP サーバー | |
| okfshare スキルをエージェントツールにインストールする |
Related MCP server: 50 First Tapes MCP Server
クイックスタート
# 1. One-time onboarding (device pairing in your browser)
npx okfshare@latest setup
# 2. Validate and publish a folder of Markdown
npx okfshare@latest validate ./knowledge
npx okfshare@latest publish ./knowledge --visibility public --yes
# 3. Any teammate's agent retrieves cited context
npx okfshare@latest context SHARE_ID "how do we handle db migrations"ヘッドレス / CI 環境では、事前にプロビジョニングされた認証情報を OKFSHARE_TOKEN 環境変数で指定します(存在確認のみ行い、絶対にログ出力しないこと)。その後、whoami と doctor で検証します。
MCP セットアップ
claude mcp add okfshare -- npx @okfshare/mcp@latestまたは、任意の MCP クライアント:
{
"mcpServers": {
"okfshare": {
"command": "npx",
"args": ["@okfshare/mcp@latest"]
}
}
}ツール: whoami、doctor、list_shares、search_share、search_workspace、get_context、pull_bundle、publish_bundle。レジストリマニフェスト: server.json。
引用がなぜ重要な理由
取得結果は、ファイル、正確な行、そしてそれらの出典となる不変のリビジョンを返します。エージェントが「当社の規約は X」と主張した場合、その主張を数秒で監査できます。リビジョンの内容はその場で変更されることがないため、引用は明日も同じ意味を持ち続けます。
Open Knowledge Format
バンドルは構造化されたフロントマターを持つ Markdown です: type、タイトル、説明、タグ、ソース、検証イベントを含みます。この形式は意図的に小さく保たれており、どのエディタでも読みやすいままです。最悪の場合でも、残るのはプレーンファイルだけです。ロックインはありません。
仕様: https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md
フィールドガイド(okfshare 自身が公開しています): https://okfshare.app/s/ecf08367a22273482c0887ca8700ee8e
フォーク可能な規約スターター: https://okfshare.app/s/e8ddeda5aab619495c970f031dce7058
開発
pnpm install
pnpm check # typecheck + test + build across all packagesNode.js 20+ と pnpm 10。
各パッケージは、ホスト型 API である
https://okfshare.appに接続します。ローカルサーバーは開発には不要です。受け入れフローは CONTRIBUTING.md を、脆弱性の報告は SECURITY.md を参照してください。
リンク
サイトとドキュメント: https://okfshare.app
エージェント向けドキュメント: https://okfshare.app/llms.txt および https://okfshare.app/llms-full.txt
ライセンス
Apache-2.0 ライセンスです。NOTICE もご覧ください。コードのライセンスは okfshare の名称やブランドに対する権利を付与するものではありません。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
FlicenseNot gradedqualityDmaintenanceProvides AI coding agents with structured access to indexed codebases via semantic search, symbol analysis, and file reading tools.12- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read and write a local-first knowledge base of plain markdown files in git, with governance gates for safe, hash-anchored edits.1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to search and query documentation from git repositories using hybrid search and structured metadata queries.1
- AlicenseNot gradedqualityBmaintenanceProvides token-efficient code retrieval for coding agents by indexing repositories and enabling ranked snippet search, symbol outlines, and surgical line reads.MIT
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MegaPanchamZ/okfshare-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server