Alynki plugin
From your people to your customers, faster and with higher quality. Alynki is the business context layer your people and their AI agents work from. AI doesn't replace your people, it empowers them.
Alynki requires an Alynki account. Request access at alynki.com/contact. Setup and examples: alynki.com/docs.
To start in Claude Code, run /plugin marketplace add alynki/plugin and then /plugin install alynki@alynki-marketplace, choose where to install it, then type /mcp, pick Alynki and choose Authenticate to sign in with your own identity (Install). The connection is bundled: there is no address to enter. Each client's section below links that vendor's own documentation, and alynki.com/docs gives the same steps per client.
This is the plugin for Alynki in Claude Code, Codex CLI, Antigravity CLI, GitHub Copilot CLI, Cursor, Grok Build and VS Code. It loads your organisation's context into every session: the policy and product context for the scope your credential holds and, where that scope sits in a workflow, the steps, checks and runs that define how the work is done. Alynki delivers to a principal only what that principal is granted; it does not constrain what an agent obtains from other sources.
One plugin ships from this marketplace: alynki.
Repository layout
.claude-plugin/marketplace.json: the marketplace
alynki-marketplace, listing the plugin.
alynki-plugin/ (alynki): an HTTP MCP connection, the bin/headers.sh header helper, the
session hooks and the setup skill.
.cursor-plugin/marketplace.json: the same listing in Cursor's format;
alynki-plugin/.cursor-plugin/plugin.json and alynki-plugin/cursor-mcp.json carry Cursor's setup.
.agents/plugins/marketplace.json and
.codex-plugin/plugin.json: the same listing and manifest for Codex, which installs
from the repository root and reads its files from alynki-plugin/.
copilot/: the sources and the build of the Microsoft 365 Copilot agent package, a zip (see
Microsoft 365 Copilot). It is not part of alynki-plugin/.
Credential paths
There are two paths: sign in with your own identity, or hold a pinned token. A pinned token always
wins when both are present.
---
title: Credential paths
---
graph TB
cc["Claude Code: MCP client"]
srv["alynki-mcp: https://mcp.alynki.com/mcp"]
auth["Alynki authorization server: https://auth.alynki.com"]
subgraph std["alynki: HTTP MCP connection"]
helper["bin/headers.sh: headersHelper"]
tok{"Pinned token in settings.json pluginConfigs?"}
hdr["Emits Authorization: Bearer token, and X-Alynki-Model when the model setting is present"]
none["Emits an empty object, or only X-Alynki-Model when the model setting is present"]
oauth["Claude Code OAuth 2.1 discovery and browser sign-in"]
end
cc -->|"exec at connect, reconnect, and after a 401 or 403"| helper
helper -->|"reads the token from settings.json"| tok
tok -->|"yes"| hdr
tok -->|"no"| none
hdr -->|"HTTPS MCP, Bearer token"| srv
none -->|"HTTPS MCP, no Authorization"| srv
srv -->|"HTTPS 401 when no valid token"| oauth
oauth -->|"HTTPS OAuth 2.1 and PKCE in the browser"| auth
oauth -->|"later HTTPS MCP calls carry the OAuth token"| srv
Key: rectangle, a process or message; diamond, a decision; the boxed group is the plugin.
A static headers.Authorization key in .mcp.json would disable Claude Code's OAuth fallback
unconditionally, even when its value is empty, so the plugin decides at connection time
with a headersHelper script. The script reads the token with jq; without jq on PATH it emits
no header and the session signs in instead. The same script sends the session's model as a second
header (see The model header). An agent working a run unattended has one credential,
the one its controller issues it, and never sees a sign-in prompt.
Install
Claude Code (Anthropic's Install and manage plugins):
/plugin marketplace add alynki/plugin
/plugin install alynki@alynki-marketplace
/plugin marketplace add adds this repository as a marketplace.
/plugin install opens the plugin's details in the /plugin panel, where you choose the scope: for you (user), for
everyone on this repository (project) or for you in this repository only (local).
- Type
/mcp, pick Alynki and choose Authenticate, then sign in with your Alynki account.
The MCP connection is bundled, with no claude mcp add step.
Codex CLI
OpenAI's Developer commands:
codex plugin marketplace add alynki/plugin
codex plugin add alynki@alynki-marketplace
Then sign in when Codex first connects to https://mcp.alynki.com/mcp. Codex installs from the repository root, which its .agents/plugins/marketplace.json names: the root .codex-plugin/plugin.json points into alynki-plugin/ for mcp.json, the skills and its own hook file, alynki-plugin/hooks/codex-hooks.json (the codex shape of session-start.sh, which prints additionalContext only). It cannot install alynki-plugin/ itself: Codex loads no hooks for a folder whose root plugin.json is an Agent Plugins manifest. Codex runs a plugin's hooks only once you have reviewed and trusted them with /hooks in Codex (it skips them until then), so the session-start instruction starts after that one-time trust, and does not run from the public plugin directory. Without the hook or the rule, ask your agent to call load_context first, or rely on the server's own instructions.
Antigravity CLI
Google's Plugins & skills:
agy plugin install https://github.com/alynki/plugin
Antigravity reads alynki-plugin/.antigravity-plugin/plugin.json, mcp_config.json and hooks.json. If your version expects the plugin at the repository root, install from a local clone's alynki-plugin/ folder instead: agy plugin install <path>/alynki-plugin. Sign in when Antigravity first connects. Run agy plugin validate ./alynki-plugin to check the folder; its warnings about .mcp.json, mcp.json and hooks/hooks.json are expected, since those files are for the other clients.
GitHub Copilot
VS Code (Agent plugins in VS Code): turn on the
chat.plugins.enabled setting, then run "Chat: Install Plugin from Source" from the Command Palette and enter the Git
repository URL, https://github.com/alynki/plugin. Sign in when Copilot first connects.
Copilot CLI (GitHub's Finding and installing plugins):
copilot plugin marketplace add alynki/plugin
copilot plugin install alynki@alynki-marketplace
Copilot reads the root plugin.json, an Agent Plugins v1.0.0 manifest, then mcp.json (the server's address) and com.github.copilot/hooks/hooks.json (the sessionStart and subagentStart hooks). The Copilot agent in VS Code 1.147 runs the sessionStart hook but discards its output, and runs no subagentStart, so the same wording is also a rule, com.github.copilot/rules/alynki-load-first.instructions.md, which VS Code adds to a chat's instructions. A subagent there does not receive the rule: the rule tells the chat to pass the instruction on, and VS Code does not always let the subagent find the tool. Sign in when the client first connects. Agent hooks in VS Code and Copilot CLI are in preview, and the instruction only runs where your organisation allows plugins and hooks: the VS Code policies ChatPluginsEnabled, ChatAllowManagedHooksOnly and ChatStrictMarketplaces can block either. Without the hook, ask your agent to call load_context first.
Cursor
Cursor's Model Context Protocol (MCP). Alynki is not yet listed in the Cursor Marketplace, so add this to ~/.cursor/mcp.json (or a project's .cursor/mcp.json), then sign in with your Alynki account when Cursor first connects to https://mcp.alynki.com/mcp:
{
"mcpServers": {
"alynki": {
"url": "https://mcp.alynki.com/mcp",
"auth": {
"CLIENT_ID": "alynki-cursor"
}
}
}
}
alynki-cursor is Alynki's public client for Cursor: it holds no secret, so there is nothing to copy or keep, and every person still signs in as themselves in the browser (OAuth with PKCE). The plugin folder carries the same block in alynki-plugin/cursor-mcp.json, named by alynki-plugin/.cursor-plugin/plugin.json, with a root .cursor-plugin/marketplace.json. A Cursor that installs the plugin needs no hand editing: it reads auth from that file (tested on 25 November 2026 from a local plugin folder). The same manifest names alynki-plugin/hooks/cursor-hooks.json, whose sessionStart and subagentStart hooks tell a chat and its subagents to call load_context first; without the plugin, the connector's server instructions say the same. If Cursor also imports Claude Code's plugins (Cursor Settings → Agents) and finds a copy of this one older than 0.31.0, that copy has no client ID, takes the server's place and sign-in fails with "does not support dynamic client registration": update the plugin in Claude Code, or turn the import off. More at https://alynki.com/docs/.
Grok (Grok Build and grok.com)
grok.com (xAI's connectors page): Alynki is not yet in Grok's connector catalog. Go to
grok.com/connectors, choose to add a custom connector, enter https://mcp.alynki.com/mcp, and sign in with your Alynki account.
Grok Build (xAI's Skills, Plugins & Marketplaces):
grok plugin install alynki/plugin --trust
Install the repository root, not #alynki-plugin: Grok then reads .grok-plugin/plugin.json, which adds the connection to https://mcp.alynki.com/mcp, the setup skill and one hook. To sign in, open /mcps, expand the Alynki plugin, select alynki and press i; your browser opens Alynki's sign-in (Alynki's public loopback client, named in grok/mcp.json: PKCE, no secret; Grok does not use client-ID metadata documents, and without a client ID it asks for dynamic registration, which Alynki does not offer). Then run /alynki:setup and start a new session. If your grok.com account also has an Alynki connector, Grok Build loads that hosted copy too, and setup's rules do not cover it.
grok.com reads the connector's server instructions, which already name load_context first.
ChatGPT
OpenAI's Connected apps in ChatGPT: go to
Settings → Plugins, search for Alynki, open it and choose Install, then choose Connect and sign in with your Alynki
account. Adding it by its address instead, as a custom MCP server at https://mcp.alynki.com/mcp, is developer mode,
which depends on your ChatGPT plan (OpenAI's developer mode guide).
ChatGPT has no session-start hook; the connector's server instructions tell a new chat to call load_context first.
Every client
A session starts with load_context: the hook (Claude Code, Codex, Cursor, Antigravity and Copilot CLI), or in VS Code's Copilot agent the plugin's rule, tells the session, and in Claude Code every subagent, to call Alynki's load_context first, and the server's own instructions say the same everywhere else. The hooks are one script, alynki-plugin/hooks/session-start.sh, printing one wording file, alynki-plugin/hooks/load-first.md, in each client's output shape. Grok Build has no hook that can inject text: before setup the server's instructions tell it, and /alynki:setup writes the same wording to ~/.grok/rules/.
To sign in with your own identity, install and use it; run /mcp to sign in when prompted.
If you hold a pinned token, one your operator issued, put it in the plugin's Alynki API token
field (/plugin, or --config token=… on install). The token is stored in settings.json, where
headers.sh reads it. Unattended automation never signs in, since sign-in needs a human in a
browser.
⚠️ The Alynki app shows no agent token (no "Show token"; an agent has none to reveal): an agent
works only through the credential a controller is issued, so there is nothing to copy from the app
into this field. A token revealed before V2.5.2 was retired; if one is still in the field, the
server answers 401 token not recognised. Clear the field and sign in with /mcp.
The model header
An optional setting, model, sits beside the token in the plugin's configuration. When it is
set (for example claude-sonnet-5-5), bin/headers.sh sends it with every call as the second
header, X-Alynki-Model, next to Authorization; when it is absent or is not a plain model id
(letters, digits, ., _, :, -, at most 100 characters, no leading -), no model header is
sent. The model is never printed: the script's only output is the header JSON Claude Code
consumes. A controller that launches a session on a chosen model writes the setting into that
session's private settings; a person's own session leaves it blank and sends none. The header is a
consistency control, not a boundary: a call without it is not checked by the server.
Environment variables
Every variable the plugin reads, and where:
CLAUDE_CONFIG_DIR: where Claude Code keeps settings.json. The plugin's
bin/headers.sh reads the pinned token and the model setting from
$CLAUDE_CONFIG_DIR/settings.json, and from ~/.claude/settings.json when it is unset.
CLAUDE_PLUGIN_ROOT: set by Claude Code to the installed plugin's directory; the plugin's
.mcp.json uses it to locate bin/headers.sh.
What it installs
---
title: What a session is offered, by credential class
---
graph TB
cls{"Credential class"}
p8["Pinned token, an agent: 8 tools, no prompts, no node argument"]
i44["Interactive token, a person: 44 tools and 44 prompts, optional node"]
cls -->|"tools/list over MCP: pinned token"| p8
cls -->|"tools/list over MCP: interactive token"| i44
Key: diamond, a decision made by the server; rectangle, the surface a session is offered.