| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
✅ Deploy Preview for tweakphp ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Sorry, something went wrong.
Docs need updating — Claude Desktop config is incorrectThe current Claude Desktop configuration example requires Node.js to be installed on the user's machine: {
"mcpServers": {
"tweakphp": {
"command": "node",
"args": ["-e", "require('http').request(...)"],
"env": {}
}
}
}This is exactly the problem reported by users in tweakphp/tweakphp#202 — the MCP server runs inside Electron's bundled Node.js, so no system Node.js is required. The transport is Streamable HTTP, not stdio. Correct configurationClaude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json): {
"mcpServers": {
"tweakphp": {
"url": "http://127.0.0.1:3000/mcp",
"type": "http"
}
}
}Cursor (.cursor/mcp.json or global config): {
"mcpServers": {
"tweakphp": {
"url": "http://127.0.0.1:3000/mcp",
"type": "http"
}
}
}VS Code (.vscode/mcp.json): {
"servers": {
"tweakphp": {
"url": "http://127.0.0.1:3000/mcp",
"type": "http"
}
}
}Custom MCP Client sectionThe TypeScript example uses StdioClientTransport which is wrong. The server speaks Streamable HTTP: import { Client } from '@modelcontextprotocol/sdk/client/index.js'
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js'
const client = new Client({ name: 'my-agent', version: '1.0.0' })
await client.connect(new StreamableHTTPClientTransport(
new URL('http://127.0.0.1:3000/mcp')
))Summary of required changes in docs/mcp-server.md
|
Sorry, something went wrong.
- Add comprehensive MCP Server documentation page with setup instructions - Include configuration guides for Claude Desktop, Cursor, and custom MCP clients - Document all five available MCP tools: execute_php, execute_with_loader, get_execution_history, switch_connection, and get_php_info - Add detailed examples for each connection type: local, Docker, SSH, Kubernetes, and Vapor - Include troubleshooting section and common workflows - Add MCP Server navigation link to VitePress config - Add MCP server icon (mcp.svg) to public assets - Update package-lock.json with dependency changes
✅ Deploy Preview for tweakphp ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Sorry, something went wrong.
Updated: correct client configuration examplesBased on the investigation in tweakphp/tweakphp#202, the Claude Desktop configuration example in this PR was incorrect — it used "command": "node" which requires Node.js on the user's machine. This is exactly the root cause of the reported failures. The MCP server runs inside Electron's bundled Node.js — no system Node.js is needed. The transport is Streamable HTTP. Changes made to docs/mcp-server.mdClaude Desktop — replaced stdio/node approach with HTTP URL config: {
"mcpServers": {
"tweakphp": {
"url": "http://127.0.0.1:3000/mcp",
"type": "http"
}
}
}Cursor — same HTTP URL pattern (.cursor/mcp.json or global ~/.cursor/mcp.json): {
"mcpServers": {
"tweakphp": {
"url": "http://127.0.0.1:3000/mcp",
"type": "http"
}
}
}VS Code (.vscode/mcp.json): {
"servers": {
"tweakphp": {
"url": "http://127.0.0.1:3000/mcp",
"type": "http"
}
}
}Custom MCP Client — replaced StdioClientTransport with StreamableHTTPClientTransport: import { Client } from '@modelcontextprotocol/sdk/client/index.js'
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js'
const client = new Client({ name: 'my-agent', version: '1.0.0' })
await client.connect(new StreamableHTTPClientTransport(
new URL('http://127.0.0.1:3000/mcp')
))Also added a note that no Node.js installation is required on the host machine. Also resolved the package-lock.json conflict after rebasing on upstream/main. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.