Docs

Connect Your Agent

Sliprail MCP is a remote MCP server that lets your AI agent publish Sliprail packages to your account. Its address is:

https://sliprail.com/_api/sliprail/mcp

1. Create an Access Token

Open Create Access Token in your Fengcen account:

  • Access: choose Sliprail publishing. Such a token can only use Sliprail MCP, so it cannot touch the rest of your account even if it leaks.
  • Expiration: choose up to one year. 90 days is a good default.

The token is shown only once. Keep it in an environment variable, such as SLIPRAIL_TOKEN, rather than in files you share, and delete it from Access Tokens when you no longer need it.

2. Add the Server to Your Agent

Codex

Add the server to ~/.codex/config.toml:

[mcp_servers.sliprail]
url = "https://sliprail.com/_api/sliprail/mcp"
bearer_token_env_var = "SLIPRAIL_TOKEN"
tool_timeout_sec = 180

Set SLIPRAIL_TOKEN in the environment Codex starts from, start a new session and run /mcp to check that the sliprail server is connected.

Claude Code

claude mcp add --transport http sliprail https://sliprail.com/_api/sliprail/mcp --header "Authorization: Bearer $SLIPRAIL_TOKEN"

Other MCP Clients

Connect with the Streamable HTTP transport to the address above and send the token in the Authorization: Bearer <token> header.

3. Ask for Something

Try prompts like these:

  • "Build a Sliprail app for my reading list and publish it."
  • "Create a Sliprail extension that counts the words of the copied text."
  • "Make a Sliprail theme with a warm paper look."

The agent needs network access to upload the package when it publishes. Agents that run commands in a sandbox, such as Codex, ask you to allow network access the first time they publish.

Installing the skills is optional: agents connected to Sliprail MCP can read them directly from the server.

What the Agent Can Do

Once connected to Sliprail MCP, the agent can:

  • Read the skills for apps, extensions and themes
  • List the apps, extensions and themes you have published
  • Download a published package to keep changing it on any computer
  • Publish a new or changed package to your account