WarToolsAI MCP Server
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.
WarToolsAI
Modular, Default-Off tool runtime, Model Context Protocol (MCP) server, and multi-language SDK suite for AI agents.
WarToolsAI eliminates tool-schema bloat and unintended execution surfaces by enforcing a Default-Off architecture: zero tools are active or serialized into an agent's context window until explicitly enabled via fine-grained selectors (time.now, kv.*, or curated presets).
Core Architecture (wartools-dod-v1)
Layer | Location | Responsibility |
Canonical Spec |
| Single source of truth for all 50 tools ( |
Shared Contracts |
| 17 domain contract suites testing happy paths, |
Node.js / TS SDK + MCP |
| ESM + CJS + |
Python SDK + MCP |
| Python |
.NET SDK |
| Multi-targeted C# library ( |
Workbench UI |
| Interactive Express + React catalog, live tool playground, policy exporter, and docs viewer on port |
Parity & CI |
| Automated parity check across manifest, contracts, and all 3 language implementations. |
Related MCP server: machine-mcp
Quick Start
Node.js / TypeScript
import { WarTools, JsonFileKvStore } from '@warlockcode/wartools-ai';
const kit = WarTools.create({
preset: 'none',
enable: ['time.now', 'kv.*', 'fs.read_file'],
security: {
fsRoot: './workspace',
httpAllowDomains: ['api.github.com'],
maxOutputChars: 16000,
timeoutMs: 10000,
},
store: new JsonFileKvStore('./.wartools-store.json'),
});
const res = await kit.execute('time.now', { timezone: 'America/Bogota' });MCP Server CLI
# Stdio transport (Default-Off unless preset/enable is passed)
node packages/node/dist/esm/cli.js --preset agent-core
# HTTP SSE transport
node packages/node/dist/esm/cli.js --transport sse --port 3333 --enable time.now,kv.*Python (>= 3.10)
from warlockcode_wartools_ai import WarTools, JsonFileKvStore, SecurityConfig
kit = WarTools.create(
preset="none",
enable=["time.now", "kv.*"],
security=SecurityConfig(fs_root="./workspace", http_allow_domains=["api.github.com"]),
store=JsonFileKvStore("./.wartools-store.json"),
)
res = kit.execute("time.now", {"timezone": "America/Bogota"}).NET (net8.0 / net9.0 / netstandard2.0)
using WarlockCode.WarToolsAI;
var kit = WarTools.Create(new WarToolsOptions
{
Preset = "none",
Enable = new[] { "time.now", "kv.*" },
Store = new JsonFileKvStore("./.wartools-store.json")
});
var res = await kit.ExecuteAsync("time.now", new { timezone = "America/Bogota" });Verification Commands
npm run sync:check # Verifies 50 tools, 17 contracts, and Node/Python/.NET parity
npm run build:node # Builds packages/node ESM, CJS, and .d.ts artifacts
npm run test:node # Runs all 17 domain contracts, CJS test, MCP stdio, and MCP HTTP SSE tests
npm run test:python # Runs all 17 domain contracts and MCP stdio test in Python
npm run lint # Runs ESLint + TypeScript typecheckFor Spanish documentation, see README.es.md. For full delivery details, see IMPLEMENTATION_HANDOFF.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
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables registering custom agent tools via a minimal JSON-RPC over stdio implementation, with zero external dependencies, to expose them to AI agents like Claude, Cursor, and Gemini.MIT
- AlicenseAqualityDmaintenanceEnables an AI agent to run local tools on the user's own machine via stdio, including command execution, workspace file read/write, and system status checks.52MIT
- FlicenseNot gradedqualityDmaintenanceEnables autonomous agents and multi-agent frameworks to discover and execute modular, class-based tools over SSE with a standardized response contract.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to discover and execute operational tools such as database mutations and system diagnostics over stdio, with deterministic structured outputs and Langfuse observability.ISC