Doclayer MCP Server - Integrate Doclayer with Claude Code and Cursor
Project description
Doclayer MCP Server
A Model Context Protocol (MCP) server that enables developers using Claude Code or Cursor to integrate with Doclayer within 5 minutes.
Features
- CLI-like Tools: Upload documents, search, manage projects, and more
- Integration Guidance: Get personalized advice on how to integrate Doclayer
- Custom Template Creation: Create and validate custom agent templates
- Code Examples: Access ready-to-use code snippets in multiple languages
Quick Start
Installation
# Via pip
pip install doclayer-mcp
# Or via uvx (recommended for MCP)
uvx doclayer-mcp
Configure Claude Code
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"doclayer": {
"command": "uvx",
"args": ["doclayer-mcp"],
"env": {
"DOCLAYER_API_KEY": "your-api-key"
}
}
}
}
Configure Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"doclayer": {
"command": "uvx",
"args": ["doclayer-mcp"]
}
}
}
Get Your API Key
- Sign up at https://app.doclayer.ai
- Go to Settings > API Keys
- Create a new API key
- Set the environment variable or use the
setup_authtool
Available Tools
| Tool | Description |
|---|---|
setup_auth |
Configure API credentials |
check_connection |
Verify API connectivity |
upload_document |
Upload a document for processing |
get_document_status |
Check processing status |
get_document_extractions |
Retrieve extraction results |
search_documents |
Vector search across documents |
list_templates |
List available agent templates |
get_template |
Get template details |
list_projects |
List your projects |
create_project |
Create a new project |
generate_api_key |
Create new API key |
create_custom_template |
Scaffold a new template |
validate_template |
Validate template manifest |
Available Resources
| Resource URI | Description |
|---|---|
doclayer://config/current |
Current configuration |
doclayer://api/endpoints |
API endpoint reference |
doclayer://examples/quickstart |
Code examples |
doclayer://schema/manifest |
Template manifest schema |
Available Prompts
| Prompt | Description |
|---|---|
quickstart |
5-minute integration guide |
integration-advisor |
Analyze your project and suggest integration |
template-creator |
Guide to create custom templates |
troubleshoot |
Diagnose common issues |
best-practices |
Integration best practices |
5-Minute Integration Flow
-
Install (30 seconds)
pip install doclayer-mcp
-
Configure (30 seconds)
- Add to your MCP config
- Set
DOCLAYER_API_KEY
-
Restart your IDE (30 seconds)
-
Use the quickstart prompt (3 minutes)
- Ask Claude: "Use the quickstart prompt to help me integrate Doclayer"
Environment Variables
| Variable | Description | Default |
|---|---|---|
DOCLAYER_API_KEY |
Your Doclayer API key | None |
DOCLAYER_BASE_URL |
API base URL | https://api.doclayer.ai |
DOCLAYER_TENANT_ID |
Tenant/organization ID | None |
DOCLAYER_NO_KEYRING |
Disable system keyring | false |
Development
Setup
cd mcp-server
pip install -e ".[dev]"
Run Tests
pytest
Run Locally
python -m doclayer_mcp.server
License
MIT License - see LICENSE file for details.
Support
- Documentation: https://docs.doclayer.ai
- Issues: https://github.com/okc0mputex/Doclayer/issues
- Email: support@doclayer.ai
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file doclayer_mcp-0.1.0.tar.gz.
File metadata
- Download URL: doclayer_mcp-0.1.0.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2893f00cc25683dd397ea6b79d533487bbebae937d9f63f51ee53b9a75e277c
|
|
| MD5 |
74a860d4853db63de3e83d885af495ae
|
|
| BLAKE2b-256 |
5df5caa80ab45403a8e9a899a47cc4b16cf405e370726d40db0bd0a52939997c
|
Provenance
The following attestation bundles were made for doclayer_mcp-0.1.0.tar.gz:
Publisher:
publish-mcp.yml on okc0mputex/Doclayer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
doclayer_mcp-0.1.0.tar.gz -
Subject digest:
b2893f00cc25683dd397ea6b79d533487bbebae937d9f63f51ee53b9a75e277c - Sigstore transparency entry: 789761004
- Sigstore integration time:
-
Permalink:
okc0mputex/Doclayer@64edf4f6c8c0ce2efc5710cf9c8236ab4968291f -
Branch / Tag:
refs/tags/mcp-v0.1.0 - Owner: https://github.com/okc0mputex
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@64edf4f6c8c0ce2efc5710cf9c8236ab4968291f -
Trigger Event:
push
-
Statement type:
File details
Details for the file doclayer_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: doclayer_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23602ab3fa480722c5bdfe06ad20deae2a5f1200a529463dcc18aa70987565d9
|
|
| MD5 |
6f98aeaab22e788283e052dd34739611
|
|
| BLAKE2b-256 |
a0040283fd64ee56146606eb2c162631a188fd07dba69ec7d8e6332191d173ac
|
Provenance
The following attestation bundles were made for doclayer_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish-mcp.yml on okc0mputex/Doclayer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
doclayer_mcp-0.1.0-py3-none-any.whl -
Subject digest:
23602ab3fa480722c5bdfe06ad20deae2a5f1200a529463dcc18aa70987565d9 - Sigstore transparency entry: 789761006
- Sigstore integration time:
-
Permalink:
okc0mputex/Doclayer@64edf4f6c8c0ce2efc5710cf9c8236ab4968291f -
Branch / Tag:
refs/tags/mcp-v0.1.0 - Owner: https://github.com/okc0mputex
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@64edf4f6c8c0ce2efc5710cf9c8236ab4968291f -
Trigger Event:
push
-
Statement type: