Welcome to the NowAI Developer portal. This document describes the integration options, REST API reference, CLI tools, plugin systems, and Model Context Protocol (MCP) configurations.
NowAI provides a lightweight SDK to programmatically sync clipboards and capture inspirations.
npm install @now/sdk
import { NowClient } from '@now/sdk';
const now = new NowClient({
apiKey: 'YOUR_SECRET_TOKEN'
});
now.on('copy', (content) => {
console.log('Captured:', content.text);
});
OpenAPI 3.0 specification is available at openapi.json.
Get Clipboard History: GET /v1/clipboard/history
{
"status": "success",
"data": [
{
"id": "clip_88x2",
"text": "Hello World",
"timestamp": 1739568000
}
]
}
# Search clipboard
now find "tailwind config" --copy
# Push to device
now push --to iphone-16
Extend NowAI desktop client menus, keyboard shortcuts, or parsing logic using TypeScript or Lua.
| Method | Return Type | Description |
|---|---|---|
show() |
Promise<void> |
Shows and focuses the plugin window. |
hide() |
Promise<void> |
Hides the plugin window. |
setSize(w, h) |
Promise<void> |
Sets window size. |
capturePage() |
Promise<NativeImage> |
Captures page screenshot. |
Connect local AI agents to your NowAI clipboards using the Streamable HTTP transport standard.
Claude Desktop configuration: claude_desktop_config.json
{
"mcpServers": {
"now-ai": {
"command": "C:\\Path\\To\\Now.exe",
"args": ["--mcp"]
}
}
}
Available tools: list_cards, search_cards, create_card.