Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Search Christian Perez's blog, read posts, and ask about his work, podcast, and writing.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://mcp.thechrisgrey.comพิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http thechrisgrey https://mcp.thechrisgrey.comวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"thechrisgrey": {
"url": "https://mcp.thechrisgrey.com"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"thechrisgrey": {
"type": "http",
"url": "https://mcp.thechrisgrey.com"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://mcp.thechrisgrey.comชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันโดเมน thechrisgrey.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Personal website for Christian Perez (@thechrisgrey) | Founder & CEO of Altivum Inc. | Former Green Beret (18D Special Forces Medical Sergeant) | Bronze Star Recipient | Host of The Vector Podcast | Author of "Beyond the Assessment"
[https://thechrisgrey.com](https://thechrisgrey.com)
| Layer | Technology |
|---|---|
| Frontend | React 19, TypeScript 5, Vite 5 (Vitest 4, ESLint 10 flat config) |
| Styling | Tailwind CSS 4 (CSS-first @theme config, Oxide engine) |
| Routing | React Router 7 |
| CMS | Sanity.io (blog content) |
| AI Chat | Amazon Bedrock (Claude Haiku 4.5) + RAG |
| Auth | Amazon Cognito (admin panel) |
| Hosting | AWS Amplify |
| CDN/Analytics | Cloudflare Web Analytics |
| Testing | Vitest + React Testing Library + Cypress |
| Code Quality | ESLint, strict TypeScript |
┌─────────────────────────────────────────────────────────────────┐
│ FRONTEND (React) │ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │ │ Home │ │ Podcast │ │ Blog │ │ Chat │ ... │ │ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │ └─────────────────────────────────────────────────────────────────┘ │ │ │ │ ▼ ▼ ▼ ▼ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────────┐ │ Amplify │ │ YouTube │ │ Sanity │ │ Bedrock │ │ Hosting │ │ Data API │ │ CMS │ │ + RAG (KB) │ └───────────┘ └───────────┘ └───────────┘ └───────────────┘ (build-time) (runtime) (Lambda stream)
User Message
│ ▼ Lambda Function URL (streaming) │ ├──> Bedrock Knowledge Base (retrieve context) │ │ │ ▼ │ S3 Vectors (autobiography chunks) │ ├──> Bedrock Guardrails (content filtering) │ └──> Bedrock ConverseStream API (Claude Haiku 4.5) │ ▼ Streaming Response -> Client
| Service | Resource | Region | Purpose |
|---|---|---|---|
| Amplify | d3du8eg39a9peo | us-east-2 | Hosting, CI/CD |
| Lambda | thechrisgrey-chat-stream | us-east-1 | AI chat streaming |
| Lambda | thechrisgrey-contact-email | us-east-2 | Contact form |
| Lambda | thechrisgrey-newsletter-subscription | us-east-2 | Newsletter |
| Lambda | thechrisgrey-kb-sync | us-east-1 | KB auto-sync on S3 changes |
| Lambda | thechrisgrey-kb-builder | us-east-1 | KB admin CRUD operations |
| Lambda | thechrisgrey-metrics | us-east-1 | Metrics collection and reporting |
| Bedrock KB | ARFYABW8HP | us-east-1 | RAG knowledge base |
| Cognito | User Pool | us-east-1 | Admin authentication |
| S3 | thechrisgrey-kb-source | us-east-1 | KB source documents |
| S3 | thechrisgrey-vectors | us-east-1 | Vector embeddings |
| DynamoDB | thechrisgrey-chat-ratelimit | us-east-1 | Rate limiting (20 req/hr/IP) |
| Secrets Manager | thechrisgrey/youtube-api-key | us-east-1 | YouTube API key |
| CloudWatch | tcg-AI-chat | us-east-1 | Bedrock invocation logs |
.nvmrc)git clone https://github.com/thechrisgrey/thechrisgrey.git
cd thechrisgrey npm install
npm run dev # Start dev server at http://localhost:5173
npm run build # Full production build npm run preview # Preview production build npm run lint # Run ESLint
The production build runs these steps in sequence:
validate-env -> podcast-episodes -> lint -> tsc -> vite build -> sitemap -> rss
| Framework | Scope | Command |
|---|---|---|
| Vitest | Unit + Integration | npm test |
| Vitest | Watch mode | npm run test:watch |
| Vitest | Coverage report | npm run test:coverage |
| Cypress | E2E (headless) | npm run cy:run |
| Cypress | E2E (interactive) | npm run cy:open |
| node:test | Lambda unit + contract | npm run test:lambda |
The test suite includes unit tests for components, hooks, and utilities; integration tests for page-level behavior; and end-to-end tests covering navigation, chat, blog, and contact flows.
Critical external boundaries — Cognito admin auth, the live Sanity client, Bedrock KB retrieval, and the Bedrock guardrail — are also covered by opt-in contract tests that exercise the real services (green mocks alone can drift from reality). They skip cleanly during npm run test:lambda and CI, and only run when their flag + AWS/Sanity credentials are present:
COGNITO_CONTRACT_TESTS=1 COGNITO_CLIENT_ID=… COGNITO_TEST_EMAIL=… COGNITO_TEST_PASSWORD=… \
node --test lambda/shared/tests/cognito-contract.test.mjs SANITY_CONTRACT_TESTS=1 node --test lambda/chat-stream/tests/sanity-contract.test.mjs KB_RETRIEVE_CONTRACT_TESTS=1 node --test lambda/chat-stream/tests/kb-retrieve-contract.test.mjs BEDROCK_CONTRACT_TESTS=1 node --test lambda/blueprint/tests/guardrail-contract.test.mjs
See .env.example for the full list of flags and required permissions. Run these before a release (or on a scheduled job) to catch response-shape/schema drift that unit mocks can't.
Set in AWS Amplify console or in a local .env file:
| Variable | Description | Required |
|---|---|---|
VITE_CHAT_ENDPOINT | Lambda Function URL for AI chat | Yes |
VITE_CONTACT_ENDPOINT | Lambda Function URL for contact form | Yes |
VITE_NEWSLETTER_ENDPOINT | Lambda Function URL for newsletter | Yes |
VITE_COGNITO_USER_POOL_ID | Cognito User Pool ID (admin auth) | Yes |
VITE_COGNITO_CLIENT_ID | Cognito App Client ID | Yes |
VITE_KB_BUILDER_ENDPOINT | Lambda Function URL for KB admin | Yes |
VITE_CHAT_SIGNING_KEY | HMAC signing key for chat requests | Yes |
VITE_METRICS_ENDPOINT | Lambda Function URL for metrics | Yes |
YOUTUBE_API_KEY | YouTube Data API v3 key (build-time only) | Yes |
VITE_ prefixed variables are bundled into the frontend. YOUTUBE_API_KEY is only used during the build step.
Push to main triggers automatic Amplify deployment:
git push origin main
aws amplify start-job \
--app-id d3btl94rm91y13 \ --branch-name main \ --job-type RELEASE \ --region us-east-2 \ --profile personal-dev # Delta Centric 512880383078, the site's home
Each Lambda function is deployed independently via a single verified script. The script installs from the lockfile, dereferences the lambda-shared symlink into the bundle, and verifies the entire module graph resolves before upload — so a deploy can no longer ship a Lambda that crashes on cold start.
# Verify the bundle builds and resolves, without uploading:
npm run deploy:lambda -- chat-stream --dry-run
ตัดมาแค่ช่วงต้น อ่านต่อใน repo