Skip to main content

BQMCP Cloud

A cloud service for document processing and AI content generation, built on top of FastMCP.

Features

  • PDF document processing and content extraction
  • AI-powered content generation:
    • PPT generation
    • Title generation
    • Abstract generation
    • Quick read content
    • Mind map generation
    • Deep reading content
    • Release date extraction
    • PDF generation

Installation

pip install bqmcp-cloud

Usage

As a Python Package

from bqmcp_cloud import BQMCPCloud

# Initialize the cloud service
cloud = BQMCPCloud(
    api_key="your-openai-api-key",  # or set OPENAI_API_KEY environment variable
    proxy="your-proxy-url",         # or set HTTP_PROXY environment variable
    base_output_path="outputs",     # optional
    log_level="INFO",              # optional
    mcp_name="bigquant"            # optional
)

# Run the server
cloud.run(transport='stdio')  # or 'http'

Command Line Interface

# Basic usage
bqmcp-cloud

# With custom configuration
bqmcp-cloud --api-key "your-key" --proxy "your-proxy" --output-dir "custom-outputs" --log-level DEBUG

Configuration

The service can be configured through:

  1. Environment variables:

    • OPENAI_API_KEY: Your OpenAI API key
    • HTTP_PROXY: HTTP proxy URL
  2. Constructor parameters:

    • api_key: OpenAI API key
    • proxy: HTTP proxy URL
    • base_output_path: Base directory for output files
    • log_level: Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
    • mcp_name: Name for the MCP server
  3. Command line arguments:

    • --api-key: OpenAI API key
    • --proxy: HTTP proxy URL
    • --output-dir: Base output directory
    • --log-level: Logging level
    • --name: MCP server name
    • --transport: Transport type (stdio or http)

Development

  1. Clone the repository:
git clone https://github.com/yourusername/bqmcp-cloud.git
cd bqmcp-cloud
  1. Create a virtual environment:
python -m venv .venv
source .venv/bin/activate  # Linux/Mac
# or
.venv\Scripts\activate     # Windows
  1. Install development dependencies:
pip install -e ".[dev]"
  1. Run tests:
pytest

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Metadata

Release files for bqmcp-cloud 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bqmcp-cloud 0.1.5
File Size Uploaded Provenance
bqmcp_cloud-0.1.5.tar.gz 36.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bqmcp-cloud 0.1.5
File Interpreter ABI Platform
bqmcp_cloud-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 110.4 kB

Release files / bqmcp_cloud-0.1.5.tar.gz

Download URL bqmcp_cloud-0.1.5.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5771ee2b29f37ee5c71436a8dd70caf2297051f75af4b987fd99ec25335f05ca
BLAKE2b-256 checksum
How to use checksums
92bac493bb8694dd1fdb80bf17f8d11578ebfb273df0e60980d50b00665cb2a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / bqmcp_cloud-0.1.5-py3-none-any.whl

Download URL bqmcp_cloud-0.1.5-py3-none-any.whl
Size 74.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e14d9e5103902da4125aab36c8b46d2f64de298bd42d43de701538e2219071fb
BLAKE2b-256 checksum
How to use checksums
23a99e5349f744fe58bcf7118b5e73433314ec52bf3641fbfe49e88755ad603c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for bqmcp-cloud 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page