seqThinkMCP

r2cuerdame/seqThinkMCP

3.2

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.

Tools
6
Resources
0
Prompts
0

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