QBCore Community Documentation
Independent QBCore API, resource and troubleshooting docs with cited sources.
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~1,313Token(工具定義)
~4.3 KB典型回應大小
中等的注意力影響(128k 上下文的 1.03%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"qbcore-docs": {
"url": "https://qbcore.net/api/mcp"
}
}
}遠端端點
https://qbcore.net/api/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢docs_search(query, scope, limit)
Find QBCore APIs, qb-* resources, setup and troubleshooting references. Returns bounded excerpts, canonical citations and recorded source-review metadata. Use docs_get for complete code.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 256
},
"scope": {
"type": "string",
"enum": [
"guides",
"api",
"resources",
"troubleshooting"
]
},
"limit": {
"default": 5,
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"scope": {
"type": "string",
"enum": [
"guides",
"api",
"resources",
"troubleshooting"
]
},
"provenance": {
"type": "object",
"properties": {
"sourceType": {
"type": [
"string",
"null"
]
},
"upstream": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
},
"verifiedAt": {
"type": [
"string",
"null"
]
},
"verifiedCommit": {
"type": [
"string",
"null"
]
}
},
"required": [
"sourceType",
"upstream",
"verifiedAt",
"verifiedCommit"
],
"additionalProperties": false
},
"excerpt": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"offset": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"text",
"offset"
],
"additionalProperties": false
}
},
"required": [
"path",
"url",
"title",
"description",
"scope",
"provenance",
"excerpt"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"query",
"results",
"total"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢docs_get(path, offset)
Read Markdown at a canonical path returned by docs_search or docs_list. Follow nextOffset until null to obtain the complete article. Does not fetch arbitrary URLs.
輸入結構描述
{
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 240,
"pattern": "^\\/(?:docs|tutorials|resources|quickstart)(?:\\/[a-z0-9_-]+)*$"
},
"offset": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"required": [
"path"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"path": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"scope": {
"type": "string",
"enum": [
"guides",
"api",
"resources",
"troubleshooting"
]
},
"provenance": {
"type": "object",
"properties": {
"sourceType": {
"type": [
"string",
"null"
]
},
"upstream": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
},
"verifiedAt": {
"type": [
"string",
"null"
]
},
"verifiedCommit": {
"type": [
"string",
"null"
]
}
},
"required": [
"sourceType",
"upstream",
"verifiedAt",
"verifiedCommit"
],
"additionalProperties": false
},
"content": {
"type": "string"
},
"format": {
"type": "string",
"const": "markdown"
},
"offset": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"totalChars": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"path",
"url",
"title",
"description",
"scope",
"provenance",
"content",
"format",
"offset",
"totalChars",
"nextOffset"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢docs_list(scope, offset, limit)
Browse the canonical documentation catalog by scope with deterministic pagination. Follow nextOffset until null.
輸入結構描述
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"guides",
"api",
"resources",
"troubleshooting"
]
},
"offset": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"limit": {
"default": 20,
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"pages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"scope": {
"type": "string",
"enum": [
"guides",
"api",
"resources",
"troubleshooting"
]
},
"provenance": {
"type": "object",
"properties": {
"sourceType": {
"type": [
"string",
"null"
]
},
"upstream": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
},
"verifiedAt": {
"type": [
"string",
"null"
]
},
"verifiedCommit": {
"type": [
"string",
"null"
]
}
},
"required": [
"sourceType",
"upstream",
"verifiedAt",
"verifiedCommit"
],
"additionalProperties": false
}
},
"required": [
"path",
"url",
"title",
"description",
"scope",
"provenance"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"pages",
"total",
"nextOffset"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社群
證據
近期觀測
已驗證未記錄版本3 個工具