MCP.so
登录

WordPress MCP Extension for VS Code

@sharmashivanand

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

sharmashivanand

关于 WordPress MCP Extension for VS Code

A VS Code extension implementing MCP server for WordPress integration

#wordpress#vs-code#mcp-extension

WordPress MCP Extension for VS Code 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

WordPress MCP Extension for VS Code 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is WordPress MCP Extension for VS Code?

This VS Code extension implements a Model Context Protocol (MCP) server for WordPress integration. It automatically detects your WordPress environment, connects to the database, and provides context-aware coding assistance, making WordPress development easier and more intuitive. It is for developers working with WordPress in VS Code.

How to use WordPress MCP Extension for VS Code?

Open a folder containing a WordPress installation or a child directory of one. The extension auto-searches for wp-config.php. Use the command WordPress MCP: Connect to WordPress to explicitly connect. Then use commands like WordPress MCP: Show WordPress Configuration, WordPress MCP: Query Database, or chat queries with @wordpress to interact with your WordPress environment.

Key features of WordPress MCP Extension for VS Code

  • Automatically detects wp-config.php by searching parent directories
  • Extracts WordPress database credentials and connects to the database
  • Provides context-aware code completion for WordPress functions and hooks
  • Shows documentation on hover, including the current WordPress version
  • Offers WordPress-specific code actions and quick fixes

Use cases of WordPress MCP Extension for VS Code

  • Develop WordPress plugins or themes with intelligent code assistance
  • Quickly view database credentials and WordPress configuration without leaving the editor
  • Execute natural language queries against the WordPress database via chat
  • Check active plugins, themes, and custom post types from within VS Code

常见问题

1

What dependencies are required?

VS Code 1.74.0 or higher and a WordPress installation that the extension can access. Node.js and npm are needed for development.

2

How does the extension find the WordPress installation?

It automatically searches for a `wp-config.php` file starting from the current directory up through parent directories.

3

What are the known limitations?

PHP serialization parsing is simplified and may not handle all serialized data formats. The database connection needs to close properly when VS Code shuts down.

4

Does the extension require any additional settings?

No, it doesn't require any additional settings.

5

How can I test the MCP integration?

Use the `@wordpress` mention in the VS Code chat interface with queries like "What is the database name in wp-config.php?" or "Show me active plugins."

评论

开发工具 分类下的更多 MCP 服务器