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
Installing uv or uvx
If you don't have uv or uvx installed, you can install them using one of the following methods:
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Using Homebrew (macOS):
brew install uv
Using pip:
pip install uv
After installation, uvx will be available as part of uv. See the uv documentation for more details.
Using uvx (recommended)
uvx --from writefreely-mcp-server writefreely-mcp
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": ["--from", "writefreely-mcp-server", "writefreely-mcp"],
"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 collectionbrowse_public_feed()- Browse the public feed
License
MIT
Links
Metadata
Release files for writefreely-mcp-server 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| writefreely_mcp_server-0.1.3.tar.gz | 94.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| writefreely_mcp_server-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 110.6 kB
Release files / writefreely_mcp_server-0.1.3.tar.gz
| Download URL | writefreely_mcp_server-0.1.3.tar.gz |
|---|---|
| Size | 94.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5537964a3f7ca0a1aa466ca49e7c05ee846ac00641a0abf1b31fb9efc2e29d9
|
|
BLAKE2b-256 checksum How to use checksums |
8a8a05930b687a416de26b6d70efd36f5ddd0833e7683855ad49eff422a15013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / writefreely_mcp_server-0.1.3-py3-none-any.whl
| Download URL | writefreely_mcp_server-0.1.3-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7e35faaf3850501b7cd7df1175ea3ed5913b9f722cb2c5fdda93a8bf2ea513d
|
|
BLAKE2b-256 checksum How to use checksums |
e4143b1df201e70c71289de2f5451973f11845d6914c3042b62bc1c8f1d0a4c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|