Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: other agents

Nevo Davidc9382d983df2
diff --git a/apps/frontend/public/icons/third-party/nanoclaw.png b/apps/frontend/public/icons/third-party/nanoclaw.png
new file mode 100644
index 000000000..94d7280cc
Binary files /dev/null and b/apps/frontend/public/icons/third-party/nanoclaw.png differ
diff --git a/apps/frontend/src/components/onboarding/onboarding.modal.tsx b/apps/frontend/src/components/onboarding/onboarding.modal.tsx
index 09ff8d7bd..2f4bb8db0 100644
--- a/apps/frontend/src/components/onboarding/onboarding.modal.tsx
+++ b/apps/frontend/src/components/onboarding/onboarding.modal.tsx
@@ -12,12 +12,15 @@ import { useModals } from '@gitroom/frontend/components/layout/new-modal';
import { useUser } from '@gitroom/frontend/components/layout/user.context';
import { useVariables } from '@gitroom/react/helpers/variable.context';
import {
+ AnyMcpClient,
CopyButton,
getMcpConfig,
getMcpOauthUrl,
isChatOnlyMcpClient,
localCliSteps,
McpAuth,
+ McpClient,
+ mcpClients,
} from '@gitroom/frontend/components/public-api/public.component';
import { McpClientIcon } from '@gitroom/frontend/components/public-api/mcp.client.icons';
@@ -261,9 +264,15 @@ const onboardingAgents = [
type OnboardingAgent = (typeof onboardingAgents)[number];
+// Every other MCP client, grouped under one tab with its own picker
+const otherTab = 'Other agents' as const;
+const otherAgents = mcpClients.filter(
+ (client) => !(onboardingAgents as readonly string[]).includes(client)
+);
+
// Not an agent, a tab showing the raw API key for people integrating by hand
const apiTab = 'API' as const;
-type OnboardingTab = OnboardingAgent | typeof apiTab;
+type OnboardingTab = OnboardingAgent | typeof otherTab | typeof apiTab;
const cliCommands = localCliSteps.map((step) => step.code);
@@ -292,7 +301,11 @@ const OnboardingStep2: FC<{ onBack: () => void; onNext: () => void }> = ({
const t = useT();
const user = useUser();
const { backendUrl, mcpUrl, billingEnabled } = useVariables();
- const [agent, setAgent] = useState<OnboardingTab>('Claude');
+ const [tab, setTab] = useState<OnboardingTab>('Claude');
+ const [otherAgent, setOtherAgent] = useState<McpClient>(otherAgents[0]);
+ // The client the cards describe: the tab itself, or the pick inside "Other agents"
+ const agent: AnyMcpClient | typeof apiTab =
+ tab === otherTab ? otherAgent : tab;
const [auth, setAuth] = useState<McpAuth>('oauth');
const [revealed, setRevealed] = useState(false);
const mcpBase = mcpUrl || backendUrl;
@@ -554,25 +567,45 @@ const OnboardingStep2: FC<{ onBack: () => void; onNext: () => void }> = ({
{available ? (
<div className="flex flex-col gap-[16px] w-full max-w-[1100px] mx-auto">
<div className="flex flex-wrap justify-center gap-[6px]">
- {[...onboardingAgents, apiTab].map((item) => (
+ {[...onboardingAgents, otherTab, apiTab].map((item) => (
<button
key={item}
type="button"
className={clsx(
'cursor-pointer px-[14px] h-[36px] text-[13px] font-[500] rounded-[8px] transition-colors flex items-center gap-[8px]',
- agent === item
+ tab === item
? 'bg-[#612BD3] text-white'
: item === apiTab
? 'bg-btnSimple text-[#a78bfa] hover:bg-boxHover hover:text-[#c4b5fd]'
: 'bg-btnSimple text-customColor18 hover:bg-boxHover hover:text-textColor'
)}
- onClick={() => setAgent(item)}
+ onClick={() => setTab(item)}
>
<McpClientIcon client={item} />
{item}
</button>
))}
</div>
+ {tab === otherTab && (
+ <div className="flex flex-wrap justify-center gap-[6px]">
+ {otherAgents.map((item) => (
+ <button
+ key={item}
+ type="button"
+ className={clsx(
+ 'cursor-pointer px-[12px] h-[32px] text-[12px] font-[500] rounded-[8px] transition-colors flex items-center gap-[6px]',
+ otherAgent === item
+ ? 'bg-[#612BD3] text-white'
+ : 'bg-btnSimple text-customColor18 hover:bg-boxHover hover:text-textColor'
+ )}
+ onClick={() => setOtherAgent(item)}
+ >
+ <McpClientIcon client={item} size={14} />
+ {item}
+ </button>
+ ))}
+ </div>
+ )}
{agent === apiTab ? (
apiSection
diff --git a/apps/frontend/src/components/public-api/mcp.client.icons.tsx b/apps/frontend/src/components/public-api/mcp.client.icons.tsx
index 42daa3278..412cfa0c0 100644
--- a/apps/frontend/src/components/public-api/mcp.client.icons.tsx
+++ b/apps/frontend/src/components/public-api/mcp.client.icons.tsx
@@ -423,6 +423,94 @@ const icons: Record<string, FC<{ size: number }>> = {
<line x1="12" y1="14.5" x2="5" y2="21.5" />
</svg>
),
+ // Raster mark, served from /public like the other third-party icons
+ NanoClaw: ({ size }) => (
+ <img
+ src="/icons/third-party/nanoclaw.png"
+ width={size}
+ height={size}
+ alt="NanoClaw"
+ />
+ ),
+ Hermes: ({ size }) => (
+ <svg
+ width={size}
+ height={size}
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="2"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ >
+ <line x1="12" y1="3" x2="12" y2="21" />
+ <path d="M8 7c0-2 8-2 8 0s-8 2-8 4 8 2 8 4-8 2-8 4" />
+ </svg>
+ ),
+ OpenClaw: ({ size }) => (
+ <svg
+ width={size}
+ height={size}
+ viewBox="0 0 120 120"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <defs>
+ <linearGradient
+ id="mcp-openclaw-gradient"
+ x1="0%"
+ y1="0%"
+ x2="100%"
+ y2="100%"
+ >
+ <stop offset="0%" stopColor="#ff4d4d" />
+ <stop offset="100%" stopColor="#991b1b" />
+ </linearGradient>
+ </defs>
+ <path
+ d="M60 10 C30 10 15 35 15 55 C15 75 30 95 45 100 L45 110 L55 110 L55 100 C55 100 60 102 65 100 L65 110 L75 110 L75 100 C90 95 105 75 105 55 C105 35 90 10 60 10Z"
+ fill="url(#mcp-openclaw-gradient)"
+ />
+ <path
+ d="M20 45 C5 40 0 50 5 60 C10 70 20 65 25 55 C28 48 25 45 20 45Z"
+ fill="url(#mcp-openclaw-gradient)"
+ />
+ <path
+ d="M100 45 C115 40 120 50 115 60 C110 70 100 65 95 55 C92 48 95 45 100 45Z"
+ fill="url(#mcp-openclaw-gradient)"
+ />
+ <path
+ d="M45 15 Q35 5 30 8"
+ stroke="#ff4d4d"
+ strokeWidth="3"
+ strokeLinecap="round"
+ />
+ <path
+ d="M75 15 Q85 5 90 8"
+ stroke="#ff4d4d"
+ strokeWidth="3"
+ strokeLinecap="round"
+ />
+ <circle cx="45" cy="35" r="6" fill="#050810" />
+ <circle cx="75" cy="35" r="6" fill="#050810" />
+ <circle cx="46" cy="34" r="2.5" fill="#00e5cc" />
+ <circle cx="76" cy="34" r="2.5" fill="#00e5cc" />
+ </svg>
+ ),
+ // Not a client: the onboarding "Other agents" tab
+ 'Other agents': ({ size }) => (
+ <svg width={size} height={size} viewBox="0 0 24 24" fill="currentColor">
+ <circle cx="5" cy="5" r="2" />
+ <circle cx="12" cy="5" r="2" />
+ <circle cx="19" cy="5" r="2" />
+ <circle cx="5" cy="12" r="2" />
+ <circle cx="12" cy="12" r="2" />
+ <circle cx="19" cy="12" r="2" />
+ <circle cx="5" cy="19" r="2" />
+ <circle cx="12" cy="19" r="2" />
+ <circle cx="19" cy="19" r="2" />
+ </svg>
+ ),
// Not a client: the onboarding "API" tab
API: ({ size }) => (
<svg
diff --git a/apps/frontend/src/components/public-api/public.component.tsx b/apps/frontend/src/components/public-api/public.component.tsx
index bfc90a866..24afb92bc 100644
--- a/apps/frontend/src/components/public-api/public.component.tsx
+++ b/apps/frontend/src/components/public-api/public.component.tsx
@@ -29,12 +29,15 @@ export const chatOnlyMcpClients = {
} as const;
export const mcpClients = [
+ 'OpenClaw',
+ 'Hermes',
+ 'NanoClaw',
'Claude Code',
'Cursor',
+ 'Codex',
'VS Code / Copilot',
'Windsurf',
'Amp',
- 'Codex',
'Gemini CLI',
'Warp',
] as const;
@@ -130,6 +133,21 @@ export const getMcpConfig = (
config: json({ postiz: { url: oauthUrl } }),
hint: 'Settings > MCP Servers > + Add, then paste this config.',
};
+ case 'Hermes':
+ return {
+ config: `# ~/.hermes/config.yaml\n\nmcp_servers:\n postiz:\n url: "${oauthUrl}"\n auth: oauth`,
+ hint: 'Add to ~/.hermes/config.yaml, then run /reload-mcp in the chat.',
+ };
+ case 'OpenClaw':
+ return {
+ config: `openclaw mcp add postiz --url ${oauthUrl} --transport streamable-http --auth oauth && openclaw mcp login postiz`,
+ hint: 'Run this command in your terminal.',
+ };
+ case 'NanoClaw':
+ return {
+ config: `ncl groups config add-mcp-server --id <group-id> --name postiz --url ${oauthUrl}`,
+ hint: 'Run this in your terminal, replace <group-id> with the agent group that should get Postiz.',
+ };
}
}
@@ -203,6 +221,32 @@ export const getMcpConfig = (
}),
hint: 'Settings > MCP Servers > + Add, then paste this config.',
};
+ case 'Hermes':
+ return {
+ config: `# ~/.hermes/config.yaml\n\nmcp_servers:\n postiz:\n url: "${urlBase}"\n headers:\n Authorization: "${bearer}"`,
+ hint: 'Add to ~/.hermes/config.yaml, then run /reload-mcp in the chat.',
+ };
+ case 'OpenClaw':
+ return {
+ config: json({
+ mcp: {
+ servers: {
+ postiz: {
+ url: urlBase,
+ transport: 'streamable-http',
+ headers: { Authorization: bearer },
+ },
+ },
+ },
+ }),
+ hint: 'Add to ~/.openclaw/openclaw.json',
+ };
+ case 'NanoClaw':
+ // No headers flag, the key travels inside the URL like remote clients
+ return {
+ config: `ncl groups config add-mcp-server --id <group-id> --name postiz --url ${mcpBase}/mcp/${apiKey}`,
+ hint: 'Run this in your terminal, replace <group-id> with the agent group that should get Postiz.',
+ };
}
};
diff --git a/libraries/react-shared-libraries/src/translation/locales/en/translation.json b/libraries/react-shared-libraries/src/translation/locales/en/translation.json
index 912c3af22..2d9252f52 100644
--- a/libraries/react-shared-libraries/src/translation/locales/en/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/en/translation.json
@@ -704,6 +704,7 @@
"oauth_sign_in_hint": "Your agent will open a browser window to sign in to Postiz.",
"add_to_cursor": "Add to Cursor",
"cli": "CLI",
+ "other_agents": "Other agents",
"documentation": "Documentation",
"read_the_api_docs": "Read the API docs",
"api_key_onboarding_description": "Send it as the Authorization header on every request",