r2cuerdame/seqThinkMCP
If you are the rightful owner of seqThinkMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Sequential Thinking MCP Server supports SSE and is compatible with Claude Code.
Sequential Thinking MCP Server
SSE(Server-Sent Events)๋ฅผ ์ง์ํ๋ Sequential Thinking MCP ์๋ฒ์ ๋๋ค.
๐ ์ฃผ์ ๊ธฐ๋ฅ
- Sequential Thinking: ์ฒด๊ณ์ ์ธ ์ฌ๊ณ ๊ณผ์ ์ถ์
- Thought Branching: ์ฌ๊ณ ์ ๋ถ๊ธฐ ๋ฐ ๋ฐ์
- Session Management: ๋ค์ค ์ธ์ ์ง์
- SSE Streaming: ์ค์๊ฐ ์ฌ๊ณ ๊ณผ์ ์คํธ๋ฆฌ๋ฐ
- MCP Protocol: Claude Code์ ์์ ํธํ
๐ ๋น ๋ฅธ ์์
1. ๊ฐ๋ฐ ๋ชจ๋ ์คํ
cd seqThinkMCP
npm install
npm run dev
2. ํ๋ก๋์ ๋น๋
npm run build
npm start
3. Docker ์คํ
# Docker Compose ์ฌ์ฉ
docker-compose up -d
# ๋๋ ์ง์ Docker ๋น๋
docker build -t seq-think-mcp .
docker run -p 3001:3001 seq-think-mcp
๐ง MCP ๋๊ตฌ
think
์๋ก์ด ์ฌ๊ณ ๋ฅผ ์ถ๊ฐํ๊ฑฐ๋ ๊ธฐ์กด ์ฌ๊ณ ๋ฅผ ์์ ํฉ๋๋ค.
{
"content": "์ฌ๊ณ ๋ด์ฉ",
"revise": 3, // ์ ํ์ : ์์ ํ ์ฌ๊ณ ID
"sessionId": "session-1" // ์ ํ์ : ์ธ์
ID
}
get_thoughts
์ฌ๊ณ ๋ชฉ๋ก์ ์กฐํํฉ๋๋ค.
{
"sessionId": "session-1", // ์ ํ์
"limit": 10 // ์ ํ์ : ์ต๊ทผ N๊ฐ๋ง
}
branch_thought
๊ธฐ์กด ์ฌ๊ณ ์์ ์๋ก์ด ๋ถ๊ธฐ๋ฅผ ์์ฑํฉ๋๋ค.
{
"thoughtId": 5,
"content": "๋ถ๊ธฐ๋ ์๋ก์ด ์ฌ๊ณ ",
"sessionId": "session-1"
}
get_thought_tree
์ฌ๊ณ ์ ํธ๋ฆฌ ๊ตฌ์กฐ๋ฅผ ์กฐํํฉ๋๋ค.
clear_thoughts
์ธ์ ์ ๋ชจ๋ ์ฌ๊ณ ๋ฅผ ์ง์๋๋ค.
create_session
์๋ก์ด ์ฌ๊ณ ์ธ์ ์ ์์ฑํฉ๋๋ค.
๐ API ์๋ํฌ์ธํธ
GET /
: ์๋ฒ ์ ๋ณดGET /health
: ํฌ์ค์ฒดํฌPOST /mcp/messages/
: MCP ๋ฉ์์ง ์ฒ๋ฆฌ (SSE ์ง์)GET /sessions
: ์ธ์ ๊ด๋ฆฌ
๐ SSE ์คํธ๋ฆฌ๋ฐ
think
๋๊ตฌ ํธ์ถ ์ ์ค์๊ฐ ์ฌ๊ณ ๊ณผ์ ์ SSE๋ก ์คํธ๋ฆฌ๋ฐ:
// SSE ์ด๋ฒคํธ ์์
data: {"type": "connected"}
data: {"type": "progress", "step": 1, "message": "Processing your thought..."}
data: {"type": "progress", "step": 2, "message": "Analyzing content..."}
data: {"jsonrpc": "2.0", "id": 1, "result": {...}}
data: {"type": "complete"}
๐ Claude Code ์ฐ๋
Claude Code์ claude_desktop_config.json
์ ์ถ๊ฐ:
{
"mcpServers": {
"sequential-thinking": {
"command": "node",
"args": ["/path/to/seqThinkMCP/dist/index.js"]
}
}
}
๋๋ HTTP ๋ฐฉ์์ผ๋ก:
{
"mcpServers": {
"sequential-thinking": {
"command": "curl",
"args": ["-X", "POST", "http://localhost:3001/mcp/messages/", "-H", "Content-Type: application/json", "-d", "@-"]
}
}
}
๐งช ํ ์คํธ
# ์๋ฒ ์์ ํ ํ
์คํธ
curl http://localhost:3001/health
# MCP ๋๊ตฌ ํ
์คํธ
curl -X POST http://localhost:3001/mcp/messages/ \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}'
๐ ๋ผ์ด์ผ์ค
MIT License