{"id":28089193,"url":"https://github.com/mcp-wp/mcp-server","last_synced_at":"2025-05-13T12:54:40.813Z","repository":{"id":285816721,"uuid":"959433292","full_name":"mcp-wp/mcp-server","owner":"mcp-wp","description":"MCP server implementation using the WordPress REST API","archived":false,"fork":false,"pushed_at":"2025-05-07T18:13:38.000Z","size":190,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T19:26:00.839Z","etag":null,"topics":["mcp","mcp-server","wordpress"],"latest_commit_sha":null,"homepage":"https://mcp-wp.github.io/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcp-wp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-02T19:20:49.000Z","updated_at":"2025-05-07T18:13:19.000Z","dependencies_parsed_at":"2025-04-03T13:22:54.135Z","dependency_job_id":"f1d62ff3-b043-420b-85c3-2506afb2bbfb","html_url":"https://github.com/mcp-wp/mcp-server","commit_stats":null,"previous_names":["swissspidy/mcp-wp","mcp-wp/mcp-server"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcp-wp%2Fmcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcp-wp%2Fmcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcp-wp%2Fmcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcp-wp%2Fmcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcp-wp","download_url":"https://codeload.github.com/mcp-wp/mcp-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948328,"owners_count":21988953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mcp","mcp-server","wordpress"],"created_at":"2025-05-13T12:54:39.572Z","updated_at":"2025-05-13T12:54:40.802Z","avatar_url":"https://github.com/mcp-wp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCP Server for WordPress\n\n[![Commit activity](https://img.shields.io/github/commit-activity/m/mcp-wp/mcp-server)](https://github.com/mcp-wp/mcp-server/pulse/monthly)\n[![Code Coverage](https://codecov.io/gh/mcp-wp/mcp-server/branch/main/graph/badge.svg)](https://codecov.io/gh/mcp-wp/mcp-server)\n[![License](https://img.shields.io/github/license/mcp-wp/mcp-server)](https://github.com/mcp-wp/mcp-server/blob/main/LICENSE)\n\n[Model Context Protocol](https://modelcontextprotocol.io/) server using the WordPress REST API.\n\nTry it by installing and activating the latest nightly build on your own WordPress website:\n\n[![Download latest nightly build](https://img.shields.io/badge/Download%20latest%20nightly-24282D?style=for-the-badge\u0026logo=Files\u0026logoColor=ffffff)](https://mcp-wp.github.io/mcp-server/mcp.zip)\n\n## Description\n\nThis WordPress plugin aims to implement the new [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http), as described in the latest MCP specification.\n\nUnder the hood it uses the [`logiscape/mcp-sdk-php`](https://github.com/logiscape/mcp-sdk-php) package to set up a fully functioning MCP server. Then, this functionality is exposed through a new `wp-json/mcp/v1/mcp` REST API route in WordPress.\n\nNote: the Streamable HTTP transport is not fully implemented yet and there are no tests. So it might not 100% work as expected.\n\n## Usage\n\nGiven that no other MCP client supports the new Streamable HTTP transport yet, this plugin works best in companion with the [WP-CLI AI command](https://github.com/mcp-wp/ai-command).\n\n1. Run `wp plugin install --activate https://github.com/mcp-wp/mcp-server/archive/refs/heads/main.zip`\n2. Run `wp plugin install --activate ai-services`\n3. Run `wp package install mcp-wp/ai-command:dev-main`\n4. Run `wp mcp server add \"mysite\" \"https://example.com/wp-json/mcp/v1/mcp\"`\n5. Run `wp ai \"Greet my friend Pascal\"` or so\n\nNote: The WP-CLI command also works on a local WordPress installation without this plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcp-wp%2Fmcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcp-wp%2Fmcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcp-wp%2Fmcp-server/lists"}