Skip to content

Claude Code

Add NioConnect to Claude Code with one command and an API key, check it with /mcp, and ask Claude to draft a post.

On this page

Connect Claude Code to the NioConnect MCP server and it can list your channels, look up what a platform accepts, read your calendar and workflows, and save posts as drafts. It connects with an API key in the Authorization header.

Before you start

Claude Code connects with an API key, not a browser sign in, so the command needs its --header part.

A key acts with the permissions of the Member who made it. It has no scopes, is shown once, and can be revoked at any time.

Connect Claude Code

  1. Create an API key. In NioConnect open Settings, then Developers. Give the key a name and press Create key. It is shown once, so copy it then. Only an Owner or an Admin can create keys.

  2. Add NioConnect to Claude Code. Run this in your terminal from your project folder, with your key in place of <your key>. To use it in every project, add --scope user after --transport http.

    Claude Code command
    claude mcp add --transport http nioconnect https://mcp.nioconnect.com --header "Authorization: Bearer <your key>"
  3. Check that it connected. Start Claude Code and type /mcp. nioconnect should be listed as connected. From the shell, claude mcp list shows the same.

  4. Ask for a draft. Try this prompt. Claude Code calls list-channels, then create-post, and the post appears on your NioConnect calendar as a draft.

    Example prompt
    List my NioConnect channels, then draft a short launch post for one of them. Do not schedule it.

If something goes wrong

What you seeWhat to do
The client reports "Not signed in." or a 401The key is missing, mistyped or revoked. Check that the header reads Authorization: Bearer followed by the whole key, or create a new key under Settings, Developers.
A key that worked has stoppedA key works until it is revoked, and it acts as the Member who made it. If that Member was removed from the workspace, create a new key.
/mcp shows nioconnect as Failed to connect or Needs authenticationThe Authorization header is missing or was refused. NioConnect does not offer Claude Code a browser sign in, so remove the server and add it again with the whole command.
"MCP server nioconnect already exists"Run claude mcp remove nioconnect, then run the add command again.
create-post answers "This post was not created."Nothing was saved, and the rest of the answer says why: a platform limit, an unhealthy channel or a time in the past. Ask the assistant to call get-platform-rules and try again.
A tool answers "You do not have permission to do that."The assistant acts with the role of the person it connected as, and that role does not allow the action. Ask an Owner or an Admin.

Sources

These steps were checked against Claude Code's own documentation:

What the assistant can and cannot do is the same in every client: see the MCP tool reference.