ilo
A local-first MCP server for social publishing on X (Twitter), enabling draft management, scheduling, and posting via CLI or AI agents.
README
ilo
Agent-first X performance monitoring, drafting, scheduling, and publishing.
Give your agent the public posts and performance data you care about, find the patterns worth repeating, then draft and publish through ilo's CLI, local MCP server, agent skill, or TypeScript package.
Install
npm i -g iloso
ilo start
Create an X developer app with OAuth 2.0 read and write access, then register this callback:
http://127.0.0.1:8976/callback
ilo start opens the browser flow and stores OAuth tokens in your operating system keychain.
Use the CLI
ilo post --text "Hello from ilo"
ilo drafts create --text "Post this tomorrow"
ilo drafts list
ilo drafts schedule <draft-id> --at "tomorrow at 9am"
ilo scheduler watch
Publishing asks for confirmation. Scripts can pass --yes after getting approval elsewhere.
Add local MCP
claude mcp add ilo -- iloso mcp serve
codex mcp add ilo -- iloso mcp serve
Config-based clients can use:
{
"mcpServers": {
"ilo": {
"command": "iloso",
"args": ["mcp", "serve"]
}
}
}
The MCP server uses the same local database and keychain credentials as the CLI. Publishing tools require confirm: true.
Install the packaged agent skill with ilo skill install.
Use the TypeScript package
Install iloso in a Node 22 or newer project to call the same core functions directly:
npm install iloso
import { createDraft, scheduleDraft } from 'iloso'
const draft = createDraft('A post to review')
await scheduleDraft(draft.id, 'tomorrow at 9am')
Repository
packages/core: local config, keychain, SQLite, scheduling, and provider logicpackages/cli: theiloandilosocommandspackages/mcp: the local stdio MCP toolsapps/web: the statically generated ilo.so site and same-origin tool routes
Develop
pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm build
The website can run locally with pnpm -C apps/web dev. See apps/web/README.md for its optional environment variables and Cloudflare deployment.
Roadmap
X publishing and scheduling are first. Bluesky and LinkedIn are the next provider targets. Local imports and automated performance reports come next.
License and support
MIT licensed. If ilo saves you time, sponsor Ian.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.