
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@mcp-typescript-simple/server
Advanced tools
High-Level MCP Server Creation and Management
This package provides a simplified, high-level API for creating MCP (Model Context Protocol) servers in TypeScript.
Abstracts away the complexity of:
import { createMCPServer } from '@mcp-typescript-simple/server';
import { myTools } from './my-tools/index.js';
const server = await createMCPServer({
name: 'my-mcp-server',
version: '1.0.0',
tools: [myTools],
});
await server.start();
createMCPServer(config: MCPServerConfig)Creates and initializes an MCP server with the specified configuration.
Parameters:
config.name (string) - Server nameconfig.version (string) - Server versionconfig.tools (ToolRegistry[]) - Array of tool registries to includeconfig.transport (optional) - Transport type: 'auto' (default), 'stdio', or 'http'Returns:
{
server: Server, // MCP SDK Server instance
start: () => Promise<void>, // Start the server
stop: () => Promise<void>, // Stop the server
}
const { server, start } = await createMCPServer({
name: 'my-server',
version: '1.0.0',
tools: [myTools],
});
// Access MCP SDK server directly
console.log(server.getCapabilities());
await start();
For advanced use cases, you can use the lower-level setupMCPServerWithRegistry() function:
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { setupMCPServerWithRegistry } from '@mcp-typescript-simple/server';
import { ToolRegistry } from '@mcp-typescript-simple/tools';
const server = new Server({
name: 'my-server',
version: '1.0.0',
}, { capabilities: { tools: {} } });
const registry = new ToolRegistry();
// ... add tools to registry
await setupMCPServerWithRegistry(server, registry);
MIT
FAQs
High-level MCP server creation and management
We found that @mcp-typescript-simple/server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.