Poke PC

Poke PC

Provides a Dockerized MCP worker that gives Poke AI assistants persistent terminal control and filesystem access on your machine, with automatic tunnel connection and optional command notifications.

Category
访问服务器

README

<div align="center"> <h1>Poke PC</h1> <img src="header.jpg" alt="Poke PC Header"> <p> safely extend poke's capabilities to your machine with an isolated docker environment </p>

<p align="center"> Let your <a href="https://poke.com">Poke</a> AI assistant to work on a isolated fully containerized environment.<br> <sub>A community project — not affiliated with Poke or The Interaction Company.</sub> </p>

<p> <img src="https://img.shields.io/badge/Language-JavaScript-yellow" alt="Language"> <img src="https://img.shields.io/badge/Platform-Docker-blue" alt="Platform"> <img src="https://img.shields.io/badge/License-MIT-green" alt="License"> <img src="https://img.shields.io/badge/Version-0.1.2-orange" alt="Version"> </p> </div>

macOS App

The macOS app is downloadable from GitHub Releases. You can download latest DMG file from here

<p align="center"> <img src="snapshot.png" alt="Poke PC macOS GUI snapshot" width="900"> </p>

CLI

npx poke-pc

A Dockerized MCP worker with persistent terminal control, automatic Poke tunnel connection, and optional command status notifications to Poke.

License: MIT

Introduce Poke PC to your Poke ⭐

Use this direct recipe link:

https://poke.com/r/kWWE0sbthIQ

You can also copy RECIPE.md into your Poke configuration.

Quick Start 🚀

The command runs an interactive setup that:

  • checks Docker
  • runs Poke SDK device login if credentials are missing
  • stores OAuth token in ~/.config/poke/credentials.json
  • asks if command status notifications to Poke should be enabled (default: yes)
  • creates persistent volume and starts container in detached mode (no --rm)

Useful after setup:

docker logs -f poke-pc
docker exec -it poke-pc tail -f /root/poke-pc/terminal/history.ndjson

Authentication 🔐

  • Tunnel and notifications use the same OAuth token credentials from ~/.config/poke/credentials.json.
  • Quickstart uses Poke SDK device login to generate credentials automatically.
  • No separate manual key setup is required.

If credentials are missing on first run, the app shows a login URL and code in logs.

Manual Docker Run

docker run -d \
  --name poke-pc \
  -p 3000:3000 \
  -e POKE_TUNNEL_NAME="poke-pc" \
  -e MCP_PUBLIC_URL="http://127.0.0.1:3000/mcp" \
  -e POKE_PC_AUTOREGISTER_WEBHOOK="true" \
  -v poke_pc_state:/root/poke-pc \
  -v "$HOME/.config/poke:/root/.config/poke" \
  ghcr.io/calganaygun/poke-pc:latest

To run without command status notifications:

-e POKE_PC_AUTOREGISTER_WEBHOOK="false"

Configuration

Copy .env.example and adjust as needed.

Common defaults:

  • POKE_TUNNEL_NAME=poke-pc
  • MCP_HOST=0.0.0.0
  • MCP_PORT=3000
  • MCP_PUBLIC_URL=http://127.0.0.1:3000/mcp
  • POKE_PC_AUTOREGISTER_WEBHOOK=true

Bootstrap config can be loaded from file with POKE_PC_BOOTSTRAP_CONFIG.

MCP Tools

  • terminal_create_session
  • terminal_list_sessions
  • terminal_run_command
  • terminal_get_command_status
  • terminal_capture_output
  • terminal_kill_session
  • terminal_list_commands
  • filesystem_read_file (blocks access under ~/.config)

Project docs

  • CONTRIBUTING.md
  • CODE_OF_CONDUCT.md
  • SECURITY.md
  • CHANGELOG.md
  • RELEASE_CHECKLIST.md

Local Development

npm install
npm run dev

Build

npm run build
npm start

Runtime behavior

Startup order:

  1. Validate config and initialize state directories.
  2. Initialize tmux manager and restore known sessions.
  3. Run bootstrap commands.
  4. Initialize command notification channel (load persisted or auto-register).
  5. Start MCP server.
  6. Start Poke tunnel with reconnection loop.
  7. Start command monitor for adaptive heartbeat/completion notifications.

Observability and command history

  • Runtime app logs are emitted via pino to container stdout/stderr.
  • Command/bootstrap lifecycle events are persisted in append-only NDJSON:
    • /root/poke-pc/terminal/history.ndjson
  • This history file is intentionally logging-only and not exposed as an MCP tool.

Example:

docker exec -it poke-pc tail -f /root/poke-pc/terminal/history.ndjson

CI/CD and release

  • CI workflow: .github/workflows/ci.yml
  • GHCR publish workflow: .github/workflows/docker-publish.yml
  • GitHub release workflow: .github/workflows/release.yml

Published image path:

  • ghcr.io/calganaygun/poke-pc

Security notes

  • Container currently runs as root by design for bootstrap flexibility.
  • filesystem_read_file resolves real paths and blocks ~/.config access to protect credentials.
  • Persisted webhook token is stored in state path with mode 0600.
  • Logs redact common secret fields.

Acknowledgements and Credits

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选