Back to Home
SylphxAI icon

mcp-server-sdk

Verified Safe

by SylphxAI

Overview

Pure functional MCP (Model Context Protocol) server SDK for building AI-callable tools, resources, and prompts.

Installation

Run Command
bun run examples/basic.ts http

Environment Variables

  • PORT

Security Notes

The server uses `@sylphx/vex` for robust, type-safe schema validation on all tool and prompt inputs, mitigating common injection vectors. JSON-RPC messages are parsed and validated by `Rpc.parseMessage`. The HTTP transport allows configurable CORS, including a wildcard ('*') which, while flexible, should be used with caution in production. No direct `eval` calls or hardcoded sensitive credentials were found. Standard network server vulnerabilities (e.g., large payload DoS) are inherent to HTTP transport but are not specific to this SDK's logic.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2025-12-05

Tags

MCPAILLMServerSDKBun