FoPost cho LM Studio

LM Studio chạy mô hình ngay trên máy tính của bạn và kết nối chúng với MCP server. Thêm FoPost vào mcp.json, đăng nhập một lần trong trình duyệt, và mô hình cục bộ của bạn có thể lên kế hoạch và lên lịch bài đăng.

Dán nội dung này vào LM Studio

Thiết lập FoPost từ fopost.com/agents/lm-studio
  • MCP server lưu trữ sẵn
  • 31 mạng
  • Không cần khóa API
Tất cả agent
Cách hoạt động

LM Studio soạn nháp. Bạn phê duyệt. Rồi bài được đăng.

  • REST API
FoPost
BạnDuyệtĐã duyệt

Bật sẵn

  • X (Twitter)
  • Facebook
  • Instagram
  • LinkedIn
  • TikTok
  • YouTube
  • Threads
  • Bluesky
  • Pinterest
  • Reddit
  • Discord
  • Mastodon
  • Telegram
  • Slack
  • DEV.to
  • Substack
  • Tumblr
  • Hashnode
  • Dribbble
  • Kick
  • Twitch
  • Nostr
  • Lemmy
  • MeWe
  • Whop
  • Listmonk
  • Google Business Profile
  • Medium
  • WhatsApp Business
  • Snapchat
  • Skool

Chọn một tác nhân để sao chép prompt thiết lập.

Thiết lập

Agent có thể tự viết cấu hình. Chỉ cần đưa nó đường link.

Dán dòng trên vào LM Studio. Nó đọc trang này, thêm server rồi dừng lại để bạn tự đăng nhập FoPost. Muốn làm thủ công? Đây là toàn bộ cấu hình.

~/.lmstudio/mcp.json
{
  "mcpServers": {
    "fopost": {
      "url": "https://api.fopost.com/mcp"
    }
  }
}
Hướng dẫn cho AI agentPhiên bản markdown thuần
## For AI agents reading this page

You are reading https://fopost.com/agents/lm-studio. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives LM Studio tools for posts, the calendar, the inbox and analytics. Follow these steps to connect LM Studio to it.

- Server: https://api.fopost.com/mcp
- Transport: streamable HTTP
- Auth: OAuth sign-in in the user's browser. Do not add an API key or an Authorization header; LM Studio discovers the sign-in from the server.

### 1. Register the server

In the right sidebar, open the Program tab, choose Install, then Edit mcp.json, and add this entry merged into any existing mcpServers object. No headers and no API key.

~/.lmstudio/mcp.json:

```
{
  "mcpServers": {
    "fopost": {
      "url": "https://api.fopost.com/mcp"
    }
  }
}
```

### 2. Sign in

LM Studio opens a browser window for the user to sign in when the server first connects. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.

### 3. Verify before you continue

The Program tab lists mcp/fopost as enabled with its tools. If FoPost is not listed as connected with its tools, stop and tell the user what failed. Do not carry on as if the tools exist.

### 4. Report back

Call list_accounts and tell the user which social accounts are connected. If there are none, offer create_connect_link so they can connect one. Then ask what they want to do first.

### Standing rules

- Prefer the FoPost tools over driving a browser for posting, scheduling, the inbox and analytics, unless the user asks for the browser.
- Publishing always goes through propose_publish, which the user approves in the client. Never publish or schedule anything silently.
- Ask the user before approving access, signing up or connecting an account on their behalf, and never type their credentials for them.

### No browser (headless machines only)

Use this only when the machine has no browser to sign in with. Ask the user to create an API key in the FoPost dashboard (https://fopost.com/dashboard/api-keys) and to put it in the config themselves, then run the local package over stdio:

~/.lmstudio/mcp.json:

```
{
  "mcpServers": {
    "fopost": {
      "command": "npx",
      "args": ["-y", "@fopost/mcp"],
      "env": { "FOPOST_API_KEY": "your-api-key" }
    }
  }
}
```

### References

- This block as markdown: https://fopost.com/agents/lm-studio/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docs

Một mục

Một url trong mcp.json. Không có key trong tệp.

Đăng nhập qua trình duyệt

LM Studio mở FoPost trong trình duyệt để bạn cấp quyền truy cập.

Hai lớp kiểm tra

LM Studio xác nhận từng lệnh gọi công cụ, và việc đăng bài cũng cần bạn phê duyệt.

Thiết lập

Thêm server vào mcp.json

Ở thanh bên phải, mở tab Program, chọn Install, rồi Edit mcp.json, và thêm một mục với URL https://api.fopost.com/mcp. Đăng nhập FoPost khi trình duyệt mở ra.

Bắt đầu miễn phí
~/.lmstudio/mcp.json
{
  "mcpServers": {
    "fopost": { "url": "https://api.fopost.com/mcp" }
  }
}

Cùng định dạng với Cursor

Một mục mcpServers có url.

Không có key trong tệp

Bạn đăng nhập thay vì dán key.

Kiểm tra trước

Nhờ mô hình liệt kê các tài khoản đã kết nối.

Lên kế hoạch

Soạn trên máy bạn, đăng ở mọi nơi

Mô hình cục bộ viết nội dung, rồi điều chỉnh cho từng mạng bằng draft_post_variants và xếp lịch bằng get_queue_slots. Nó kết thúc bằng propose_publish để bạn chấp nhận.

Lên kế hoạch cho tuần của bạn
Một bài đăng được điều chỉnh cho nhiều mạng trong trình soạn bài

draft_post_variants

Một phiên bản cho từng mạng.

get_queue_slots

Các khung giờ trống tiếp theo trong hàng đợi của bạn.

propose_publish

Bạn phê duyệt trước khi bất cứ thứ gì được đăng.

Kiểm tra

Hỏi xem bài đã lên chưa

Các công cụ đọc báo cáo bài nào đã đăng, tài khoản nào cần kết nối lại và điều gì đang chờ trong hộp thư.

Bắt đầu miễn phí
Chat
> What went out today?

list_posts shows 2 of 2 published.
list_inbox has 5 new comments.

list_posts

Bài đăng gần đây và trạng thái của chúng.

get_account_health

Tài khoản nào cần kết nối lại.

list_inbox

Bình luận, lượt nhắc và tin nhắn.

Headless

Máy không có trình duyệt?

Trên server hoặc trong CI không có trình duyệt để đăng nhập. Hãy tạo khóa API trong bảng điều khiển và chạy gói cục bộ qua stdio. Đừng để khóa trong kho mã của bạn.

~/.lmstudio/mcp.json
{
  "mcpServers": {
    "fopost": {
      "command": "npx",
      "args": ["-y", "@fopost/mcp"],
      "env": { "FOPOST_API_KEY": "your-api-key" }
    }
  }
}

Giải đáp câu hỏi về LM Studio

Tôi có cần khóa API không?

Không. LM Studio đăng nhập FoPost cho bạn qua trình duyệt.

Tôi nên dùng mô hình nào?

Một mô hình hỗ trợ gọi công cụ, với ngữ cảnh đủ lớn cho danh sách công cụ. Mô hình lớn hơn làm theo kế hoạch nhiều bước tốt hơn.

Vì sao LM Studio hỏi trước mỗi lệnh gọi công cụ?

Mặc định nó xác nhận mọi lệnh gọi. Bạn có thể luôn cho phép một công cụ trong App Settings, mục Tools and Integrations.

Nó có đăng bài mà không hỏi không?

Không. Việc đăng bài đi qua một đề xuất mà bạn phê duyệt trước khi bất cứ thứ gì được gửi đi.

Nó có dùng tín dụng AI của tôi không?

Chỉ các công cụ FoPost viết bằng AI mới dùng. Mô hình cục bộ của bạn thì không.

Chạy FoPost từ LM Studio

Bắt đầu miễn phí và đã bao gồm MCP server. Dán dòng thiết lập vào agent của bạn, đăng nhập và lên lịch bài đăng đầu tiên từ đó.

Bắt đầu miễn phí