Content
# jike-mcp
Jike MCP Server + OpenClaw Skills, let AI assistants help you browse Jike.
## Features
- Scan code login to Jike
- Browse followed/recommended dynamic streams
- Search posts, users, topics
- View post details and comments
- Create posts, comments, likes, follow
## Quick Start
### Install as OpenClaw Skill
```bash
# Clone to OpenClaw skills directory
cd ~/.openclaw/skills/
git clone https://github.com/myartings/jikeskill.git jike
# Build MCP Server
cd jike
go build -o jike-mcp .
# Start server
./jike-mcp
```
Or use pre-compiled binaries (see [Releases](https://github.com/myartings/jikeskill/releases)):
```bash
cd ~/.openclaw/skills/
git clone https://github.com/myartings/jikeskill.git jike
cd jike
# Download binary for your platform
# Linux amd64:
curl -L https://github.com/myartings/jikeskill/releases/latest/download/jike-mcp-linux-amd64 -o jike-mcp
chmod +x jike-mcp
./jike-mcp
```
### Use mcporter
```bash
# Start MCP Server (as above)
# Then add to OpenClaw
mcporter config add jike-mcp http://localhost:8080/mcp
```
### Manual Configuration
Edit `~/.openclaw/openclaw.json`:
```json
{
"mcpServers": {
"jike-mcp": {
"type": "streamableHttp",
"url": "http://localhost:8080/mcp"
}
}
}
```
## Usage
After starting the MCP Server, interact with OpenClaw:
- "Help me login to Jike" → Scan code login
- "Show me what my followed users posted" → Browse followed feeds
- "Search for posts about AI" → Search
- "Help me create a Jike post" → Create post
- "Like this post" → Like
## Command Line Flags
```bash
./jike-mcp [flags]
-port Server port (default 8080)
-tokens Token storage path (default tokens.json)
```
## API
The MCP Server provides two interfaces:
- **MCP**: `http://localhost:8080/mcp` (Streamable HTTP)
- **REST API**: `http://localhost:8080/api/v1/`
### MCP Tools
| Tool | Description |
|------|-------------|
| `check_login_status` | Check login status |
| `get_login_qrcode` | Get login QR code |
| `wait_for_login` | Wait for login confirmation |
| `logout` | Logout |
| `get_following_feeds` | Followed feeds |
| `get_recommend_feeds` | Recommended feeds |
| `search` | Search |
| `get_post_detail` | Post details |
| `get_comments` | Comment list |
| `create_post` | Create post |
| `add_comment` | Comment |
| `get_user_profile` | User profile |
| `get_user_posts` | User posts |
| `like_post` / `unlike_post` | Like/unlike post |
| `follow_user` / `unfollow_user` | Follow/unfollow user |
## Build
```bash
go build -o jike-mcp .
```
## License
MIT