a11y-personas-mcp-module
v2.0.0
Published
Embeddable accessibility persona MCP tools, handlers, and data
Maintainers
Readme
Accessibility Personas MCP Module
a11y-personas-mcp-module provides the complete accessibility persona MCP tool set for embedding in another MCP server. Importing it does not start a server, open a transport, write output, or modify process state.
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { registerA11yPersonasMcp } from 'a11y-personas-mcp-module';
const server = new McpServer({
name: 'combined-server',
version: '1.0.0',
});
registerA11yPersonasMcp(server);High-level McpServer registration is additive. Existing tools remain registered. If any module tool name conflicts, registration throws and removes any module tools added during that call. An empty SDK low-level Server is also supported for dedicated wrappers. Registration refuses to overwrite existing low-level tools/list or tools/call handlers.
The package exports registerA11yPersonasMcp, tools, listMcpTools, callMcpTool, persona lookup and formatting helpers, mcpServerInfo, and moduleMetadata.
The published package includes generated data/personas.json and deterministic provenance metadata. Consumers do not need the source repository, Git submodule, a build step, or network access at runtime.
Node.js 18 or newer and @modelcontextprotocol/sdk 1.x are required.
