add_local_source
Add a local directory of HTML files to devdocs-mcp for indexing and semantic search.
Instructions
Add a local directory as a documentation source.
The directory should contain HTML files that will be indexed for search.
Args: path: Absolute filesystem path to the docs directory slug: Unique identifier for this local source
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"slug": "<slug>"
},
"name": "add_local_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |