Skip to main content
Glama
Solnk MCP

Solnk MCP

Official
by solnk-dev
README.md
# Solnk MCP

The official remote [Model Context Protocol](https://modelcontextprotocol.io) server for [Solnk](https://solnk.com), a social media scheduler. Connect Claude, Codex, Cursor, ChatGPT, or any MCP client, and your agent can **draft, schedule, and publish posts to 9 social platforms**: X, Instagram, TikTok, YouTube, Facebook, LinkedIn, Pinterest, Threads, and Bluesky.

The recommended workflow is draft-first: the agent prepares the post and media, you review it in Solnk, then it goes live. Direct publishing is available when you allow it.

Solnk is listed in the [Claude Connectors Directory](https://claude.ai/directory/solnk).

## Hosted endpoint

```
https://mcp.solnk.com/mcp
```

Remote MCP over Streamable HTTP. Two ways to authenticate:

- **OAuth 2.1 sign-in (PKCE, dynamic client registration)**: works on every Solnk plan, including Free. Free plan limits on accounts, monthly posts, and storage still apply, and connecting X requires a paid plan.
- **API key** as a Bearer token: available on paid plans. Create a scoped key at https://solnk.com/settings/api-keys.

## Connect a client

**Claude**: add Solnk from the [Connectors Directory](https://claude.ai/directory/solnk) and sign in.

**Codex**: add this to `~/.codex/config.toml`, then run `codex mcp login solnk`.

```toml
[mcp_servers.solnk]
url = "https://mcp.solnk.com/mcp"
auth = "oauth"
default_tools_approval_mode = "writes"
```

**ChatGPT web**: open developer mode, add `https://mcp.solnk.com/mcp`, and complete OAuth. Access depends on your ChatGPT account and workspace policy.

**Cursor / Claude Code / other clients** (API key through the `mcp-remote` bridge):

```json
{
  "mcpServers": {
    "solnk": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://mcp.solnk.com/mcp",
        "--header",
        "Authorization:${SOLNK_AUTH_HEADER}"
      ],
      "env": {
        "SOLNK_AUTH_HEADER": "Bearer sk_..."
      }
    }
  }
}
```

Clients with native remote MCP support can use the server URL with a Bearer key directly. Full setup guide: https://solnk.com/mcp

## Tools

Every tool declares a title and `readOnlyHint` / `destructiveHint` annotations.

| Tool | What it does |
| --- | --- |
| `solnk_list_accounts` | List connected social accounts and their capabilities. Call first to get `account_id`s. |
| `solnk_get_usage` | Plan limits and current usage; check `can_publish` before posting. |
| `solnk_publish` | Publish to one or more platforms in one request: `draft`, `scheduled`, or `immediate`. |
| `solnk_confirm_publish` | Release a reviewed draft now, or schedule it. |
| `solnk_update_publish` | Edit a draft or not-yet-sent scheduled post in place. |
| `solnk_update_draft` | Legacy alias for `solnk_update_publish`. |
| `solnk_reschedule_publish` | Move a scheduled post to a new time. |
| `solnk_unschedule_publish` | Stop a scheduled post and turn it back into an editable draft. |
| `solnk_cancel_publish` | Cancel a draft. |
| `solnk_request_delete_publish` | Preview deleting a Solnk publish record (does not delete posts on the platforms). |
| `solnk_delete_publish` | Delete the Solnk record after the user confirms the preview. |
| `solnk_get_publish_status` | Aggregate and per-destination delivery status. |
| `solnk_retry_publish` | Retry only the destinations that failed. |
| `solnk_list_publishes` | List recent publishes with filters. |
| `solnk_list_approvals` | List posts waiting for team approval. |
| `solnk_approve_publish` | Approve a pending post (team owner/admin). |
| `solnk_reject_publish` | Reject a pending post (team owner/admin). |
| `solnk_get_post_analytics` | Post metrics, per platform, with live post URLs. |
| `solnk_list_comments` | Read comments and replies on recent Instagram and Facebook posts. |
| `solnk_reply_comment` | Reply to an Instagram or Facebook comment after the user confirms the text. |
| `solnk_list_media` | List media already uploaded to the team. |
| `solnk_create_media_upload` | Start a presigned upload for a local image or video. |
| `solnk_confirm_media_upload` | Finalize a presigned upload. |
| `solnk_create_media_from_url` | Import an image or video from a public URL. |
| `solnk_list_teams` | List teams owned by the connected user. |
| `solnk_set_default_team` | Make the connected team the default. |
| `solnk_delete_team` | Delete an extra team, with explicit confirmation and content migration. |

Request and response shapes live at **[developers.solnk.com](https://developers.solnk.com)**.

## Self-hosting

The server is a single [Cloudflare Worker](https://workers.cloudflare.com/).

```bash
pnpm install

# Local dev — point at your own Solnk API base if needed
# (edit SOLNK_API_BASE in wrangler.toml, e.g. http://localhost:3002/api/v1)
pnpm dev

# Deploy to your own Cloudflare account
pnpm deploy
```

`wrangler.toml`:

- `SOLNK_API_BASE`: the Solnk public API the tools proxy to (defaults to `https://api.solnk.com/api/v1`).
- `routes`: bind your own custom domain.

### Discovery without signing in

MCP discovery (`initialize` / `tools/list`) is open, so clients, inspectors, and directories can read the tool list without credentials. Calling a tool requires OAuth sign-in or an API key. A `Dockerfile` is included so the Worker can be built and run locally (`wrangler dev`, no Cloudflare login) for introspection.

## Support

support@solnk.com

## License

[MIT](./LICENSE) © Solnk

TDQS

A3.8/5.0

Scored across 11 tools

Disambiguation5/5

Each tool has a distinct purpose: media upload methods are clearly separated by source (URL vs local file), publishing operations are split into create, confirm, and cancel, and analytics, status, usage, accounts, and lists all address different needs without overlap.

Naming Consistency5/5

All tools follow the 'solnk_' prefix and consistent snake_case with verb_noun patterns (e.g., confirm_publish, get_usage, list_accounts). The two media creation tools are clearly distinguished by suffix (_from_url vs _upload).

Tool Count5/5

11 tools is appropriate for a publishing platform, covering media upload, publishing lifecycle, analytics, accounts, and usage. Each tool serves a clear role without being excessive or insufficient.

Completeness4/5

The tool set covers the main workflow: list accounts, check usage, upload media, create/confirm/cancel publish, get status and analytics. Minor gap: no direct edit/update for a draft publish, though cancel and re-create may suffice.