
用于构建Poke集成的示例MCP服务器. 包括无自动、 API 密钥和 OAuth 执行的模板.
概览
完整,可制取的示例,展示所有用于为Poke构建MCP(模式上下文协议)集成的认证模式. 每个例子都自成一体,有自己的依附关系和文件。 从国际空间站跟踪器开始 - 不需要认证,5分钟即可部署. 检查服务器基本模式和结构的模板 。 跳转到 Bookmark 管理器进行完整的 OAuth + 动态客户端注册 。 每个目录包含: - src/ server.py - 服务器实施 - 要求.txt - Python依赖 - env.example - 环境变量(如果需要) - README.md - 详细文档 - 公共API的构建工具 - 与 HTTPS 一起部署到Render - 连接到Poke 不认证 - 对公共端点的费率限制 - 在每次请求中验证无记名符号 - 返回正确的401个错误 - 每API键率限制 - 安全证书处理
概述(AI 翻译)
完整,可制取的示例,展示所有用于为Poke构建MCP(模式上下文协议)集成的认证模式.
□ 开始
每个例子都自成一体,有自己的依附关系和文件。
□ □ □ □ 例子
QQ 实例 QQ 认证 QQ 设置时间 您将构建什么 QQ 唵(引一)|(二合引一)贺.
-
- 国际空间站跟踪器 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 气象API API 密钥 10分钟 有无记名符号的气象数据 OAuth代理 20分 现有OAuth API的健康数据 ++ Bookmark 管理器 + 远程 OAuth + DCR + 15分钟 + 与 WorkOS 的完整多用户服务 ++
- 模板 * * * 5分 * 基本服务器结构和模式 * * *
# # # 选择您的路径
** 新到MCP? ** 从国际空间站跟踪器开始 - 不需要认证,5分钟即可部署.
** 学习基本知识? ** 检查服务器基本模式和结构的模板 。
** 生产用建筑? ** 跳转到 Bookmark 管理器进行完整的 OAuth + 动态客户端注册 。
□ * * * * 仓库结构
每个目录包含:
- [[T0]-服务器实施
- 请求.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Poke MCP Examples
Complete, production-ready examples demonstrating all authentication patterns for building MCP (Model Context Protocol) integrations for Poke.
🚀 Getting Started
# Clone this repository
git clone https://github.com/InteractionCo/poke-mcp-examples.git
cd poke-mcp-examples
# Pick an example and follow its README
cd iss-tracker # or weather-api, whoop-integration, bookmark-manager
Each example is self-contained with its own dependencies and documentation.
📚 Examples
| Example | Authentication | Setup Time | What You’ll Build |
|---|---|---|---|
| ISS Tracker | None | 5 min | Real-time ISS location - perfect first integration |
| Weather API | API Key | 10 min | Weather data with bearer token auth |
| WHOOP Integration | OAuth Proxy | 20 min | Health data from existing OAuth API |
| Bookmark Manager | Remote OAuth + DCR | 15 min | Full multi-user service with WorkOS |
| Template | - | 5 min | Basic server structure and patterns |
🎯 Choose Your Path
New to MCP? Start with ISS Tracker - no authentication needed, 5 minutes to deploy.
Learning the basics? Check the Template for basic server patterns and structure.
Building for production? Jump to Bookmark Manager for full OAuth + Dynamic Client Registration.
🏗️ Repository Structure
poke-mcp-examples/
├── iss-tracker/ # No auth example
├── weather-api/ # API key auth example
├── whoop-integration/ # OAuth proxy example
├── bookmark-manager/ # Full OAuth + DCR example
└── mcp-server-template/ # Reference implementation
Each directory contains:
src/server.py- Server implementationrequirements.txt- Python dependencies.env.example- Environment variables (if needed)README.md- Detailed documentation
📖 What These Examples Teach
No Authentication: ISS Tracker
- Building tools for public APIs
- Deploying to Render with HTTPS
- Connecting to Poke without auth
- Rate limiting for public endpoints
API Key: Weather API
- Validating bearer tokens on every request
- Returning proper 401 errors
- Per-API-key rate limiting
- Secure credential handling
OAuth Proxy: WHOOP Integration
- Wrapping existing OAuth providers
- Token forwarding to upstream APIs
- Handling refresh tokens
- Per-user data access
Remote OAuth + DCR: Bookmark Manager
- Building new services from scratch
- Full MCP spec compliance
- JWT validation with JWKS
- Per-user data isolation
🚢 Deployment
All examples can be deployed to Render:
- Fork this repository on GitHub
- Create a new Web Service on Render
- Connect your forked repository
- Set the Working Directory to the specific example (e.g.,
iss-tracker)
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →