Connect a compatible assistant
The general pattern for connecting any MCP-and-Skill-capable assistant to Datasentinel, sign-in included, with Deep Agents Code and Hermes Agent as worked examples.
The other pages in this section configure specific assistants (Claude Code, OpenAI Codex, Google Antigravity CLI, and so on). This page is the general pattern: any assistant that can speak MCP and accept instructions can use Datasentinel, even if it does not have a page of its own. It then shows two worked examples: LangChain's Deep Agents Code and Nous Research's Hermes Agent.
What makes an assistant compatible
An assistant can use Datasentinel when it meets three requirements:
It has an MCP client that can connect to a remote server over streamable-HTTP (HTTPS).
Its MCP client can sign in with OAuth 2.1, registering itself with the server (dynamic client registration) and opening the Datasentinel login page in a browser. Every major MCP client does; a client without OAuth can still connect with a static authorization header carrying a user token, which suits scripts.
It accepts instructions that you can use to load the Datasentinel Skill, either as a system prompt or through a native Skills loader.
When all three hold, the steps are always the same. Point the MCP client at https://<public-host>/mcp (see MCP Server Setup), sign in once with your platform login and password when the client asks, then give the assistant the Datasentinel Skill's instructions. Nothing else goes in the configuration: no token, no header. The details of the sign-in, including the no-browser and script cases, are in How authentication works.
The Datasentinel Skill
The Skill ships as datasentinel-skill.zip, whose entrypoint is SKILL.md; unzipping the archive produces a single datasentinel/ folder. Download it from https://app.datasentinel.io/ds-api/download/datasentinel-skill.zip. Turnkey assistants discover a Skills folder automatically (see the other pages in this section). For an assistant you build yourself, you have two options:
Load the Skill folder with the framework's native Skills loader, if it has one. Both examples below do.
Otherwise, read
SKILL.mdand pass its contents as the agent's system prompt. This universal path works for any assistant that accepts a system prompt.
How the Skill loads
With a native Skills loader, the Skill loads on demand: the assistant reads its name and description up front, and pulls in the full instructions automatically when the request relates to Datasentinel (PostgreSQL performance, instances, sessions, the platform itself). One Skill serves every platform, because it discovers all the datasentinel-* MCP servers you registered, so adding a second platform needs no Skill change.
If the assistant answers generically instead (no Datasentinel tool calls in the response), load the Skill manually: ask it explicitly, for example Use the datasentinel skill to check the platform status, or use the framework's own invocation mechanism (many expose each Skill as a /datasentinel slash command). With the system-prompt path there is nothing to trigger, since the instructions are always in context.
Example: Deep Agents Code
Deep Agents Code (dcode, formerly published as the deepagents CLI) is LangChain's terminal coding agent built on the Deep Agents SDK. It connects to Datasentinel without writing any code. The steps mirror the Claude Code page: add the server, sign in once, install the Skill, check.
Install Deep Agents Code
Install it with the official installer, then run /auth once to add your model provider's credentials:
Add the Datasentinel MCP server
Add your Datasentinel MCP server to ~/.deepagents/.mcp.json, which applies to all your projects (a project can carry its own in .deepagents/.mcp.json). Use "type": "http" for a remote streamable-HTTP endpoint and "auth": "oauth" so the client signs in:
Set type to sse only for a Server-Sent-Events endpoint; Datasentinel uses streamable HTTP.
Deep Agents Code trusts nothing it finds in a project file until you approve it, and the login command refuses an unapproved server (Skipping untrusted project MCP server entries). So start dcode once in the directory you work from; it lists the new server and asks:
Choose Allow for this project and quit.
Sign in to the platform
With a browser
Sign in once from the terminal:
Deep Agents Code prints the authorization link and opens the Datasentinel login page in your browser. Sign in with your platform login and password, the same ones as the Datasentinel web interface. The page names the assistant that is asking; after the sign-in the browser hands the session back to Deep Agents Code, which confirms with Logged in to MCP server 'datasentinel-production'.
You sign in once. The session is stored under ~/.deepagents/.state/mcp-tokens/ and renewed automatically. It asks again only after ten days without using the server, or when an administrator ends the session. Your password goes to the login page only; the agent never sees it and never asks for a token. Inside a session, /mcp shows each server's status.
Without a browser
On a server without a browser (an SSH session, a build machine), the same command works with no tunnel, because the login accepts the redirect address pasted back:
Open the link on your laptop and sign in. The browser then lands on a http://localhost:... address it cannot reach; copy that address from the address bar and paste it at the Callback URL: prompt. The command confirms with Logged in to MCP server 'datasentinel-production'. Verified with the current release. The general procedure is in How authentication works.
For a script or a scheduled run
Where nobody can sign in, register the server with a user token as an authorization header instead of "auth": "oauth". The token is the platform's 24-hour user token. Header values accept ${VAR} references, so the token stays out of the file:
A server registered this way never opens the login page; when the token expires, the calls fail until a fresh one is set. See Refresh the user token automatically to keep it current.
Install the Datasentinel Skill
Install the Skill in one of the directories Deep Agents Code scans at startup, ~/.agents/skills/ for personal use or .agents/skills/ in a project, and check it is listed:
Check your configuration
Start dcode and run /mcp: the server should show as connected. Then ask it about your platform. The Skill is also available as the /skill:datasentinel command, for example /skill:datasentinel status.
Deep Agents Code asks before gated actions such as file writes and shell commands (Manual mode). If a Datasentinel tool call is held for approval, press Shift+Tab to switch to Auto mode, or start with dcode -y. See its approval modes.
Example: Hermes Agent
Hermes Agent is Nous Research's open-source agent framework, driven by the Hermes function-calling models. It has first-class MCP support, OAuth included, and connects to both local and remote servers.
Install Hermes Agent
The installer brings its own Python and Node.js, but it needs git, curl, xz and a C++ compiler on the host, the compiler to build native modules; without the compiler it stops with Install a C++ compiler (g++/gcc-c++) via your package manager. Install them first, then run the installer, the one-time setup, and launch it:
Add the Datasentinel MCP server
Add your Datasentinel MCP server to ~/.hermes/config.yaml with auth: oauth, so Hermes handles the discovery, registration, PKCE and token refresh itself:
Sign in to the platform
With a browser
Sign in once from the terminal:
Hermes prints the authorization link, opens the Datasentinel login page in your browser, and waits for the browser to come back on a local port. Sign in with your platform login and password, the same ones as the Datasentinel web interface. The page names the assistant that is asking; after the sign-in the browser hands the session back to Hermes.
You sign in once. The session is stored in ~/.hermes/mcp-tokens/ and reused until it expires; Hermes renews it by itself and asks again only after ten days without using the server, or when an administrator ends the session. Your password goes to the login page only; the agent never sees it and never asks for a token.
Without a browser
On a server without a browser (an SSH session, a build machine), the same command works with no tunnel. Hermes detects the headless environment and accepts the redirect address pasted back:
Open the link on your laptop and sign in. The browser then lands on a http://127.0.0.1:... address it cannot reach; copy that address from the address bar, or just its ?code=...&state=... part, paste it at the prompt and press Enter. Verified with the current release. Hermes' device-code alternative (--flow device) does not apply, as the Datasentinel server offers no device endpoint. The general procedure is in How authentication works.
For a script or a scheduled run
Where nobody can sign in, register the server with a user token as an authorization header instead of auth: oauth. The token is the platform's 24-hour user token. Hermes resolves ${VAR} references from ~/.hermes/.env when it connects, so the token stays out of the configuration file:
A server registered this way never opens the login page; when the token expires, the calls fail until a fresh one is set. See Refresh the user token automatically to keep it current.
Install the Datasentinel Skill
Skills live in ~/.hermes/skills/, each a folder containing a SKILL.md (see the Hermes Agent Skills documentation). Unzip the archive there so the agent discovers it automatically:
Run hermes skills list to confirm datasentinel is installed. Once it is, the Skill is available as a /datasentinel slash command and through natural conversation.
Verify
However you connect, the check is the same. Ask the assistant, in plain language, to run the Datasentinel Skill's built-in checks:
datasentinel help
Confirms the Skill's instructions are loaded.
datasentinel platforms
Lists every datasentinel-* MCP server the Skill discovered.
datasentinel status
Checks the platform status, confirming the MCP server answers.
datasentinel whoami
Shows who you are signed in as, your privilege and the session expiry.
These four are the setup checks. The full command list, with what each one needs, is in the Skill commands reference.
Last updated