Skip to main content
Glama
mcp-toolkit-ts

mcp-toolkit-ts

by IsmeetPandey

🟦 mcp-toolkit-ts

TypeScript CI License: MIT Language: TypeScript MCP Ready

Production-ready Model Context Protocol (MCP) server toolkit for autonomous AI agents with typed schemas and safety guardrails.


⚡ Highlights

  • 🔒 Strongly Typed Tools: Define agent tools with parameter schemas and auto-generated JSON Schema manifests.

  • 🤖 Agent Client Compatible: Out-of-the-box support for Claude Desktop, Cursor, Antigravity, and OpenAI assistants.

  • 🛡️ Parameter Validation: Enforces parameter requirements, type safety, and error feedback before tool invocation.

  • 🚀 Zero Bloat: Minimal runtime footprint designed for fast cold starts.


Related MCP server: mcp-agent-kit

📦 Installation

npm install mcp-toolkit-ts

💻 Quick Start

import { MCPServer, ToolDefinition } from 'mcp-toolkit-ts';

const server = new MCPServer('my-agent-tools', '1.0.0');

// Register a custom typed tool
server.registry.register({
  name: 'calculate_growth',
  description: 'Calculate compounded interest rate for financial simulations',
  parameters: {
    principal: { type: 'number', description: 'Initial balance', required: true },
    rate: { type: 'number', description: 'Annual interest rate percentage', required: true },
    years: { type: 'number', description: 'Simulation duration in years', required: true },
  },
  handler: async ({ principal, rate, years }) => {
    return principal * Math.pow(1 + rate / 100, years);
  },
});

// Handle incoming MCP JSON-RPC call
const response = await server.handleRequest({
  method: 'tools/call',
  params: {
    name: 'calculate_growth',
    arguments: { principal: 1000, rate: 5, years: 3 }
  }
});

console.log('Result:', response); // 1157.625

📄 License

MIT License © 2026 Ismeet Pandey.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables building and running zero-dependency MCP servers with automatic JSON Schema generation, exposing Python tools to Claude Desktop, Cursor, and autonomous agent fleets.
      2
      Apache 2.0
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants and MCP-enabled clients to discover and call application capabilities exposed as structured, schema-defined tools, with input validation, error handling, and API/database integration. It also ships a sample client that demonstrates secure tool execution and seamless AI-agent interoperability.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables developers to expose a single set of tool definitions as MCP server tools over stdio or Streamable HTTP, so Claude Code, Codex, Claude Desktop and Cursor can call them with risk-based annotations, human-approved irreversible writes, typed structured results and long-running job handling built in. It also ships the same tools as a CLI from one source, keeping both surfaces in parity.
      594 npm
      Apache 2.0