MCP server
Give Claude Code, Codex, GitHub Copilot, Cursor and Windsurf direct access to the SurfaceOne docs, API and tokens.
@surface-one/angular-mcp is a Model Context Protocol server. Your AI assistant asks it for a component's exact API, a working example, its source and styles, the guides, the screen templates and the theme variables — instead of guessing. Everything is bundled with the package: it works offline and always matches your version.
Claude Code
claude mcp add surface-one-angular -- npx -y @surface-one/angular-mcp@latestCodex
codex mcp add surface-one-angular -- npx -y @surface-one/angular-mcp@latestOr add it to ~/.codex/config.toml:
[mcp_servers.surface-one-angular]
command = "npx"
args = ["-y", "@surface-one/angular-mcp@latest"]VS Code with GitHub Copilot
Add .vscode/mcp.json to your project:
{
"servers": {
"surface-one-angular": {
"command": "npx",
"args": ["-y", "@surface-one/angular-mcp@latest"]
}
}
}Cursor, Windsurf and Claude Desktop
{
"mcpServers": {
"surface-one-angular": {
"command": "npx",
"args": ["-y", "@surface-one/angular-mcp@latest"]
}
}
}Tools
list_components— every component family with its entry point and selectors.get_component_docs— description, import, a working example and the full API. Accepts names, slugs, classes or selectors such assoneBtn.get_component_source_codeandget_component_source_styles— the implementation.get_docs— guide pages and release notes.get_theme_variables— token values for every skin in light and dark mode.list_templatesandget_template— complete screens to start from.
Try asking
- “Build a settings page with SurfaceOne: a switch, a select and a save button.”
- “Show me the API of the SurfaceOne dialog.”
- “Which tokens does the Paper skin use in dark mode?”
Pair the server with the agent skills: the skills tell your assistant how to work with SurfaceOne, the server gives it the facts.