agentable-mcp
v1.1.4
Published
MCP based document processing tool, supporting document list and content extraction
Downloads
10
Readme
Agentable MCP
A document processing tool based on MCP protocol, supporting document listing and content extraction features.
Main Features
- Display a list of relevant documents:
list_documentstool - Extract the complete content of the document:
get_document_contenttool - Extract document content by outline:
get_document_outline_contenttool
Installation
Global installation via npm
npm install -g agentable-mcpInstallation as a project dependency
npm install --save agentable-mcpUsage
Using MCP service for current project in Cursor
- Step 1: Create a .cursor folder in your current project
- Step 2: Create a mcp.json file in this .cursor folder
- Step 3: Add specific configuration in this mcp.json file
Using MCP service globally in Cursor
- Step 1: Enter Cursor Settings
- Step 2: Select MCP in the sidebar
- Step 3: Click the Add new global MCP server button in the top right corner
- Step 4: Add specific configuration and enable the MCP service
Configuration Details
Basic configuration parameters
--path, -p: Specify paths to include (multiple paths allowed)--omit, -o: Specify paths to exclude (multiple paths allowed)--max_document_count, -d: Specify the maximum number of documents to be processed (default value: 5)--jina_api_key, -a: Specify Jina API key--jina_model, -m: Specify Jina model (default: jina-colbert-v2)
Specify a single document path
{
"mcpServers": {
"agentable": {
"command": "agentable-mcp serve --path /path/to/docs --jina_api_key secret key"
}
}
}Specify multiple document paths
{
"mcpServers": {
"agentable": {
"command": "agentable-mcp serve --path /path/to/docs1 --path /path/to/docs2 --jina_api_key secret key"
}
}
}Exclude specific document paths
{
"mcpServers": {
"agentable": {
"command": "agentable-mcp serve --path /path/to/docs --omit /path/to/docs/excluded --jina_api_key secret key"
}
}
}Specify the maximum number of documents to be processed
{
"mcpServers": {
"agentable": {
"command": "agentable-mcp serve --path /path/to/docs --omit /path/to/docs/excluded --jina_api_key secret key --max_document_count 10"
}
}
}Specify Jina model
{
"mcpServers": {
"agentable": {
"command": "agentable-mcp serve --path /path/to/docs --jina_api_key secret key --max_document_count 10 --jina_model jina-reranker-m0"
}
}
}