Skip to main content
Glama

okfshare CLI 和 MCP 服务器

npm: okfshare npm: @okfshare/mcp npm: @okfshare/agent-installer Site

本仓库为 okfshare 的客户端、开源部分:为 AI 编码代理提供共享、版本化的知识。

只需发布一次经过验证的 Markdown 包。所有已授权的代理都使用同一个不可变修订版工作,并且带有可审计的行级引用。托管服务保存修订版、引用和工作区授权信息;本仓库保存你的代理真正运行的工具。

命令

用途

okfshare

npx okfshare@latest

命令行:setup、publish、search、context、diff、rollback

@okfshare/mcp

npx @okfshare/mcp@latest

面向 Claude Code、Cursor、opencode、Codex 的 MCP 服务器

@okfshare/agent-installer

okfshare-agent

将 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 环境变量提供预先配置的凭据(仅检查其是否存在;切勿记录),然后使用 whoamidoctor 进行验证。

MCP 设置

claude mcp add okfshare -- npx @okfshare/mcp@latest

或任何 MCP 客户端:

{
  "mcpServers": {
    "okfshare": {
      "command": "npx",
      "args": ["@okfshare/mcp@latest"]
    }
  }
}

工具:whoamidoctorlist_sharessearch_sharesearch_workspaceget_contextpull_bundlepublish_bundle。注册表清单:server.json

为什么引用重要

检索会返回文件、精确的行号以及它们所在的不可变修订版。当代理声称“我们的约定是 X”时,你可以在几秒钟内验证这一说法——并且因为修订内容永远不会变动,一条引用在明天仍然意味着同样的含义。

Open Knowledge Format

Bundle 是带有结构化 frontmatter 的 Markdown:一个 type 字段、标签、来源和验证事件。该格式刻意保持小巧,并在任何编辑器中都可读。最坏情况下,你只会得到纯文件——没有任何锁定。

开发

pnpm install
pnpm check   # typecheck + test + build across all packages
  • Node 20+ 和 pnpm 10。

  • 各包使用位于 https://okfshare.app 的托管 API 进行通信;开发它们无需本地服务器。

  • 查看 CONTRIBUTING.md 了解接收流程,查看 SECURITY.md 了解如何报告漏洞。

链接

许可证

Apache-2.0。参见 NOTICE — 代码许可证不授予对 okfshare 名称或品牌的任何权利。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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