opchain
Claude Code / MCP skills for the dev pipeline: discover, spec, design, build, ship, operate.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"opchain-skills": {
"url": "https://opchain.dev/mcp"
}
}
}远程端点
https://opchain.dev/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢list_skills
List every opchain skill (id, displayName, description, phases, commands). Call this first to see the concept→ship pipeline.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}⚪route(query)
Map a request or an /oc-* command to the skill that should handle it, with the entry phase. Use when you're unsure which skill fits.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "An /oc-* command (e.g. /oc-discover) or a natural-language request (e.g. 'build me an app')."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_skill(id)
Return the full SKILL.md (the instructions) for one skill id. Load it, then follow it. Read get_orchestrator once before your first get_skill in a session.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Skill id, e.g. oc-app-architect."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_orchestrator
Return the shared orchestrator protocol (welcome flow, pipeline map, active-chaining rules). Read once at the start of a session.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟡create_checkpoint_session
Create a private server-issued session for checkpoint storage. Retain the returned sessionId and use it with read_checkpoint/write_checkpoint; never invent or share one.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟡read_checkpoint(skill, sessionId)
Read a skill's saved session checkpoint (where you left off). sessionId must be a private token returned by create_checkpoint_session.
输入模式
{
"type": "object",
"properties": {
"skill": {
"type": "string"
},
"sessionId": {
"type": "string",
"minLength": 36,
"maxLength": 128,
"description": "Private token returned by create_checkpoint_session."
}
},
"required": [
"skill",
"sessionId"
],
"additionalProperties": false
}🟡write_checkpoint(skill, sessionId, checkpoint, expectedRevision)
Persist a skill's session checkpoint so progress survives across sessions. Stores the object as given (any JSON object up to 64 KiB); it does not validate it against the opchain checkpoint protocol, so write the shape the protocol documents.
输入模式
{
"type": "object",
"properties": {
"skill": {
"type": "string"
},
"sessionId": {
"type": "string",
"minLength": 36,
"maxLength": 128,
"description": "Private token returned by create_checkpoint_session."
},
"checkpoint": {
"type": "object",
"description": "The checkpoint JSON to store (skill_state, next_actions, etc.)."
},
"expectedRevision": {
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "Local durable transport only: null creates only if absent; a revision updates only that revision. Omit for atomic unguarded replacement."
}
},
"required": [
"skill",
"sessionId",
"checkpoint"
],
"additionalProperties": false
}社区
证据