Aperçu

Configure source

MCPconfigure_source
WRITE$0.00003 / call
Features

Change or disconnect one of this project's connected sources (see list_sources): rename it, rewrite the note every tool reads as instruction, pause it, or remove it. Pausing (enabled: false) keeps the row and stops every tool and agent from reading it — the move for a repository that has moved or a site that is being rebuilt. disconnect: true deletes it, along with any GitHub authorisation attached to it. Identify the source by source_id from list_sources, or by match (a word from its label or URL).

Input7
Authorizationheaderrequired
Your API key, for the REST call. Sent from your browser straight to the API — never to Docsbook, never stored.
workspace_idstring
Workspace ID (optional when MCP endpoint is auto-scoped). Numeric workspace id — OR the project as the user names it: 'owner/repo', the repo name alone, the site's display name, its docs URL or custom domain. Text is resolved server-side; an ambiguous name returns the candidates instead of guessing, so pass what the user said rather than calling list_workspaces first.
source_idnumber
The source's id from list_sources.
matchstring
Part of its label or URL, when you do not have the id (e.g. 'acme/api').
notestring
Replace what this source is for. Read as instruction by everything that reads the source.
labelstring
Rename it in the list.
enabledboolean
false pauses the source: it stays connected and nothing reads it.
disconnectboolean
true removes the source entirely, with any GitHub authorisation attached to it.
Output3
sourceobject
{ id, kind, label, url, note, status, is_private, has_authorization } — absent when disconnect: true was passed.
disconnectedobject
{ id, label, url } — present only on disconnect.
notestring
Limitations
  • REQUIRES a read-write MCP token.
Example input
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "configure_source",
    "arguments": {}
  }
}
Example output
{
  "source": {},
  "disconnected": {},
  "note": "<note>"
}

Mis à jour

Cette page vous a-t-elle été utile ?