Skip to main content

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

  1. Sign up at https://app.doclayer.ai
  2. Go to Settings > API Keys
  3. Create a new API key
  4. Set the environment variable or use the setup_auth tool

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

  1. Install (30 seconds)

    pip install doclayer-mcp
    
  2. Configure (30 seconds)

    • Add to your MCP config
    • Set DOCLAYER_API_KEY
  3. Restart your IDE (30 seconds)

  4. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

doclayer_mcp-0.1.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

doclayer_mcp-0.1.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

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

Hashes for doclayer_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b2893f00cc25683dd397ea6b79d533487bbebae937d9f63f51ee53b9a75e277c
MD5 74a860d4853db63de3e83d885af495ae
BLAKE2b-256 5df5caa80ab45403a8e9a899a47cc4b16cf405e370726d40db0bd0a52939997c

See more details on using hashes here.

Provenance

The following attestation bundles were made for doclayer_mcp-0.1.0.tar.gz:

Publisher: publish-mcp.yml on okc0mputex/Doclayer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for doclayer_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23602ab3fa480722c5bdfe06ad20deae2a5f1200a529463dcc18aa70987565d9
MD5 6f98aeaab22e788283e052dd34739611
BLAKE2b-256 a0040283fd64ee56146606eb2c162631a188fd07dba69ec7d8e6332191d173ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for doclayer_mcp-0.1.0-py3-none-any.whl:

Publisher: publish-mcp.yml on okc0mputex/Doclayer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page