Skip to main content

Qexo MCP Server

An MCP (Machine Communication Protocol) server implementation for interacting with Qexo CMS, allowing seamless integration with Qexo's content management capabilities.

Overview

Qexo MCP Server provides a bridge between MCP clients and the Qexo CMS API, enabling programmatic management of content through a standardized interface. This server implementation simplifies the process of working with Qexo CMS by providing a set of well-defined tools for common operations.

Features

  • Content Management: Create, read, update, and delete blog posts and files
  • Post Management: Save and manage draft posts
  • Search Capability: Search through existing posts
  • Metadata Handling: Manage categories and tags for posts
  • Full Integration: Complete integration with the Qexo API
  • Commit Messages: Support for custom commit messages when saving changes

Installation

Using pip

pip install qexo-mcp

From Source

  1. Clone the repository:
git clone https://github.com/yuzhi-jiang/mcp-servers.git
cd mcp-servers/qexo-mcp
  1. Install the package:
pip install -e .

Configuration

Qexo MCP Server requires API credentials to connect to your Qexo instance. You can provide these through environment variables:

  1. Create a .env file in your project directory:
api_url=https://your-qexo-instance.com
api_token=your-api-token
  1. Alternatively, set the environment variables directly:
# Linux/macOS
export api_url=https://your-qexo-instance.com
export api_token=your-api-token

# Windows
set api_url=https://your-qexo-instance.com
set api_token=your-api-token

Running the Server

qexo-mcp

This will start the MCP server, which will listen for incoming requests.

Available Tools

Post Management

  • get_posts(s: str = None) -> List[dict]

    • Get all posts, optionally filtered by search string
    • Parameters:
      • s: Optional search string
  • save_or_update_post(title: str, content: str, categories: List[str]=[], tags: List[str]=[], commitchange: str=None) -> dict

    • Save or update a blog post
    • Parameters:
      • title: Post title
      • content: Post content
      • categories: List of categories
      • tags: List of tags
      • commitchange: Optional commit message
  • delete_post(title: str) -> dict

    • Delete a post
    • Parameters:
      • title: Post title

File Management

  • save_or_update_file(file: str, content: str) -> dict

    • Save or update a file
    • Parameters:
      • file: File path
      • content: File content
  • new_file(file: str, content: str) -> dict

    • Create a new file
    • Parameters:
      • file: File path
      • content: File content
  • delete_file(file: str) -> dict

    • Delete a file
    • Parameters:
      • file: File path

Usage Examples

mcp config

{
    "mcpServers": {
        "qexo-mcp-server": {
            "name": "qexo",
            "description": "",
            "isActive": true,
            "command": "uvx",
            "args": [
                "qexo-mcp"
            ],
            "env": {
                "api_url": "https://your-qexo-instance.com",
                "api_token": "your-api-token"
            }
        }
    }
}

License

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

Author

Contributing

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

Metadata

Release files for qexo-mcp 0.1.3

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

Source distribution (sdist)

Source distribution for qexo-mcp 0.1.3
File Size Uploaded Provenance
qexo_mcp-0.1.3.tar.gz 23.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qexo-mcp 0.1.3
File Interpreter ABI Platform
qexo_mcp-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 29.3 kB

Release files / qexo_mcp-0.1.3.tar.gz

Download URL qexo_mcp-0.1.3.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3b1c92503ffc1bf9496fa24904c04aa098a0cbbc6b01a952cab5deb5c00b1c22
BLAKE2b-256 checksum
How to use checksums
c4546ba4ad4ba08edb788249f051e38239da634022a8117bf8b736675a2551b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.29

Release files / qexo_mcp-0.1.3-py3-none-any.whl

Download URL qexo_mcp-0.1.3-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d50f780b49a26dbbafacc06323ff8e0df636cfdafda36997d37b957464f9a106
BLAKE2b-256 checksum
How to use checksums
6722652f467533448fbc3ed012544eefb8d531715b8ca75b88981ebcba24af09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.29

Security for qexo-mcp 0.1.3

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.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files No provenance

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