LM Studio向けFoPost

LM Studioはモデルを手元のパソコンで動かし、MCPサーバーに接続します。mcp.jsonにFoPostを追加してブラウザで一度サインインすれば、ローカルモデルが投稿を計画して予約できます。

LM Studioに貼り付けてください

fopost.com/agents/lm-studioを参照してFoPostをセットアップしてください
  • ホスト型MCPサーバー
  • 31のネットワーク
  • APIキー不要
すべてのエージェント
仕組み

LM Studioが下書き。あなたが承認。そして公開。

  • REST API
FoPost
あなた承認承認済み

デフォルトでオン

  • 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

エージェントを選ぶと設定プロンプトをコピーできます。

セットアップ

設定はエージェント自身が書けます。リンクを渡すだけです。

上の1行をLM Studioに貼り付けてください。このページを読んでサーバーを追加し、FoPostへのサインインはあなた自身が行えるよう、そこで停止します。手動で設定したい場合は、これが設定のすべてです。

~/.lmstudio/mcp.json
{
  "mcpServers": {
    "fopost": {
      "url": "https://api.fopost.com/mcp"
    }
  }
}
AIエージェント向けの手順プレーンなMarkdown版
## 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

エントリは1つ

mcp.jsonにurlを書くだけ。ファイルにキーは書きません。

ブラウザでサインイン

LM StudioがブラウザでFoPostを開き、アクセスの承認を求めます。

2段階の確認

LM Studioが各ツール呼び出しを確認し、公開にはあなたの承認も必要です。

セットアップ

mcp.jsonにサーバーを追加

右サイドバーでProgramタブを開き、Install、Edit mcp.jsonの順に選んで、URL https://api.fopost.com/mcp のエントリを追加します。ブラウザが開いたらFoPostにサインインします。

無料で始める
~/.lmstudio/mcp.json
{
  "mcpServers": {
    "fopost": { "url": "https://api.fopost.com/mcp" }
  }
}

Cursorと同じ形式

urlを持つmcpServersエントリです。

ファイルにキーは不要

キーを貼り付ける代わりにサインインします。

まず確認

接続済みアカウントの一覧をモデルに出してもらいましょう。

計画

手元で下書きし、あらゆる場所へ投稿

ローカルモデルが文章を書き、draft_post_variantsでネットワークごとに整え、get_queue_slotsで予約枠に入れます。最後はpropose_publishで、あなたが承認します。

1週間を計画する
コンポーザーで複数のネットワーク向けに整えた1つの投稿

draft_post_variants

ネットワークごとのバージョン。

get_queue_slots

キューの次の空き時間。

propose_publish

何かが公開される前に、あなたが承認します。

確認

届いたかどうかを確認

読み取りツールが、何が公開されたか、再接続が必要なアカウントはどれか、受信箱に何が届いているかを報告します。

無料で始める
チャット
> What went out today?

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

list_posts

最近の投稿とそのステータス。

get_account_health

再接続が必要なアカウント。

list_inbox

コメント、メンション、メッセージ。

ヘッドレス

マシンにブラウザがない場合

サーバーやCIには、サインインに使うブラウザがありません。代わりにダッシュボードでAPIキーを作成し、ローカルパッケージをstdioで実行してください。キーはリポジトリに含めないでください。

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

LM Studioに関するよくある質問

APIキーは必要ですか?

いいえ。LM Studioがブラウザ経由でFoPostにサインインさせます。

どのモデルを使えばいいですか?

ツール呼び出しに対応し、ツール一覧が収まるだけのコンテキストを持つモデルを選んでください。大きなモデルほど、複数ステップの計画をうまくこなします。

LM Studioがツール呼び出しのたびに確認するのはなぜですか?

デフォルトですべての呼び出しを確認するためです。App SettingsのTools and Integrationsで、ツールを常に許可する設定にできます。

確認なしで投稿されることはありますか?

いいえ。公開は、何かが送信される前にあなたが承認する提案を経て行われます。

AIクレジットを使いますか?

使うのは、AIで文章を書くFoPostのツールだけです。ローカルモデルはクレジットを使いません。

LM StudioからFoPostを操作

無料で始められ、MCPサーバーも含まれています。セットアップの1行をエージェントに貼り付けてサインインし、そこから最初の投稿を予約しましょう。

無料で始める