An MCP server for interacting with WriteFreely API, enabling AI agents like Claude to perform blogging actions. Supports both self-hosted WriteFreely instances and the Write.as hosted service. This is a community-built, independent project.
Project description
writefreely-mcp-server
An MCP server for WriteFreely that enables AI agents to publish and manage content on WriteFreely instances (including self-hosted instances and Write.as).
Features
- Publish posts (anonymous or authenticated)
- Manage collections and posts
- Browse public feeds
- Support for Write.as and self-hosted WriteFreely instances
Installation
Using uvx (recommended)
uvx writefreely-mcp-server
Using uv
uv tool install writefreely-mcp-server
writefreely-mcp
Using pip
pip install writefreely-mcp-server
Configuration
Configure via environment variables:
WRITEFREELY_BASE_URL- Base URL (default:https://write.as)WRITEFREELY_ACCESS_TOKEN- Access token for authenticationWRITEFREELY_DEFAULT_LANGUAGE- Default language (default:en)
Getting an Access Token
curl -X POST https://write.as/api/auth/login \
-H "Content-Type: application/json" \
-d '{"alias": "your_username", "pass": "your_password"}'
MCP Client Configuration
{
"mcpServers": {
"writefreely": {
"command": "uvx",
"args": ["writefreely-mcp-server"],
"env": {
"WRITEFREELY_BASE_URL": "https://write.as",
"WRITEFREELY_ACCESS_TOKEN": "your_token_here"
}
}
}
}
Available Tools
login()- Authenticate with username/passwordpublish_post()- Create and publish a new postedit_post()- Update an existing postdelete_post()- Delete a postread_post()- Read a post by IDlist_my_posts()- List all your postslist_my_collections()- List all your collections/blogsbrowse_collection()- Browse posts in a collectionupdate_collection()- Update collection metadatabrowse_public_feed()- Browse the public feed
License
MIT
Links
Project details
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 writefreely_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: writefreely_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 93.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
324c5d3ea46f54d72e031ae9dc61ff969eb2be148e4ffc0c1391f76ab2192ebb
|
|
| MD5 |
8ed4d730d697593e1024864a7d986919
|
|
| BLAKE2b-256 |
6d330d811c9a73772ea39588da97f1eee50dbc41102a4b3ca99d119d77926b4d
|
File details
Details for the file writefreely_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: writefreely_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1de6c582db03ec37c013862e47aae30a752c914b6650f26456f29e563c8a876b
|
|
| MD5 |
f70da28ce84fce51db1c419730f01025
|
|
| BLAKE2b-256 |
06f169ec6c965c05db68348a834ec3f0020501b082e426508a67876cb098bbda
|