Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Fixes the names and jargon speech-to-text gets wrong before your agent acts on a dictated prompt.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
LEXICON_PATH, LEXICON_CWDต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"lexicon": {
"command": "npx",
"args": [
"-y",
"@ashlr/lexicon",
"mcp"
],
"env": {
"LEXICON_PATH": "ใส่ค่าของคุณ",
"LEXICON_CWD": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add lexicon --env LEXICON_PATH='ใส่ค่าของคุณ' --env LEXICON_CWD='ใส่ค่าของคุณ' -- npx -y @ashlr/lexicon mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"lexicon": {
"command": "npx",
"args": [
"-y",
"@ashlr/lexicon",
"mcp"
],
"env": {
"LEXICON_PATH": "ใส่ค่าของคุณ",
"LEXICON_CWD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"lexicon": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ashlr/lexicon",
"mcp"
],
"env": {
"LEXICON_PATH": "ใส่ค่าของคุณ",
"LEXICON_CWD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
LEXICON_PATH envLEXICON_CWD envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ashlrai ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.5.4) เข้า registry 40 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Figma Context MCP, Claude Real Video, Figma MCP Server
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Let any LLM watch a video locally — and search everything it has ever watched.
server ทางการของ Figma ส่งข้อมูลงานออกแบบให้ AI อ่าน เพื่อเปลี่ยนแบบเป็นโค้ดหรืออธิบายแบบได้ตรงขึ้น ต่อผ่านคลาวด์ของ Figma
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Speech-to-text gets English right and your names wrong.
Lexicon is one YAML file of the words you actually say. It rewrites the transcript before an agent reads it. It is not a dictation app.
Live demo · Docs · llms.txt · llms-full.txt · lexicon.ashlr.ai
Agents are first-class users. One command checks for Node 20+, installs the CLI, and runs lexicon setup when it has a terminal. Without a terminal (CI, a Dockerfile), under sudo, or with LEXICON_NO_SETUP=1, it only installs and ends with run: lexicon setup.
curl -fsSL https://ashlrai.github.io/lexicon/install.sh | sh
No global install:
npx @ashlr/lexicon@latest setup
Do not install it unasked. Preview the plan, show it, then apply. --dry-run writes nothing. Stdout is one JSON document. Read ok first.
lexicon setup --dry-run --json
lexicon setup --yes --packs developer,ai --json
--packs, --harvest and --serve stay opt-in even with --yes, because each writes a lot or installs a service.
Correct one sentence. With no lexicon of your own, arguments (not piped input) are corrected against a built-in example, and stderr says so. Nothing is written.
lexicon normalize "ask ashler to deploy kuber netties with post gressql" --json
{"ok":true,"input":"ask ashler to deploy kuber netties with post gressql","output":"ask Ashlr.AI to deploy Kubernetes with PostgreSQL","replacements":[{"start":4,"end":10,"original":"ashler","replacement":"Ashlr.AI","canonical":"Ashlr.AI","reason":"alias","confidence":1},{"start":21,"end":34,"original":"kuber netties","replacement":"Kubernetes","canonical":"Kubernetes","reason":"phonetic","confidence":0.8826923076923077},{"start":40,"end":52,"original":"post gressql","replacement":"PostgreSQL","canonical":"PostgreSQL","reason":"phonetic","confidence":0.8795454545454546}],"changed":true,"example":true}
example: true means those terms are the built-in sample, not the user's file yet.
Add the spelling, still as JSON:
lexicon add Ashlr.AI Ashler Ashlar "Ashler AI" --phonetic ASH-ler --json
When the user corrects you, record it. --dry-run writes nothing.
lexicon learn --from "it's Ashlr.AI not Ashler" --dry-run --json
Check the install. Read ready, summary and nextStep.
lexicon doctor --json
The same contract, in one fetch: llms.txt (index) and llms-full.txt (install, tools, privacy, FAQ). The page written to an agent is docs/AGENTS.md. Copy-paste only, no commentary: docs/COPY-PASTE.md.
This tree is source version 0.5.9 . At this candidate's 2026-11-06 preparation, npm latest was 0.5.8. Check lexicon --version and npm view @ashlr/lexicon version before you pin.
Preview, then write. Without --apply, nothing is written. --json returns { ok, client, scope, applied, written, output }.
lexicon install claude --json
lexicon install claude --apply --json lexicon install cursor --json lexicon install cursor --apply --json lexicon install codex --json lexicon install codex --apply --json
Paste these only when lexicon-mcp is already on PATH (a global install). lexicon install writes the path that matches how Lexicon was installed, which is the safer call.
Claude Code, Cursor (~/.cursor/mcp.json), and any other client that reads mcpServers:
{
"mcpServers": { "lexicon": { "command": "lexicon-mcp", "args": [] } } }
Codex (~/.codex/config.toml):
[mcp_servers.lexicon]
command = "lexicon-mcp" args = []
Claude Code also gets a SessionStart hook and a UserPromptSubmit hook from lexicon install claude --apply. Restart the client after --apply. Cursor needs a window reload.
Environment variables the server reads (LEXICON_PATH, LEXICON_HARVEST_ROOTS, LEXICON_REGISTRIES and the rest): docs/MCP.md.
These calls cover almost every session. The server has twenty-one MCP tools, three resources and two prompts. The full table is docs/MCP.md.
normalize_transcript { text } corrects a dictated string and returns output, changed and replacements.learn_correction { heard, meant } records a correction the user just made.add_term { canonical, aliases?, phonetic? } adds a spelling. Omit aliases and the server proposes the mis-hearings.setup_lexicon { apply? } returns a plan and writes nothing until apply: true.lexicon_doctor {} is the structured health check. Read ready, summary and nextStep.setup_lexicon, install_client and trust_project preview first. Do not set LEXICON_TRUST_ALL=1 on a user's behalf.
Plugin, if you would rather not install a CLI:
claude plugin marketplace add ashlrai/lexicon
claude plugin install lexicon@ashlrai
Exact alias first, then double-metaphone phonetic, then Damerau-Levenshtein fuzzy above a confidence floor. Exact hits win the span. Matches never overlap. A stoplist of common English words, per-term never lists, and code spans, URLs, emails and paths are off limits. Every replacement reports reason and confidence.
The same sentence, as a person would read it. Replacements go to stderr. The corrected line is stdout.
lexicon normalize --diff "ask ashler to deploy kuber netties with post gressql"
lexicon setup to build your own; nothing was written.
Rules: docs/MATCHING.md.
~/.config/lexicon/lexicon.yaml. Project .lexicon.yaml merges only after lexicon trust.lexicon --help lists them. docs/CLI.md is generated from that help.lexicon export with no format lists them.normalize()).Try it in the browser. The matcher runs on the page. The Dictate button uses the browser's speech recognizer, which in Chrome sends audio to Google.
Watch the terminal setup recording.
| Surface | How |
|---|---|
| Claude Code | lexicon install claude --apply, or the plugin |
| Codex, Cursor, and the other clients | lexicon install cursor --json, then the same command with --apply |
| Browser chats | Extension from the latest release |
| Any macOS text field | LexiconBar menu bar app |
| Shortcuts, Raycast, your own app | lexicon serve on 127.0.0.1:41733 |
| Your own speech pipeline | normalize() between the recognizer and the model |
Which of those exist on Windows and Linux: docs/PLATFORMS.md.
The name is out of vocabulary. The recognizer picks the nearest common-sounding sequence it does know. "Ashlr.AI" becomes "Ashler". "Kubernetes" becomes "Cuban eats". The audio was fine. The vocabulary was missing. Lexicon maps the spelling you got back to the one you meant.
curl -fsSL https://ashlrai.github.io/lexicon/install.sh | sh, or npx @ashlr/lexicon@latest setup. Preview with lexicon setup --dry-run --json. The script runs setup only in a terminal. Under sudo, without a terminal, or with LEXICON_NO_SETUP=1, it prints run: lexicon setup.
No. It runs after whatever produced the transcript, and it exports into those dictionaries: lexicon export wispr, lexicon export superwhisper, lexicon export macos. lexicon import reads them back.
Ordinary correction is local. There is no account, no sync and no telemetry. The CLI, hooks, MCP server, loopback API and extension do not send transcripts to a remote service. Three features use the network, and only when you turn them on: lexicon voice downloads a whisper.cpp model the first time (audio stays on the machine), lexicon pack fetches a community pack from a registry URL you choose, and the GitHub source in lexicon import --guided calls the GitHub API through your existing gh login. Email and chat are not imported. Threat model: SECURITY.md.
Nothing. MIT license. No paid tier.
More answers: docs/FAQ.md.
On 330 clips of synthesized speech through whisper.cpp small.en (three voices, the same 70-term lexicon in every row), Lexicon recovered 91.0% of the proper nouns. Raw whisper.cpp recovered 45.9%. Clean prose wrongly changed: 0 of 72. The audio is macOS text-to-speech read into whisper.cpp, cleaner than a phone microphone. Method, the other rows, and every failing case: docs/BENCHMARK.md. Reproduce with npm run bench.
brew install ashlrai/tap/lexicon
npm i -g @ashlr/lexicon
Plain brew install lexicon is dns-lexicon, a different project. Use the full tap name.
After 0.5.9 is published, npm i -g github:ashlrai/lexicon#v0.5.9 installs that tag from GitHub and builds on install.
Homebrew formula: [ashlrai/homebrew-tap](https://github.com/ashlrai/homebrew-tap
ตัดมาแค่ช่วงต้น อ่านต่อใน repo