Skip to main content

Mati MCP Server

MCP server that connects Cursor, Claude, and other AI tools to the Mati content API. Create drafts, schedule posts, and publish to Twitter—all from your AI assistant.

Install

From PyPI (once published):

pip install mati-mcp-server

From source (development):

cd mati-mcp-server
make install   # creates venv, installs deps
make run       # or: source venv/bin/activate && mati-mcp-server

Configure

Set these environment variables (or add to your shell profile):

Variable Default Description
MATI_API_BASE_URL https://api.dev.hiremati.ai Mati API base URL
MATI_API_KEY HireMatiAi Your API key (linked to your Mati user)

Add to Cursor

  1. Open Cursor → Settings → Features → MCP

  2. Click Add New MCP Server

  3. Configure:

    • Name: Mati (or any name)
    • Type: stdio
    • Command: mati-mcp-server
  4. If you need to pass env vars, use a command like:

    env MATI_API_BASE_URL=https://api.dev.hiremati.ai MATI_API_KEY=your-key mati-mcp-server
    
  5. Save and refresh

Add to Claude Desktop / Claude Code

claude mcp add mati mati-mcp-server

Or with env vars:

env MATI_API_KEY=your-key claude mcp add mati mati-mcp-server

Tools

  • create_draft – Create or update a content draft
  • list_drafts – List your drafts
  • list_scheduled – List scheduled content
  • update_draft – Update an existing draft
  • schedule_post – Schedule content for publishing
  • post_content – Post content to Twitter

All content is linked to your Mati user (via your API key).

Optional: Run as HTTP server

To run a standalone HTTP server (e.g. for remote connections):

mati-mcp-server --http

Server runs at http://localhost:8000/mcp.


Publishing to PyPI (for maintainers)

# 1. Install build tools
pip install build twine

# 2. Build the package (creates dist/*.whl and dist/*.tar.gz)
python -m build

# 3. Upload to PyPI (prompts for username/password or token)
twine upload dist/*

Metadata

Release files for mati-mcp-server 0.1.0

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

Source distribution (sdist)

Source distribution for mati-mcp-server 0.1.0
File Size Uploaded Provenance
mati_mcp_server-0.1.0.tar.gz 5.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mati-mcp-server 0.1.0
File Interpreter ABI Platform
mati_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / mati_mcp_server-0.1.0.tar.gz

Download URL mati_mcp_server-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f253c3ee2b74b9c8e9dbb4b29ac651989e37c1749ceb8a32349da8d7a88fce7c
BLAKE2b-256 checksum
How to use checksums
5c6bb3b48626428df7d19221421a456b2f65f2cdabac3aad20425faec6279e93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / mati_mcp_server-0.1.0-py3-none-any.whl

Download URL mati_mcp_server-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5d9ad6fd7b0d847c9c3ab3be1753fbb931b9bfe43782107974504fd712859ee
BLAKE2b-256 checksum
How to use checksums
7a6fd98d1a357c665105e15cdc904d7becef530abc6d69c0ca1066a2f82425c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for mati-mcp-server 0.1.0

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