yt-slack-mcp
yt-slack-mcp
Slack용 MCP 서버 — permalink, 스레드, 채널 기록 읽기; 스레드에 답글 달기; 리액션 추가하기.
Model Context Protocol 사양을 구현합니다: stdio 전송으로 실행되며, JSON-RPC 2.0을 사용하고, initialize에서 프로토콜 버전을 협상하며, tools 기능을 광고하고, 각 도구를 JSON Schema로 설명합니다. 프로토콜 버전 협상은 @modelcontextprotocol/sdk의 Server 클래스가 처리하며, 기본값은 최신 지원 버전입니다.
도구
도구 | 설명 |
| permalink에서 메시지 또는 스레드 읽기 (PDF/이미지 포함) |
| 채널 ID + 타임스탬프로 스레드의 답글 읽기 |
| 최근 채널 기록 읽기 |
| 스레드에 답글 달기 (허용된 채널로 제한) |
| 리액션 추가 (허용된 채널로 제한) |
읽기 도구는 비공개 Slack 브라우저 세션 API(xoxc / xoxd 토큰)를 사용하므로 비공개 파일 내용을 가져올 수 있습니다 — PDF는 다운로드되어 텍스트로 추출되고(최대 50페이지 / 100k자), 이미지는 인라인으로 반환됩니다.
Related MCP server: Slack MCP Server
설정
1. 브라우저 세션 토큰 얻기
xoxc: Slack 웹 localStorage 토큰 (로그인된 브라우저 세션에서).xoxd:d라는 이름의 Slack 쿠키.
Slack이 세션을 회전/무효화할 때 이 토큰들을 새로 고쳐야 할 수 있습니다.
2. 비밀 파일 배치
각 토큰을 한 줄짜리 파일로 저장하세요:
~/.config/opencode/secrets/slack-xoxc.txt
~/.config/opencode/secrets/slack-xoxd.txt또는 구성 파일이나 환경 변수로 경로를 재정의할 수 있습니다.
3. (선택 사항) 허용된 쓰기 채널 및 경로 구성
모든 구성은 ~/.config/yt-slack-mcp/config.json의 JSON 구성 파일에 넣을 수 있습니다 (SLACK_MCP_CONFIG로 재정의 가능):
{
"secretsDir": "~/.config/opencode/secrets",
"xoxcPath": "~/.config/opencode/secrets/slack-xoxc.txt",
"xoxdPath": "~/.config/opencode/secrets/slack-xoxd.txt",
"allowedWriteChannels": ["C0123456789", "C0987654321"],
"userAgent": "Mozilla/5.0"
}기본적으로 쓰기 도구(slack_reply_to_thread, slack_add_reaction)는 잠겨 있습니다 — 어떤 채널도 쓰기 가능하지 않습니다. 모든 필드는 선택 사항이며, 파일이 없으면 기본값을 의미합니다. 환경 변수는 항상 구성 파일보다 우선합니다.
구성
구성 해석 순서: 내장 기본값 → 구성 파일 → 환경 변수.
구성 파일 키 | 환경 변수 | 기본값 | 설명 |
|
|
| 토큰 파일이 있는 디렉터리 |
|
|
|
|
|
|
|
|
|
| (없음) | 쓰기 도구에 허용된 채널 ID (환경 변수에서는 쉼표로 구분) |
|
|
| HTTP |
(구성 파일 경로) |
|
| JSON 구성 파일 경로 |
MCP 호스트 구성
opencode
{
"mcp": {
"slack": {
"type": "local",
"command": ["npx", "yt-slack-mcp"]
}
}
}Claude Desktop
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["yt-slack-mcp"]
}
}
}라이선스
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceSelf-hosted MCP server for Slack using User OAuth Token, enabling message management, channel operations, and user interactions via natural language.25MIT
- AlicenseNot gradedqualityBmaintenanceA production-ready MCP server for the Slack API that enables searching, listing channels, reading history, inspecting users, fetching threads, and sending messages through controlled Slack tools.16,956MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for interacting with Slack using a user token. It allows reading channels, DMs, threads, search, and posting messages as the authenticated user.25MIT
- AlicenseAqualityCmaintenanceMCP server that reads Slack through your own browser session, authenticating as you rather than a bot. Provides tools to search messages, retrieve channel/DM/thread history, resolve users, and post messages (write disabled by default).10MIT
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
A basic MCP server to operate on the Postman API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yentsun/slack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server