Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
PubNub Model Context Protocol MCP Server for Cursor and Claude
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
PUBNUB_API_KEY, PUBNUB_PUBLISH_KEY, PUBNUB_SUBSCRIBE_KEY, PUBNUB_USER_ID, PUBNUB_EMAIL, PUBNUB_PASSWORDค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_API_KEY": "ใส่ค่าของคุณ",
"PUBNUB_PUBLISH_KEY": "ใส่ค่าของคุณ",
"PUBNUB_SUBSCRIBE_KEY": "ใส่ค่าของคุณ",
"PUBNUB_USER_ID": "ใส่ค่าของคุณ",
"PUBNUB_EMAIL": "ใส่ค่าของคุณ",
"PUBNUB_PASSWORD": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add pubnub --env PUBNUB_API_KEY='ใส่ค่าของคุณ' --env PUBNUB_PUBLISH_KEY='ใส่ค่าของคุณ' --env PUBNUB_SUBSCRIBE_KEY='ใส่ค่าของคุณ' --env PUBNUB_USER_ID='ใส่ค่าของคุณ' --env PUBNUB_EMAIL='ใส่ค่าของคุณ' --env PUBNUB_PASSWORD='ใส่ค่าของคุณ' -- npx -y @pubnub/mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"pubnub": {
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_API_KEY": "ใส่ค่าของคุณ",
"PUBNUB_PUBLISH_KEY": "ใส่ค่าของคุณ",
"PUBNUB_SUBSCRIBE_KEY": "ใส่ค่าของคุณ",
"PUBNUB_USER_ID": "ใส่ค่าของคุณ",
"PUBNUB_EMAIL": "ใส่ค่าของคุณ",
"PUBNUB_PASSWORD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"pubnub": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pubnub/mcp"
],
"env": {
"PUBNUB_API_KEY": "ใส่ค่าของคุณ",
"PUBNUB_PUBLISH_KEY": "ใส่ค่าของคุณ",
"PUBNUB_SUBSCRIBE_KEY": "ใส่ค่าของคุณ",
"PUBNUB_USER_ID": "ใส่ค่าของคุณ",
"PUBNUB_EMAIL": "ใส่ค่าของคุณ",
"PUBNUB_PASSWORD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
PUBNUB_USER_ID envPUBNUB_EMAIL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub pubnub ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: PUBNUB_API_KEY, PUBNUB_PUBLISH_KEY, PUBNUB_SUBSCRIBE_KEY, PUBNUB_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.3.2) เข้า registry 8 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, yontu
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A hosted Model Context Protocol (MCP) server that exposes PubNub SDK documentation and PubNub API resources to LLM-powered tools. This improves the LLM AI Agent's ability to understand and interact with PubNub's SDKs and APIs. Uses HTTP transport with OAuth authentication.
The hosted server is managed by PubNub and provides the easiest way to get started — no installation required, and authentication is handled automatically via OAuth. If your AI tool doesn't support remote MCP servers, use the locally installed version (npx @pubnub/mcp@latest) instead.
Note: To switch to the hosted server (https://mcp.pubnub.com), remove the old local configuration from your AI client first, then follow the setup steps below.
Connect your AI assistant to https://mcp.pubnub.com — no installation required. Authentication is handled automatically via OAuth.
Click the button above, then select Open in Visual Studio Code. Back in VS Code, click Install, then select the organization you want to authorize and click Allow access.
Alternatively, add the following to your VS Code settings.json manually:
{
"mcp": { "servers": { "pubnub": { "url": "https://mcp.pubnub.com" } } } }
Learn more in VS Code documentation
Click the button above, then select Open Cursor. In Cursor, click Install, select the organization you want to authorize, and click Allow access. Navigate to Cursor Settings → Tools & MCP to verify PubNub is enabled.
Alternatively, add the following to .cursor/mcp.json (or ~/.cursor/mcp.json for global configuration) manually:
{
"mcpServers": { "pubnub": { "url": "https://mcp.pubnub.com" } } }
When you save the file, a notification is displayed. Click Enable to activate the MCP server. Learn more in Cursor documentation
In the terminal, run:
claude mcp add --scope user --transport http pubnub https://mcp.pubnub.com
Then run claude to open Claude Code and enter /mcp. Select pubnub, then authenticate, and click Allow access to complete authorization. Learn more in Claude Code documentation
Note: The following instructions apply to Pro and Max plans. For Enterprise plans, the setup is configured by your organization administrator. Refer to Anthropic's documentation for details.
https://mcp.pubnub.com as the connector URL.Learn more in Claude Desktop documentation
In the terminal, run:
codex mcp add pubnub --url https://mcp.pubnub.com
Then run codex mcp login pubnub to authenticate, select the organization you want to authorize, and click Allow access. Learn more in Codex documentation
https://mcp.pubnub.com as the server URL.Learn more in Codex Desktop documentation
In the terminal, run:
gemini mcp add pubnub --scope user --transport http https://mcp.pubnub.com
Then run gemini to open Gemini CLI and run /mcp auth pubnub to authenticate. Learn more in Gemini CLI documentation
Add the following to ~/.config/opencode/config.json:
{
"mcp": { "pubnub": { "type": "remote", "url": "https://mcp.pubnub.com", "enabled": true } } }
Then run opencode mcp auth pubnub to authenticate. Learn more in OpenCode documentation
If your AI tool doesn't support remote MCP servers, run the server locally with:
npx @pubnub/mcp@latest
Before you begin, we highly recommend creating a Service Integration in the PubNub Admin Portal and providing your API key to the MCP server. While some basic features will work without it, adding an API key unlocks much more functionality. Alternatively, refer to Local server configuration for instructions on configuring the server to work with a single PubNub keyset.
The installation process for an MCP server depends on the AI assistant you're using. For the standard setup, you'll need Node.js (v20.0.0 or higher).
Just click the link above, then select "Open in Visual Studio Code" on the page that appears. Back in VS Code, click "Install". You'll be prompted to enter your PubNub API Key. Once provided, your MCP server is ready to use. For additional configuration options, refer to Local server configuration.
Click the link above, then select "Open Cursor" on the page that appears. Back in Cursor, there's a "Install MCP Server?" prompt. Make sure to provide the value for variable holding your PubNub API Key. Once you do, click "Install". Your MCP server is now ready to use. For additional configuration options, refer to Local server configuration.
With Claude Code installed run this command to have the MCP added to your configuration. Make sure to replace the value of :
claude mcp add pubnub --env PUBNUB_API_KEY=<your-api-key> --scope user --transport stdio -- npx -y @pubnub/mcp@latest
Server is added in the "User" scope which means it will be available across all projects. For additional configuration options, refer to Local server configuration.
With Codex installed run this command to have the MCP added to your configuration. Make sure to replace the value of :
codex mcp add pubnub --env PUBNUB_API_KEY=<your-api-key> -- npx -y @pubnub/mcp@latest
For additional configuration options, refer to Local server configuration.
Gemini CLI does not support automatic MCP installations. You'll have to manually edit your settings.json file and add the section below. Make sure to replace the value of :
"mcpServers": {
"pubnub": { "command": "npx", "args": [ "-y", "@pubnub/mcp@latest" ], "env": { "PUBNUB_API_KEY": " " } } }
For additional configuration options, refer to the Local server configuration section in the PubNub documentation.
npm install
npm run dev
| Variable | Description | Required |
|---|---|---|
PORT | HTTP server port (default: 3000) | No |
MCP_OAUTH_ENABLED | Enable OAuth authentication | Yes (for production) |
OAUTH_ISSUER | OAuth authorization server URL | When OAuth enabled |
OAUTH_CLIENT_ID | OAuth client ID | When OAuth enabled |
OAUTH_CLIENT_SECRET | OAuth client secret | When OAuth enabled |
ADMIN_API_RESOURCE_URL | Admin API resource identifier | When OAuth enabled |
MCP_RESOURCE_URL | MCP resource URL | When OAuth enabled |
MCP_CLOUD_MODE | Cloud deployment mode | No |
MCP_SESSION_SUPPORT | Enable session persistence | No |
ADMIN_API_V2_URL | Override Admin API v2 endpoint | No |
PUBNUB_ORIGIN | Override PubNub origin | No |
SDK_DOCS_API_URL | Override docs API endpoint | No |
npm run test:unit ตัดมาแค่ช่วงต้น อ่านต่อใน repo