FoPost para Kimi Code
Kimi Code, el agente de programación de Moonshot AI, se conecta a servidores MCP remotos por URL. Añade FoPost, inicia sesión una vez en tu navegador y el agente podrá escribir las publicaciones de lanzamiento del código que acaba de publicar.
Pega esto en Kimi Code
Configura FoPost desde fopost.com/agents/kimi- Servidor MCP alojado
- 33 redes
- Sin clave de API
El agente puede escribir su propia configuración. Dale el enlace.
Pega la línea de arriba en Kimi Code. Lee esta página, añade el servidor y se detiene para que inicies sesión en FoPost tú mismo. ¿Prefieres hacerlo a mano? Esta es toda la configuración.
{
"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 entrada
Una url y nada más. Ninguna clave en el archivo.
Inicio de sesión en el navegador
/mcp-config login abre FoPost en el navegador para aprobar el acceso.
Aprobación por defecto
Kimi Code pregunta antes de las llamadas a herramientas que ninguna regla de permisos cubre.
Añade el servidor e inicia sesión
Añade la entrada de arriba a ~/.kimi-code/mcp.json, o a .kimi-code/mcp.json en un proyecto, o ejecuta /mcp-config en la sesión para añadirla sin editar el archivo. Luego ejecuta /mcp-config login fopost y aprueba el acceso en FoPost. /mcp muestra si se conectó.
Empieza gratis/mcp-config login fopost
/mcpPor proyecto
Un .kimi-code/mcp.json en el repositorio mantiene la configuración junto al código.
Sin editar a mano
/mcp-config añade, edita y elimina servidores desde la propia sesión.
Compruébalo primero
Pídele que liste tus cuentas conectadas.
Anuncia la versión desde el repositorio
Pide a Kimi Code que lea el changelog y redacte el anuncio. Escribe borradores con create_draft_post, una versión por red con draft_post_variants y termina con propose_publish para que lo aceptes.
Planifica tu lanzamiento
draft_post_variants
Una nota de versión, adaptada a cada red.
get_queue_slots
Tus próximos huecos libres.
propose_publish
El plan que apruebas antes de que salga.
Pregunta si llegó
En la misma sesión, pregunta qué se publicó, qué cuentas necesitan atención y qué respondió la gente.
Empieza gratis> Did the release post go out?
Kimi Code: list_posts shows 3 of 3 published.
list_inbox has 2 new replies.list_posts
Publicaciones recientes y su estado.
get_account_health
Qué cuentas necesitan reconectarse.
list_inbox
Respuestas y menciones desde la publicación.
¿No hay navegador en la máquina?
En un servidor o en CI no hay navegador para iniciar sesión. Crea una clave de API en el panel y ejecuta el paquete local por stdio. Mantén la clave fuera de tu repositorio.
{
"mcpServers": {
"fopost": {
"command": "npx",
"args": ["-y", "@fopost/mcp"],
"env": { "FOPOST_API_KEY": "your-api-key" }
}
}
}Preguntas sobre Kimi Code, respondidas
¿Necesito una API key?
¿Funciona en la app de Kimi?
¿Publicará sin preguntar?
¿Cómo compruebo la conexión?
¿Usa mis créditos de IA?
Usa FoPost desde Kimi Code
Empezar es gratis y el servidor MCP está incluido. Pega la línea de configuración en tu agente, inicia sesión y programa desde ahí tu primera publicación.
Empieza gratis