Splicedock
Provides a CLI passthrough integration for Git, allowing allowlisted Git commands to be executed through a git__run tool with policy checks that can allow, deny, or require approval; for example, it can allow git version and deny git status.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
How it works
Each Model Context Protocol (MCP) client connects to /mcp with a bearer
token. The token selects a profile that determines which tools the client can
discover and call. You manage profiles, credentials, and approvals at the gateway.
Watch an agent call a tool
Ask Codex for the gateway’s Node.js version. It calls demo__version through
Splicedock and answers from the result. This replay comes from a local run.
Read the final frame · Connect your own MCP client
Related MCP server: mcpstead
Quickstart
Install Git, Node.js 22, and npm. Use a local machine with ports 8788 and
8789 available. The demo exposes demo__version, a read-only tool that
prints the gateway’s Node.js version.
git clone https://github.com/kamilrybacki/splice-dock.git splicedock
cd splicedock
npm ci
npm run buildRun the next block from the checkout. It uses a temporary database and stops the gateway when the example finishes. The demo configuration disables strong consent for this local run.
(
demo_dir="$(mktemp -d)" || exit 1
export SPLICEDOCK_CONFIG="$PWD/site/examples/quickstart.yaml"
export SPLICEDOCK_DB_PATH="$demo_dir/splicedock.db"
export SPLICEDOCK_ADMIN_TOKEN="$(node -e 'console.log(require("node:crypto").randomBytes(32).toString("hex"))')"
node dist/main.js > "$demo_dir/gateway.log" 2>&1 &
gateway_pid=$!
trap 'kill "$gateway_pid" 2>/dev/null; wait "$gateway_pid" 2>/dev/null; rm -f "$demo_dir"/splicedock.db* "$demo_dir/gateway.log"; rmdir "$demo_dir"' EXIT
node site/examples/first-call.mjs || { cat "$demo_dir/gateway.log" >&2; exit 1; }
)The example creates a short-lived profile token, lists tools, calls
demo__version, and revokes the token. The result should match node --version.
To leave the demo running and connect your own client, follow the Quickstart guide and issue a profile token.
Connect your tools
Start with the annotated configuration. Add the tool to the gateway configuration, then add its exposed MCP name to the client’s profile manifest.
Driver | Use it to | Example |
| Forward calls to an existing MCP server | |
| Wrap one HTTP API operation as a tool | |
| Run a fixed executable with a declared argument template | |
| Run an allowlisted executable with a caller-supplied argument array |
CLI passthrough checks its policy before running the command. A rule can allow the call, deny it, or require an approval.
For backends that need credentials, configure a gateway credential binding separately from the client’s profile token.
Run a Code Mode workflow
The Quickstart profile enables Code Mode. In an MCP client connected to that
profile, send this JavaScript function body as the code argument to
code_mode__execute.
const response = await tools.call("demo__version", {});
return { ok: !response.isError, output: response.content };Send this request through an initialized MCP client using the Quickstart profile token.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "code_mode__execute",
"arguments": {
"code": "const response = await tools.call(\"demo__version\", {});\nreturn { ok: !response.isError, output: response.content };"
}
}
}The workflow returns the tool result and a call summary. Each call uses the same profile and policies as a direct MCP call. The JavaScript runs in QuickJS with tool calls mediated by the gateway. See the Code Mode guide for parallel calls, resource limits, and optional preflight review.
See an agent choose Code Mode
Ask for the gateway’s OS, Node.js version, and Git version over a slow link. Codex can call each tool directly. In this local run it chose Code Mode, listed the available tools, and then ran the three reads in parallel.
Operate the gateway
Access. Require profile tokens with
server.require_profile_token: true. Create, rotate, or revoke a token.Admin UI. Manage profile YAML, review approvals, and inspect the audit log. The admin listener defaults to port
8789and exposes Prometheus metrics at/metrics. Admin UI and observability.Storage. Run a single replica with SQLite or use shared PostgreSQL for multiple replicas. Storage configuration and migration.
Approvals. Review learned grants and phone approvals before enabling them. See the hardening runbooks for deployment details.
Develop locally
Task | Command |
Run with file watching |
|
Compile TypeScript |
|
Start the compiled gateway |
|
Lint |
|
Run tests |
|
Run one test suite |
|
Build and check the docs |
|
Gateway code lives in src/, tests in tests/, and the
public user guide in site/. The
architecture decisions, token and metrics authentication,
and admin identity and CSRF notes document the design.
Check the CI runs for build and test results.
See CONTRIBUTING.md for how pull requests and releases work.
License
MIT. Report security problems privately, as described in SECURITY.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
One MCP endpoint for your company's tools, with per-person sign-in, policy and audit.
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA centralized gateway and router that integrates multiple MCP servers into a single endpoint with built-in policy enforcement and secret management. It features a Web GUI for managing tool access, audit logs, and multi-environment configurations across various sub-servers.-
- AlicenseNot gradedqualityDmaintenanceMCP Gateway that aggregates multiple upstream MCP servers into a single endpoint with persistent connections, tool registry, and authentication.75 npm2MIT
- AlicenseNot gradedqualityCmaintenanceA gateway that aggregates multiple MCP servers into a single endpoint, namespacing their tools and forwarding calls, so an agent connects to one MCP to access the entire stack.MIT
- AlicenseNot gradedqualityCmaintenanceA unified MCP gateway that aggregates multiple MCP servers and API plugins behind a single endpoint with authentication, rate limiting, audit logging, REST API bridge, and web dashboard.8MIT