OpenCode용 FoPost
오픈 소스 코딩 에이전트 OpenCode는 URL로 원격 MCP 서버에 연결해요. 명령어 하나로 FoPost를 추가하고 브라우저에서 로그인하면, OpenCode가 게시물을 계획하고 예약해 줘요.
OpenCode에 붙여 넣으세요
fopost.com/agents/opencode을 참고해서 FoPost를 설정해 주세요- 호스팅된 MCP 서버
- 31개 네트워크
- API 키 불필요
OpenCode이(가) 초안을 씁니다. 승인은 당신이. 그다음 게시됩니다.
기본으로 켜짐
- X (Twitter)
- TikTok
- YouTube
- Threads
- Bluesky
- 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
에이전트를 선택해 설정 프롬프트를 복사하세요.
에이전트가 설정을 직접 작성할 수 있어요. 링크만 주세요.
위 문구를 OpenCode에 붙여 넣으세요. 이 페이지를 읽고 서버를 추가한 뒤, 직접 FoPost에 로그인할 수 있도록 멈춰요. 직접 설정하고 싶다면 이게 전체 설정이에요.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"fopost": {
"type": "remote",
"url": "https://api.fopost.com/mcp"
}
}
}## For AI agents reading this page
You are reading https://fopost.com/agents/opencode. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives OpenCode tools for posts, the calendar, the inbox and analytics. Follow these steps to connect OpenCode 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; OpenCode discovers the sign-in from the server.
### 1. Register the server
Run this command, or add the entry to ~/.config/opencode/opencode.json (every project) or opencode.json in the project, merged into any existing mcp object. No headers and no API key.
Terminal:
```
opencode mcp add fopost --global --url https://api.fopost.com/mcp
```
### 2. Sign in
Run opencode mcp auth fopost, or /mcps inside OpenCode. A browser window opens for the user to sign in. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.
### 3. Verify before you continue
opencode mcp list shows fopost as connected, and its tools appear as fopost_<tool>. 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:
~/.config/opencode/opencode.json:
```
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}
```
### References
- This block as markdown: https://fopost.com/agents/opencode/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docs명령어 하나
opencode mcp add가 항목을 대신 써 줘요.
브라우저 로그인
OpenCode가 브라우저에서 FoPost를 열어 접근 승인을 받아요.
승인이 먼저
게시는 수락한 제안을 거쳐야 해요. 초안이 혼자 나가는 일은 없어요.
서버를 추가하고 로그인하기
이 명령어가 전역 OpenCode 설정에 https://api.fopost.com/mcp를 추가해요. 프로젝트 하나에만 추가하려면 --global을 빼세요. 그다음 opencode mcp auth fopost를 실행하고 FoPost에서 접근을 승인하세요.
무료로 시작하기opencode mcp add fopost --global --url https://api.fopost.com/mcp
opencode mcp auth fopost전역 또는 프로젝트
어디서나 쓰거나 저장소 하나에서만 쓰세요.
설정에 키 없음
키를 붙여 넣는 대신 로그인해요.
먼저 확인
opencode mcp list에 연결됨으로 표시돼요.
프롬프트 하나로 일주일 치 게시물
OpenCode에게 이번 주 글을 repurpose_url로 게시물로 바꾸고, draft_post_variants로 하나씩 다듬고, get_queue_slots로 슬롯에 넣으라고 요청하세요. 마지막은 propose_publish이고, 수락하면 돼요.
이번 주 계획하기
repurpose_url
글 하나가 연속 게시물로.
draft_post_variants
네트워크별 버전.
get_calendar
이미 잡힌 일정.
> What went out today?
fopost_list_posts shows 2 of 2 published.
fopost_list_inbox has 3 new comments.list_posts
최근 게시물과 상태.
get_account_health
다시 연결해야 하는 계정.
list_inbox
댓글, 멘션, 메시지.
머신에 브라우저가 없나요?
서버나 CI에는 로그인할 브라우저가 없어요. 대신 대시보드에서 API 키를 만들고 로컬 패키지를 stdio로 실행하세요. 키는 저장소에 넣지 마세요.
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}OpenCode에 대해 자주 묻는 질문
API 키가 필요한가요?
인증이 필요하다고 나와요. 어떻게 하나요?
묻지 않고 게시하나요?
도구 이름이 왜 fopost_로 시작하나요?
AI 크레딧을 사용하나요?
다른 에이전트
- MCP Server
- Claude Code
- Claude
- Claude Desktop
- Claude Cowork
- Cursor
- Codex
- ChatGPT
- Windsurf
- Gemini CLI
- Grok
- Hermes Agent
- OpenClaw
- Muse
- Kimi Code
- DeepSeek Harness
- goose
- VS Code
- Warp
- Amp
- LM Studio
- Gemini
- Perplexity
- Perplexity Computer
- Manus
- Mistral Vibe
- GitHub Copilot
- Cline
- Junie
- Continue
- Zed
- OpenAI dots
- Claude Duet
- Grok Build
- NanoClaw
- Paperclip
- Raycast
OpenCode에서 FoPost 사용하기
무료로 시작할 수 있고 MCP 서버도 포함돼요. 설정 문구를 에이전트에 붙여 넣고 로그인한 다음, 거기서 첫 게시물을 예약해 보세요.
무료로 시작하기