This commit is contained in:
southseact-3d
2026-02-20 18:56:46 +00:00
parent 9bc9ca3ce8
commit 9b0e77cbf6
2 changed files with 18 additions and 4 deletions

View File

@@ -126,10 +126,10 @@ RUN cd /opt/webchat && npm install --production && chmod -R 755 /opt/webchat
COPY chat_v2 /opt/webchat_v2
RUN chmod -R 755 /opt/webchat_v2
# Copy MCP servers for WordPress validation
COPY opencode/mcp-servers /opt/opencode/mcp-servers
RUN cd /opt/opencode/mcp-servers/wp-cli-testing && npm install --production && \
cd /opt/opencode/mcp-servers/wordpress-validator && npm install --production && \
# Copy WordPress validator MCP server only (wp-cli-testing disabled for now)
RUN mkdir -p /opt/opencode/mcp-servers
COPY opencode/mcp-servers/wordpress-validator /opt/opencode/mcp-servers/wordpress-validator
RUN cd /opt/opencode/mcp-servers/wordpress-validator && npm install --production && \
chmod -R 755 /opt/opencode/mcp-servers
# Copy validation script

View File

@@ -0,0 +1,14 @@
{
"name": "wp-cli-testing",
"version": "1.0.0",
"type": "module",
"description": "MCP server for external WordPress CLI testing",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"zod": "^3.22.0"
}
}