Direct Streamable HTTP
Codex
Add this table to your user configuration, then restart Codex or reload its MCP servers.
[mcp_servers.litsquare_ink]
url = "http://127.0.0.1:51234/mcp"
http_headers = { Authorization = "Bearer YOUR_INK_TOKEN" }
Local MCP bridge
Ink exposes the document you are editing through a local, authenticated MCP server. Start it manually, copy the connection details from Ink, then use the example for your client below.
Before you connect
In LitSquare Ink MD, choose MCP → Start MCP Server.
The connection window appears after every successful start. Keep the token private.
Replace YOUR_INK_TOKEN below, then restart or reload the client’s MCP servers.
litsquare-inkhttp://127.0.0.1:51234/mcpAuthorization: Bearer YOUR_INK_TOKENClient examples
These examples all connect to the same Ink server. You can rotate or revoke its credential at any time in Ink’s MCP Settings.
Direct Streamable HTTP
Add this table to your user configuration, then restart Codex or reload its MCP servers.
[mcp_servers.litsquare_ink]
url = "http://127.0.0.1:51234/mcp"
http_headers = { Authorization = "Bearer YOUR_INK_TOKEN" }
Signed stdio adapter
Merge this entry into the desktop configuration, fully quit the client, then reopen it. The adapter is embedded in the App Store installation and forwards only to Ink’s loopback endpoint.
{
"mcpServers": {
"litsquare-ink": {
"command": "/Applications/LitSquare Ink MD.app/Contents/Helpers/ink-mcp-adapter",
"args": [
"--endpoint",
"http://127.0.0.1:51234/mcp"
],
"env": {
"INK_MCP_TOKEN": "YOUR_INK_TOKEN"
}
}
}
}
Config file:
~/Library/Application Support/Claude/claude_desktop_config.json
Direct Streamable HTTP
Add this server to the global MCP configuration, or use .cursor/mcp.json inside one
project.
{
"mcpServers": {
"litsquare-ink": {
"type": "http",
"url": "http://127.0.0.1:51234/mcp",
"headers": {
"Authorization": "Bearer YOUR_INK_TOKEN"
}
}
}
}
Generic connection
Any local client that supports Streamable HTTP and custom request headers can use the values below.
{
"name": "litsquare-ink",
"transport": "streamable-http",
"url": "http://127.0.0.1:51234/mcp",
"headers": {
"Authorization": "Bearer YOUR_INK_TOKEN"
}
}
First connection