FoPost per Kimi Code
Kimi Code, l'agente di programmazione di Moonshot AI, si collega ai server MCP remoti tramite URL. Aggiungi FoPost, accedi una volta nel browser e l'agente può scrivere i post di lancio per il codice che ha appena rilasciato.
Incolla questo in Kimi Code
Configura FoPost da fopost.com/agents/kimi- Server MCP in hosting
- 33 reti
- Nessuna chiave API
L'agente può scrivere da solo la sua configurazione. Dagli il link.
Incolla la riga qui sopra in Kimi Code. Legge questa pagina, aggiunge il server e si ferma per farti accedere a FoPost di persona. Preferisci farlo a mano? Questa è tutta la configurazione.
{
"mcpServers": {
"fopost": {
"url": "https://api.fopost.com/mcp"
}
}
}## For AI agents reading this page
You are reading https://fopost.com/agents/kimi. FoPost schedules and publishes social posts on 33 networks, and its hosted MCP server gives Kimi Code tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Kimi Code 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; Kimi Code discovers the sign-in from the server.
### 1. Register the server
Add this entry to ~/.kimi-code/mcp.json (every project) or .kimi-code/mcp.json (this repository), merged into any existing mcpServers object, or run /mcp-config in the session to add it interactively. An entry with a url and no transport is streamable HTTP. No headers. Changes load in a new session.
~/.kimi-code/mcp.json:
```
{
"mcpServers": {
"fopost": {
"url": "https://api.fopost.com/mcp"
}
}
}
```
### 2. Sign in
Run /mcp-config login fopost in the session. 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
/mcp shows fopost as connected. 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:
~/.kimi-code/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/kimi/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docsUna sola voce
Un url e nient'altro. Nessuna chiave nel file.
Accesso dal browser
/mcp-config login apre FoPost nel browser per approvare l'accesso.
Approvazione predefinita
Kimi Code chiede conferma prima delle chiamate agli strumenti non coperte da una regola di autorizzazione.
Aggiungi il server, poi fai il login
Aggiungi la voce qui sopra a ~/.kimi-code/mcp.json, oppure a .kimi-code/mcp.json in un progetto, o esegui /mcp-config nella sessione per aggiungerla senza modificare il file. Poi esegui /mcp-config login fopost e approva l'accesso in FoPost. /mcp mostra se si è collegato.
Inizia gratis/mcp-config login fopost
/mcpPer progetto
Un .kimi-code/mcp.json nel repository tiene la configurazione insieme al codice.
Nessuna modifica a mano
/mcp-config aggiunge, modifica e rimuove i server dall'interno della sessione.
Prima una verifica
Chiedigli di elencare i tuoi account collegati.
Annuncia il rilascio dal repository
Chiedi a Kimi Code di leggere il changelog e scrivere l'annuncio. Crea le bozze con create_draft_post, una versione per rete con draft_post_variants, e chiude con propose_publish, che accetti tu.
Pianifica il tuo lancio
draft_post_variants
Una nota di rilascio, adattata a ogni rete.
get_queue_slots
I tuoi prossimi orari liberi.
propose_publish
Il piano che approvi prima che esca.
Chiedi se è arrivato
Nella stessa sessione, chiedi cosa è stato pubblicato, quali account richiedono attenzione e cosa hanno risposto le persone.
Inizia gratis> Did the release post go out?
Kimi Code: list_posts shows 3 of 3 published.
list_inbox has 2 new replies.list_posts
I post recenti e il loro stato.
get_account_health
Quali account vanno ricollegati.
list_inbox
Risposte e menzioni dopo il post.
Nessun browser sulla macchina?
Su un server o in CI non c'è un browser con cui accedere. Crea una chiave API nella dashboard ed esegui invece il pacchetto locale tramite stdio. Tieni la chiave fuori dal tuo repository.
{
"mcpServers": {
"fopost": {
"command": "npx",
"args": ["-y", "@fopost/mcp"],
"env": { "FOPOST_API_KEY": "your-api-key" }
}
}
}Kimi Code: le risposte alle tue domande
Mi serve una chiave API?
Funziona nell'app Kimi?
Pubblica senza chiedere?
Come controllo la connessione?
Usa i miei crediti IA?
Usa FoPost da Kimi Code
Iniziare è gratis e il server MCP è incluso. Incolla la riga di configurazione nel tuo agente, accedi e programma da lì il tuo primo post.
Inizia gratis