Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Mattermost: read unreads, mentions, channels and threads; opt-in posting, edits, reactions
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MATTERMOST_URL, MATTERMOST_ACCESS_TOKEN, MATTERMOST_ENABLE_WRITE, MATTERMOST_TOKEN, MATTERMOST_CSRFค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"mattermost": {
"command": "uvx",
"args": [
"mattermost-mcp-server"
],
"env": {
"MATTERMOST_URL": "ใส่ค่าของคุณ",
"MATTERMOST_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"MATTERMOST_ENABLE_WRITE": "ใส่ค่าของคุณ",
"MATTERMOST_TOKEN": "ใส่ค่าของคุณ",
"MATTERMOST_CSRF": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add mattermost --env MATTERMOST_URL='ใส่ค่าของคุณ' --env MATTERMOST_ACCESS_TOKEN='ใส่ค่าของคุณ' --env MATTERMOST_ENABLE_WRITE='ใส่ค่าของคุณ' --env MATTERMOST_TOKEN='ใส่ค่าของคุณ' --env MATTERMOST_CSRF='ใส่ค่าของคุณ' -- uvx mattermost-mcp-serverเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"mattermost": {
"command": "uvx",
"args": [
"mattermost-mcp-server"
],
"env": {
"MATTERMOST_URL": "ใส่ค่าของคุณ",
"MATTERMOST_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"MATTERMOST_ENABLE_WRITE": "ใส่ค่าของคุณ",
"MATTERMOST_TOKEN": "ใส่ค่าของคุณ",
"MATTERMOST_CSRF": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"mattermost": {
"type": "stdio",
"command": "uvx",
"args": [
"mattermost-mcp-server"
],
"env": {
"MATTERMOST_URL": "ใส่ค่าของคุณ",
"MATTERMOST_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"MATTERMOST_ENABLE_WRITE": "ใส่ค่าของคุณ",
"MATTERMOST_TOKEN": "ใส่ค่าของคุณ",
"MATTERMOST_CSRF": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MATTERMOST_ENABLE_WRITE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub toffguy77 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: MATTERMOST_URL, MATTERMOST_ACCESS_TOKEN, MATTERMOST_TOKEN, MATTERMOST_CSRF
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.0) เข้า registry 4 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Detailing Manager
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Connect your auto detailing studio's tasks, cars, clients and revenue to Claude or ChatGPT.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol server for Mattermost. It lets an AI agent (Claude, Cursor, VS Code, any MCP client) catch up on your unreads and mentions, read channels, threads and DMs, and search. If you switch write mode on, the agent can also post, reply, send DMs, edit its own messages and react.
MATTERMOST_ENABLE_WRITE=1. Even then, the agent can only edit posts written by your own account.mattermost-mcp-server login: sign in once in a browser window and the server picks up the session cookies itself, and picks them up again when they expire.Claude Code
claude mcp add mattermost \
-e MATTERMOST_URL=https://mattermost.example.com \ -e MATTERMOST_ACCESS_TOKEN=your-token \ -- uvx mattermost-mcp-server
Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json) and other clients that use mcpServers:
{
"mcpServers": { "mattermost": { "command": "uvx", "args": ["mattermost-mcp-server"], "env": { "MATTERMOST_URL": "https://mattermost.example.com", "MATTERMOST_ACCESS_TOKEN": "your-token" } } } }
VS Code (.vscode/mcp.json):
{
"inputs": [ { "type": "promptString", "id": "mm-token", "description": "Mattermost access token", "password": true } ], "servers": { "mattermost": { "command": "uvx", "args": ["mattermost-mcp-server"], "env": { "MATTERMOST_URL": "https://mattermost.example.com", "MATTERMOST_ACCESS_TOKEN": "${input:mm-token}" } } } }
Then try asking: *"What did I miss in Mattermost today?"* or *"Summarize the thread about the release in #engineering."*
To let the agent post, add "MATTERMOST_ENABLE_WRITE": "1" to env (see Write mode).
| Tool | Kind | What it does |
|---|---|---|
get_unread | read | Unread and mention counts per channel; skips muted channels by default, like the client badge |
get_mentions | read | Posts that mention you, newest first; since, limit |
list_channels | read | Your channels with unread_count, mute state and sidebar category; filter by team, category, DMs, muted |
get_channel_posts | read | Recent posts in a channel; since (ISO 8601) or before (post ID) to page back |
get_thread | read | A root post and all its replies |
search_posts | read | Full-text search with Mattermost syntax (from:, in:, after:…), optionally scoped to one channel or a sidebar category; skips muted channels by default |
get_direct_messages | read | DM history with a user; since, before |
get_user | read | A user's profile by username |
search_users | read | Find users by name, username or email prefix |
get_me | read | Your profile, the auth mode, and whether write mode is on |
list_teams | read | Your teams |
get_post | read | One post by ID |
get_channel | read | A channel by ID or by name (town-square), with header and purpose |
get_pinned_posts | read | Pinned posts of a channel |
get_file_info | read | Name, type and size of an attached file (content is not downloaded) |
create_post | write | Post in a channel, or reply in a thread with root_id |
send_direct_message | write | DM a user by username |
update_post | write | Edit one of your own posts; refuses anyone else's |
add_reaction | write | React with an emoji (thumbsup or :thumbsup:) |
remove_reaction | write | Remove your reaction; no error if it was not there |
Every tool carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint), so clients can auto-approve reads and ask before writes. Nothing can delete posts, change channels or perform admin actions.
Write mode is off unless MATTERMOST_ENABLE_WRITE is 1, true, yes or on. When it is off:
The one server-side effect of read-only mode is the same as in any Mattermost client: get_direct_messages with someone you have never messaged creates the (empty) DM channel between you.
When write mode is on, update_post checks the post's author and refuses any post that is not yours, even if your account has permission to edit other people's posts. Posts are written as the authenticated user (or bot), so consider a dedicated bot account for agents that post on their own.
| Variable | Default | Meaning |
|---|---|---|
MATTERMOST_URL | — (required) | Base URL of your server, e.g. https://mattermost.example.com |
MATTERMOST_ACCESS_TOKEN | — | Personal access token or bot token; selects token auth |
MATTERMOST_ENABLE_WRITE | off | 1 enables the write tools |
MATTERMOST_AUTH_MODE | auto | token or cookie, to force a mode (see below) |
MATTERMOST_TOKEN | — | Cookie auth: value of the MMAUTHTOKEN cookie |
MATTERMOST_CSRF | — | Cookie auth: value of the MMCSRF cookie; required for write tools |
MATTERMOST_USER_ID | — | Cookie auth: value of the MMUSERID cookie (optional) |
MATTERMOST_AUTO_LOGIN | off | 1 opens the browser sign-in automatically when the saved session expires |
MATTERMOST_LOGIN_TIMEOUT | 300 | Seconds to wait for an automatic sign-in |
MATTERMOST_BROWSER | auto | Path of the Chromium-family browser used by login |
MATTERMOST_BROWSER_ARGS | — | Extra browser flags for login, e.g. --proxy-server=… |
MATTERMOST_BROWSER_PROFILE | ~/.config/mattermost-mcp/browser-profile | Sign-in browser profile (mode 0700) |
MATTERMOST_SESSION_FILE | ~/.config/mattermost-mcp/session.env | Where login saves the session (mode 0600) |
MATTERMOST_CACHE_TTL | 60 | Seconds to cache channel metadata; 0 disables the cache |
MATTERMOST_TRUST_ENV | 1 | 0 ignores HTTP(S)_PROXY/ALL_PROXY and connects to Mattermost directly |
MATTERMOST_AUTH_HELP | — | Extra text appended to the 401 error, e.g. how credentials are rotated in your setup |
MATTERMOST_KEYCHAIN_SERVICE | mattermost-mcp | Keychain service name (see Credential sources) |
MATTERMOST_COOKIE_HOST | off | Cookie host: ssh alias, or local |
MATTERMOST_COOKIE_PATH | .config/mattermost-mcp/cookie.env | Cookie host: file path, relative to $HOME on the host |
MATTERMOST_COOKIE_CACHE | ~/.cache/mattermost-mcp/cookie.cache | Cookie host: local cache file (mode 0600) |
MATTERMOST_COOKIE_TTL | 900 | Cookie host: cache lifetime, seconds |
MATTERMOST_COOKIE_SSH_TIMEOUT | 10 | Cookie host: ssh connect timeout, seconds |
Choosing the auth mode. If MATTERMOST_AUTH_MODE is unset, the first credential source that has any credential decides. The sources are checked in order: env, then cookie host, then the saved login session, then keychain. MATTERMOST_ACCESS_TOKEN in that source means token mode. MATTERMOST_TOKEN alone means cookie mode. A lower-priority source never overrides a higher one.
No personal access tokens on your server? Sign in once the way you always do (password, SSO, MFA), and the server uses your session:
uvx mattermost-mcp-server login --url https://mattermost.example.com
A browser window opens at your server's login page and closes by itself as soon as you are signed in. Any installed Chrome, Chromium, Edge or Brave works; set MATTERMOST_BROWSER to use a specific one. The session cookies are checked against the server and saved to ~/.config/mattermost-mcp/session.env (mode 0600). From then on the server needs no credentials in its configuration at all:
claude mcp add mattermost -- uvx mattermost-mcp-server
Other ways to sign in:
mattermost-mcp-server login --password # username/email + password (+ MFA code); the password is not stored
mattermost-mcp-server login --from-firefox # reuse the session of a Firefox where you are signed in mattermost-mcp-server status # which server, user and credential source is in use mattermost-mcp-server logout # revoke and delete the saved session (--forget-browser: also the browser profile)
When the session expires. Sessions expire after the time your admin configured. Run login again; running servers pick the new session up on their next call, without a restart. With MATTERMOST_AUTO_LOGIN=1 in the server's env, the server opens the sign-in window itself when it gets a
often completes without typing anything. Several running servers share one window.
The sign-in browser uses its own profile in ~/.config/mattermost-mcp/browser-profile, separate from your everyday browser. On macOS and Linux the server talks to it over a private pipe, not a network port.
To use session cookies directly, without login: log in to Mattermost in a browser, open DevTools → Application → Cookies, and copy MMAUTHTOKEN, MMCSRF and (optionally) MMUSERID into MATTERMOST_TOKEN, MATTERMOST_CSRF and MATTERMOST_USER_ID. This is also the way to go when a reverse proxy strips the Authorization header.
Session cookies expire. When they do, tool calls fail with a 401 error. Put fresh cookies wherever the server reads them from, then restart it, because env is read only once. If something rotates cookies for you, describe it in MATTERMOST_AUTH_HELP so the agent knows what to do.
The server resolves each field separately. The first source that has a value wins:
KEY=VALUE file with the same variable names, kept on another machine and read over ssh. Use this when one machine rotates the credential and others just consume it. The result is cached locally. On a 401 the server pulls the file again and retries once. ssh runs with BatchMode=yes, so a locked key fails fast instead of hanging the MCP handshake, and the reason goes to stderr. The file may only supply MATTERMOST_URL, MATTERMOST_ACCESS_TOKEN, MATTERMOST_TOKEN, MATTERMOST_CSRF and `MATTERMOST_USER_Iตัดมาแค่ช่วงต้น อ่านต่อใน repo