MCP server for Mati content operations - connects Cursor/Claude to Mati API
Project description
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
-
Open Cursor → Settings → Features → MCP
-
Click Add New MCP Server
-
Configure:
- Name:
Mati(or any name) - Type:
stdio - Command:
mati-mcp-server
- Name:
-
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 -
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/*
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 mati_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: mati_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f253c3ee2b74b9c8e9dbb4b29ac651989e37c1749ceb8a32349da8d7a88fce7c
|
|
| MD5 |
12573e5ac83dd596ab5f9b426bca6d2e
|
|
| BLAKE2b-256 |
5c6bb3b48626428df7d19221421a456b2f65f2cdabac3aad20425faec6279e93
|
File details
Details for the file mati_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mati_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5d9ad6fd7b0d847c9c3ab3be1753fbb931b9bfe43782107974504fd712859ee
|
|
| MD5 |
fab97a907708e641205161f5b2e572f0
|
|
| BLAKE2b-256 |
7a6fd98d1a357c665105e15cdc904d7becef530abc6d69c0ca1066a2f82425c9
|