Server data from the Official MCP Registry
Rust MCP server for WordPress: posts, pages, media, comments and settings, plus read-only SQL.
About
Rust MCP server for WordPress: posts, pages, media, comments and settings, plus read-only SQL.
Security Report
Valid MCP server (0 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
3 files analyzed ยท No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
mcp-rs
A Rust implementation of a Model Context Protocol (MCP) server that gives AI clients tools for WordPress, databases (PostgreSQL, MySQL, MariaDB, SQLite, Redis, MongoDB), and external MCP plugins.
Ask Claude to draft, schedule, and publish WordPress posts, upload media, or moderate comments. Install it with Scoop or Homebrew, answer a few questions in mcp-rs init, and it is registered with Claude Desktop, Claude Code, and GitHub Copilot.
Overview
mcp-rs is an MCP server written in Rust. MCP clients such as Claude Desktop and Claude Code connect to it over STDIO, and other clients over HTTP. It offers:
- 41 WordPress tools (posts, pages, custom post types, media, categories, tags and other taxonomies, comments, site settings) through the WordPress REST API
- Read-only tools for one PostgreSQL, MySQL, MariaDB, SQLite, Redis, or MongoDB database (writes only when allowed)
- The tools of external MCP servers, started as plugins (child process, Docker container, or Kubernetes Job)
- For HTTP mode: API key or OAuth 2.1 authentication, per-caller tool limits, TLS/mTLS, rate limiting, and an audit log
๐ Key Features
Core Capabilities
- MCP over JSON-RPC 2.0: Protocol versions up to 2025-11-25 (with
initialize), and 2026-07-28 (server/discoverand per-request_meta, over STDIO and HTTP/mcp) - Transports: STDIO, and HTTP (with optional WebSocket on
/ws) - Plugins: Add the tools of any MCP server that speaks STDIO, run as a child process, in a Docker container, or as a Kubernetes Job. See Plugins
- Configuration: One TOML file, with
${VAR}for values from environment variables - Status Tool:
mcp_rs_statusshows the version, config file, log files, and what failed to start
WordPress Integration (41 Tools)
- Posts & Pages Management: Create, read (full editable source), update, and delete posts and pages, with SEO metadata and scheduling; list revisions and restore one
- Media Management: Upload with base64 (type, extension, and content validation), list, update metadata, delete, and set featured images
- Categories & Tags Management: Create, update, and delete, with hierarchical categories
- Comments: List by status (awaiting moderation, spam and others), approve, mark as spam, reply, and delete
- YouTube & Social Embeds: Rich media integration with security validation
- Site Settings: Read and update site settings and the front page configuration
- Health Check: Verify connectivity, authentication, permissions, and media upload capability
- Custom Post Types: Products, events and other post types that the site exposes in the REST API, when allowed in
post_types, with their own taxonomies (docs) - Prompts: Ready-made requests in the client's menu: draft a post, review a post's SEO, moderate comments (and summarize a database table)
- Claude Desktop Extension: Install
mcp-rs-<version>.mcpbfrom a release and enter the site in Claude Desktop's settings (docs). Listed in the official MCP Registry asio.github.n-takatsu/mcp-rs - Multiple Sites: Use several WordPress sites from one mcp-rs; each tool takes a
siteargument (docs)
Live Demo Site
The examples/wordpress_site_builder_demo.rs example builds and updates the public WordPress demo site at redring.jp. It is a real-world showcase of how mcp-rs can bootstrap a site and organize content in production.
Security
- Credentials Out of Files:
mcp-rs initkeeps the WordPress Application Password and the database password in the OS credential store. The WordPress credentials can also be stored encrypted with AES-GCM-256 (PBKDF2 key derivation). Either password can also be read from an environment variable - HTTP Mode Authentication: API keys, or OAuth 2.1 access tokens (JWT) issued by an external authorization server
- Per-Caller Tool Limits: Allow each API key or token only the tools it needs (for example
@read_only) - TLS/mTLS: HTTPS with a minimum TLS version, and optional client certificates
- Network Policy, Anti-Replay and Intrusion Detection for the HTTP/WebSocket listener
- Rate Limiting of tool calls
- Audit Logging: Who called which tool, and the result
Database Integration (PostgreSQL, MySQL, MariaDB, SQLite, Redis, MongoDB)
- One Section to Connect: Add
[database]to the configuration file (engine = "postgresql", or"mysql"or"mariadb"(v0.25.0 and later), host, database, user, andpassword = "${VAR}"; for SQLite (v0.31.0 and later),engine = "sqlite"and the path of the database file; for Redis and MongoDB (v0.31.0 and later),engine = "redis"or"mongodb", each with its own read-only tools) - Read-Only by Default:
execute_query(one SELECT, run in a read-only transaction that is rolled back),explain_query(the plan of a SELECT, without running it; v0.31.0 and later), andget_schema - Writes Only When Allowed:
execute_command(one INSERT, UPDATE, or DELETE) is offered only withallow_write = true - Bound Parameters:
$1,$2, โฆ (PostgreSQL) or?(MySQL, MariaDB, SQLite) are bound, never inserted into the SQL text, and strings are converted to the column's type - Limits: Rows per result (1,000), time per statement (30 s), and connections (5) by default
- Audit Logging: Each call is recorded with its SQL; parameter values are not
Connect with a read-only database role. See the Database Integration Guide.
๐ Quick Start
To use WordPress, you need a site with Application Passwords (Users > Profile > Application Passwords) that mcp-rs can reach over HTTPS. To use only a database (PostgreSQL, MySQL or MariaDB), no WordPress site is needed: answer 2, "A database", to the first question of mcp-rs init. Rust is not needed: each release from v0.25.0 has ready-built mcp-rs for Windows (x64), macOS (Apple Silicon), and Linux (x64).
1. Install with a package manager (from v0.29.0). It installs the release's ready-built mcp-rs, and updates it with your other packages (scoop update, brew upgrade):
# Windows (Scoop)
scoop bucket add n-takatsu https://github.com/n-takatsu/scoop-bucket
scoop install n-takatsu/mcp-rs
# macOS (Apple Silicon) and Linux (x64) (Homebrew)
brew install n-takatsu/tap/mcp-rs
Or with the install script (from v0.26.0). It downloads the latest release, checks its SHA256, and puts mcp-rs in ~/.mcp-rs/bin (%USERPROFILE%\.mcp-rs\bin on Windows), without administrator rights or changing anything else. Run it again to update:
# Windows (PowerShell)
irm https://raw.githubusercontent.com/n-takatsu/mcp-rs/main/install/install.ps1 | iex
# macOS (Apple Silicon) and Linux (x64)
curl -fsSL https://raw.githubusercontent.com/n-takatsu/mcp-rs/main/install/install.sh | sh
2. Set up. Run mcp-rs init (the install script offers to run it). It asks for the site URL, the username and the Application Password (kept in the OS credential store, not in a file; it can also set up a database, with or without WordPress; for a database only, it skips the WordPress questions), writes the config file (~/.config/mcp-rs/config.toml), checks the connection and sign-in, and registers mcp-rs with Claude Desktop, Claude Code and GitHub Copilot (VS Code), asking before each change:
mcp-rs init
# Installed with the script: ~/.mcp-rs/bin/mcp-rs init
# (Windows: & "$env:USERPROFILE\.mcp-rs\bin\mcp-rs.exe" init)
3. Check. Restart the client as init shows, then ask it to call the mcp_rs_status tool. It shows the version, the config file in use, where the logs are written, anything that failed to start, and whether a newer version is out. mcp-rs check --config <path> checks a config file without a client.
To remove what init set up (the client registrations, the credential store entries, and optionally the config file), run mcp-rs uninstall. It asks before each change, and shows how to remove mcp-rs itself for the way you installed it.
The Getting Started guide covers the rest: reading the install script before running it, installing by hand or from source, setting up each client by hand, the config file, where the logs are, and what to check when a client cannot find the tools.
๐๏ธ Architecture
๐ Documentation
The documentation site is at n-takatsu.github.io/mcp-rs:
- Getting Started (installing, setting up each client, log files)
- WordPress
- Database (PostgreSQL, MySQL, MariaDB, SQLite, Redis, MongoDB)
- Plugins
- Security (HTTP authentication, tool limits, TLS, audit log)
- API Reference (
mcp_rs_statusand the MCP methods) - Architecture
- Claude Desktop Integration (Japanese)
- Claude Code Integration (Japanese)
- Docker Guide
๐ ๏ธ Development
Building from Source
## Development build
cargo build
## Production build with optimizations
cargo build --release
## Run tests
cargo test
## Run with specific configuration
cargo run -- --config configs/development/http-transport.toml
Code Examples
Examples are in the examples/ directory. For example, cargo run --example wordpress_api_test checks the connection to the WordPress site given by WORDPRESS_URL. When WORDPRESS_USERNAME and WORDPRESS_PASSWORD are also set, it checks the login and creates a draft post.
Testing
## Run all tests
cargo test
## Run with output
cargo test -- --nocapture # Show test output (no-capture flag) # cSpell:ignore nocapture
## Run specific test module
cargo test wordpress_api
๐ค Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
๐ License
This project is dual-licensed under:
You may choose either license at your option.
๐ Acknowledgments
- Model Context Protocol by Anthropic
- WordPress REST API
- The Rust community for excellent tooling and libraries
๐ Support
- ๐ Documentation
- ๐ Issue Tracker
Built with โค๏ธ in Rust ๐ฆ
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto ยท Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai ยท Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci ยท Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol ยท Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace ยท Developer Tools
Search and install MCP servers from inside your AI client.
