BarakMozesPro/secureflow-mcp
MCP tools server with multi-transport client/server and security tool registry
Platform-specific configuration:
{
"mcpServers": {
"secureflow-mcp": {
"command": "npx",
"args": [
"-y",
"secureflow-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://www.typescriptlang.org/) [](./LICENSE) [](https://github.com/BarakMozesPro/secureflow-mcp/actions/workflows/ci.yml)
A full-featured implementation of the Model Context Protocol (MCP) in TypeScript — enabling AI agents to discover and invoke tools, access resources, and use prompt templates through a type-safe, multi-transport server framework.
---
graph TD
A[AI Agent] --> B[MCP Client]
B --> C[Transport Layer]
C --> D[MCP Server]
D --> E[Tool Registry]
E --> F[Security Tools]
E --> G[Resource Providers]
E --> H[Prompt Templates]
C --> I[SSE]
C --> J[HTTP / Streamable]
C --> K[stdio]
C --> L[WebSocket]---
McpServer with declarative tool, resource, and prompt registration---
# Install dependencies
pnpm install
# Build all packages
pnpm build:all
# Run tests
pnpm test:all---
import { McpServer } from "@secureflow/mcp-server";
import { z } from "zod";
const server = new McpServer({
name: "secureflow-tools",
version: "1.0.0",
});
// Register a security scan tool
server.registerLoading reviews...