A Model Context Protocol (MCP) server for interacting with the Typefully API. This server enables AI agents within Cursor IDE to perform actions such as creating drafts, retrieving scheduled and published content from Typefully.
- Create new drafts with support for threadify, scheduling, and more
- Retrieve recently scheduled drafts
- Retrieve recently published drafts
- Clone the repository
- Install dependencies:
npm install - Build the project:
npm run build
To use this MCP server, you need to:
- Obtain a Typefully API key from your Typefully account
- Add the MCP configuration to your
~/.cursor/mcp.jsonfile:
{
"typefully-mcp": {
"command": "node",
"args": ["/path/to/typefully-mcp/dist/index.js"],
"env": {
"TYPEFULLY_API_KEY": "your-api-key-here"
}
}
}Creates a new draft in Typefully.
Parameters:
content(required): The content of the draftthreadify(optional): Whether to threadify the content (default: false)share(optional): Whether to share the draft (default: false)schedule_date(optional): The date to schedule the draft for publication (ISO format)auto_retweet_enabled(optional): Whether to enable auto-retweet (default: false)auto_plug_enabled(optional): Whether to enable auto-plug (default: false)
Retrieves recently scheduled drafts from Typefully.
Parameters:
content_filter(optional): Filter drafts by content
Retrieves recently published drafts from Typefully.
Parameters: None
- Start the development server:
npm run dev
-
Build the project:
npm run build -
Start the production server:
npm start
ISC