ใช้ทำอะไรได้
ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ
- ต่อแบบ คลาวด์หรือติดตั้งในเครื่อง
- บัญชีหรือคีย์ คลาวด์: ล็อกอินกับบริการตอนต่อ (OAuth) · ในเครื่อง: ต้องมี PYAS_API_KEY
- หมวด เอกสาร ตาราง และงานออฟฟิศ
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Read and change Google Calendar and Outlook events, find free time and add meeting links.ใช้คู่กับ
Skill ที่สอน AI ทำงานแบบนี้ ใช้ร่วมกับตัวนี้ได้
watermarks-remover
watermarks-remover เป็นแอปที่เน้นความเป็นส่วนตัว ใช้สำหรับลบลายน้ำ AI ออกจากเนื้อหาที่ผู้ใช้เป็นเจ้าของ
obsidian-skills
obsidian-skills คือชุดทักษะสำหรับ AI เพื่อให้ใช้งาน Obsidian CLI และรูปแบบไฟล์ของ Obsidian ได้ เช่น Markdown, Bases และ JSON Canvas
ทำไมอยู่อันดับนี้
หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้
| ความนิยม | 0/80 | ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20 |
|---|---|---|
| ความสด | 12/12 | ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม |
| ระบบยังตอบ | 8/8 | endpoint บนคลาวด์ตอบตอนตรวจล่าสุด |
| คะแนนการใช้งาน | 20/100 |
คุณภาพ: ผลตรวจเบื้องต้นผ่าน 5/5 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ให้ AI ติดตั้งให้ด้วยประโยคเดียว
ติดตั้ง Pyas ให้หน่อย ทำตาม https://mcp.popnx.com/i/pyas-mcp.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรันคัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน
ผลตรวจผ่าน 5/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (mcp.pyas.io) · ✓ ตรวจคำสั่งแล้ว 20 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม
เปิดหน้า Connectors ของ Claude
CustomizeConnectors
กด “Add” → “Custom” → “Web” แล้วกรอก 2 ช่องนี้
คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue
Name · ชื่อPyasRemote MCP server URL · ที่อยู่https://mcp.pyas.io/sandboxกด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ Authentication เลือกตามที่ผู้ทำบอก (Sign in now, Sign in when needed หรือ No sign in) แล้วกด Add
เปิดใช้ในแชต
+ConnectorsPyas
ลองเลย
ใช้ Pyas บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ Pyas หรือมีชื่อเครื่องมือของ Pyas ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ ChatGPT ได้ ขึ้นกับแผน
MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น
เปิดหน้าเพิ่ม MCP ของ ChatGPT บนเว็บ
Plugins+Add custom MCP server
กรอกชื่อและที่อยู่
ใส่ชื่อ แล้ววางที่อยู่ใต้ Connection ติ๊กยอมรับคำเตือน แล้วกด Create as a plugin
Name · ชื่อPyasConnection · ที่อยู่https://mcp.pyas.io/sandboxเลือก Pyas ในแชต
เปิดแชตใหม่แล้วเลือก Pyas จากรายการปลั๊กอินก่อนพิมพ์
ลองเลย
ใช้ Pyas บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า ChatGPT บอกว่ากำลังใช้ Pyas หรือมีชื่อเครื่องมือของ Pyas ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Claude Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
เปิด Terminal
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
วางคำสั่งนี้แล้วกด Enter
claude mcp add --transport http --scope user pyas https://mcp.pyas.io/sandboxพิมพ์ /mcp ใน Claude Code
ต้องเห็น Pyas ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ลองเลย
ใช้ Pyas บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ Pyas หรือมีชื่อเครื่องมือของ Pyas ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
เปิดแชตของ AI ใน Cursor โหมด Agent
ลองเลย
ใช้ Pyas บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ Pyas หรือมีชื่อเครื่องมือของ Pyas ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
เปิดแชตของ AI ใน VS Code โหมด Agent
ลองเลย
ใช้ Pyas บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ Pyas หรือมีชื่อเครื่องมือของ Pyas ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม
ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ
https://mcp.pyas.io/sandboxค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON
ต่อผ่านเว็บ
Claude Code
claude mcp add --transport http --scope user pyas https://mcp.pyas.io/sandboxCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"pyas": {
"url": "https://mcp.pyas.io/sandbox"
}
}
}VS Code (mcp.json)
{
"servers": {
"pyas": {
"type": "http",
"url": "https://mcp.pyas.io/sandbox"
}
}
}ติดตั้งในเครื่อง
Claude Code
claude mcp add --scope user pyas --env PYAS_API_KEY='ใส่ค่าของคุณ' -- npx -y @pyas/mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"pyas": {
"command": "npx",
"args": [
"-y",
"@pyas/mcp"
],
"env": {
"PYAS_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"pyas": {
"command": "npx",
"args": [
"-y",
"@pyas/mcp"
],
"env": {
"PYAS_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"pyas": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pyas/mcp"
],
"env": {
"PYAS_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}ค่าที่ต้องใส่เอง
PYAS_API_KEYความลับ จำเป็น envคีย์ API ของ Pyas testคีย์ (pyas_sk_test_...) เข้าถึงได้เฉพาะแซนด์บ็อกซ์ของแอปของคุณเท่านั้นดูต้นฉบับภาษาอังกฤษ
A Pyas API key. A test key (pyas_sk_test_...) reaches only your app's sandbox.
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
สรุป
- ดาวน์โหลดต่อสัปดาห์i
- 233/สัปดาห์
- โดเมนที่ยืนยัน
- ✓ pyas.io
- การเชื่อมต่อ
- บนเครื่องหรือคลาวด์
- ช่องทาง (transport)
- stdio, streamable-http
- รุ่นล่าสุดi
- 1.0.2
- ส่งเข้า registryi
- 20 พ.ย. 2569
- แก้โค้ดล่าสุดi
- 20 พ.ย. 2569
- ตรวจล่าสุดเมื่อ
- 20 พ.ย. 2569
- ผู้ทำ
- brutforce-tech
- แพ็กเกจ
npm: @pyas/mcp- เว็บผู้ทำ
- www.pyas.io
- สถานะใน registry
- ใช้งานอยู่
ใช้กับโปรแกรมไหนได้
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ต่อผ่านคลาวด์ได้ใน
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
คู่มือที่เกี่ยวข้อง
ทำอะไรได้บ้าง
server ให้ล็อกอินก่อนจึงจะแสดงรายการเครื่องมือ
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 20 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันโดเมน pyas.io แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
- ✓ ผ่าน
ยังมีคนดูแล
มีการแก้โค้ดล่าสุด วันนี้
- ✓ ผ่าน
มีสัญญาอนุญาต (license)
ใช้ MIT
- ✓ ผ่าน
endpoint ตอบ
ตอบกลับใน 105 ms (HTTP 401)
- ✓ ผ่าน
ล็อกอินแบบ OAuth
ประกาศวิธีล็อกอินแบบ OAuth ให้โปรแกรม AI พาไปล็อกอินเอง
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)
ไม่พบรายการใน OSV.dev สำหรับ @pyas/mcp@1.0.2
ตรวจเฉพาะตัวแพ็กเกจรุ่นนี้ ไม่ใช่ทุก dependency · ตรวจเมื่อ 20 พ.ย. 2569
ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README
ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้
[](https://mcp.popnx.com/th/servers/pyas-mcp)พูดคุย
ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
รีวิวจากผู้ใช้
ยังไม่มีรีวิว
เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi
- ดาวมากกว่า 0% ของอีก 4164 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 99% ของอีก 4164 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 99% ของอีก 4164 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Pyas ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 5 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: PYAS_API_KEY
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด วันนี้ และส่งรุ่นล่าสุด (1.0.2) เข้า registry วันนี้
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server
ตัวอื่นที่ทำงานคล้ายกัน
หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Puter MCP
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
XcodeBuildMCP
ให้ AI จัดการโปรเจกต์ Xcode สั่ง build และใช้ iOS Simulator
Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Atlassian Rovo MCP Server
server ทางการของ Atlassian ให้ AI ค้นและจัดการงานใน Jira และเอกสารใน Confluence ต่อผ่านคลาวด์และล็อกอินแบบ OAuth
Anki MCP Server
MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.
| ตัวนี้ Pyas | Puter MCP | XcodeBuildMCP | Vexa | Atlassian Rovo MCP Server | Anki MCP Server | |
|---|---|---|---|---|---|---|
| ทำงานที่ไหน | มีทั้งบนคลาวด์และแบบลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ต้องลงในเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ต้องลงในเครื่อง |
| ต้องใส่คีย์ | ใช่ | ไม่ | ไม่ | ใช่ | ไม่ | ไม่ |
| กด + ใน Claude ได้ | ไม่ | ไม่ | ไม่ | ไม่ | ใช่ | ไม่ |
| ผลตรวจเบื้องต้น | 5/5 | 4/4 | 3/3 | 2/4 | 4/4 | 3/3 |
| สัญญาอนุญาต | MIT | AGPL-3.0 | MIT | Apache-2.0 | Apache-2.0 | MIT |
| ราคา | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน |
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
@pyas/mcp
The Pyas MCP server. It gives AI agents access to Google and Outlook calendars and Zoom conferencing through one API. It also gives coding agents that build on Pyas the API reference, error codes and request logs.
Start with a test key (pyas_sk_test_...). A test key works only in your app's sandbox, which has sample people on Pyas calendars with a week of events. The sandbox doesn't connect to any real calendar.
Add it to your agent
Claude Code
claude mcp add pyas --env PYAS_API_KEY=pyas_sk_test_... -- npx -y @pyas/mcp
Claude Desktop, Cursor, Windsurf (their MCP settings file)
{
"mcpServers": { "pyas": { "command": "npx", "args": ["-y", "@pyas/mcp"], "env": { "PYAS_API_KEY": "pyas_sk_test_..." } } } }
VS Code (.vscode/mcp.json)
{
"servers": { "pyas": { "command": "npx", "args": ["-y", "@pyas/mcp"], "env": { "PYAS_API_KEY": "pyas_sk_test_..." } } } }
To offer only the tools that don't create, update or delete anything, add --read-only to the arguments.
Tools
| Tool | Description |
|---|---|
list_accounts | Lists connected calendars, with their accountId, email and subjectId |
account_status | Checks whether a calendar can sync, and if not, returns the reason and the fix |
accounts_needing_attention | Lists every calendar in the app that needs to be fixed |
list_calendars | Lists one account's calendars |
list_events | Lists events between two times, for one account or every account of a person, with search |
get_event | Returns one event with all its details |
create_event | Creates an event with attendees and a Google Meet, Microsoft Teams or Zoom link |
update_event | Updates an event, so attendees get an update, not a new invitation. It can add a video meeting to the event or remove it. With its version, the update is rejected if someone else changed the event first. |
delete_event | Deletes an event and notifies its attendees |
respond_to_event | Accepts, declines or tentatively accepts an invitation |
find_meeting_times | Finds times when everyone is free, within each person's working hours, across Google, Outlook and Pyas calendars, and says whose hours were used |
get_free_busy | Returns busy times without event details |
explain_error | Explains what an error code means, its causes and the fix |
get_request | Explains what a request did, by its trace ID |
list_recent_requests | Lists the latest requests, optionally only the failed ones |
api_reference | Searches the API's operations |
sandbox | Returns the sandbox's people and IDs (test key only) |
Each tool tells the host whether it only reads data, or creates, updates or deletes it, so your agent can ask you before it makes a change. With a live key, the server also tells the agent that changes affect real people's calendars.
Event titles, descriptions and attendees are written by other people. The server marks that text as data in each answer, so the agent doesn't follow instructions that someone put in an invitation.
Setting up an app
| Tool | Description |
|---|---|
setup_status | Shows what is done in the app's setup, what is left, and the next step |
go_live_checklist | Lists what is left before the app works with real calendars, with the dashboard link where you finish it |
create_app | Creates an app, with the addresses it runs at |
update_app | Changes the app's name, description or website, or adds addresses it runs at, such as a preview URL |
get_test_key | Creates a test key for the app's sandbox and returns it once |
create_webhook | Adds a webhook endpoint in the sandbox, returns its signing secret once, and sends it a test delivery |
get_recipe | Returns the code for one task on the platform the app is built on: each file and where it goes, the packages, the secret to set, and the steps |
get_recipe covers Lovable (TanStack Start server functions, or Supabase Edge Functions in older projects), Bolt (Supabase Edge Functions), Replit and Express, v0 and Next.js, and Base44 (backend functions). Its tasks are connecting a calendar, listing upcoming events, booking a meeting at a free time, and receiving webhooks. The key always stays in server code. With a test key, the code works on the sandbox's sample person right away. With a live key, it uses the signed-in person and asks people to sign in otherwise.
With an API key, the server offers setup_status, go_live_checklist and get_recipe for the key's own app. Creating and changing need a person signed in to Pyas. Every answer ends with the next step. Plans, payment, live keys and live webhooks are always done by you in the Pyas dashboard.
The same tools, built from the same definitions, are available in @pyas/ai-tools for agents built on the Vercel AI SDK, LangChain, OpenAI or Anthropic.
The server also provides two resources, pyas://api-reference and pyas://errors, and three prompts, schedule-meeting, summarize-day and debug-failed-request.
Over HTTP
npx @pyas/mcp --http --port 3333
The server accepts Streamable HTTP at /mcp. Each request sends its own key in the Authorization header:
Authorization: Bearer pyas_sk_...
To serve it from your own HTTP server, behind your own sign-in, call handleHttpRequest for each request to your MCP endpoint. Each request gets a new server, so nothing is kept between requests:
import express from 'express'
import { Pyas } from '@pyas/sdk' import { handleHttpRequest } from '@pyas/mcp'
const app = express() app.post('/mcp', express.json(), async (req, res) => { const pyas = new Pyas({ apiKey: keyForThisRequest(req) }) await handleHttpRequest(req, res, { pyas, body: req.body }) })
To have a person approve changes, pass beforeChange. It is called before every tool that changes a calendar (create, update or delete an event, or reply to an invitation), with the tool's name and input. Return { proceed: true } to make the change, or { proceed: false, text } to send the agent text instead:
await handleHttpRequest(req, res, {
pyas, body: req.body, beforeChange: async ({ tool, input }) => (await approvedByUser(tool, input)) ? { proceed: true } : { proceed: false, text: 'Not made yet. Ask the user to approve it, then try again.' }, })
The package works with both import and require.
Configuration
| Variable | Description |
|---|---|
PYAS_API_KEY | Your Pyas API key |
PYAS_API_URL | The API's address. Default: https://api.pyas.io |
PYAS_MCP_READ_ONLY=1 | Offers only the read-only tools |
License
MIT