Server Basic Svelte
MCP server by modelcontextprotocol Verified · npm:@modelcontextprotocol
Server Basic Svelte is a starter template for building an MCP App with a Svelte interface. It is one of six framework versions of the same basic app in the ext-apps repository. It is aimed at developers who want to build interactive MCP App UIs.
Install Server Basic Svelte
Built from the published package, never by AI.
claude mcp add server-basic-svelte -- npx -y @modelcontextprotocol/server-basic-svelteRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"server-basic-svelte": {
"args": [
"-y",
"@modelcontextprotocol/server-basic-svelte"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"server-basic-svelte": {
"args": [
"-y",
"@modelcontextprotocol/server-basic-svelte"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"server-basic-svelte": {
"args": [
"-y",
"@modelcontextprotocol/server-basic-svelte"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add server-basic-svelte -- npx -y @modelcontextprotocol/server-basic-svelte{
"mcpServers": {
"server-basic-svelte": {
"args": [
"-y",
"@modelcontextprotocol/server-basic-svelte"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Server Basic Svelte in Antigravity CLI
gemini mcp add server-basic-svelte npx -y @modelcontextprotocol/server-basic-svelteGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the server-basic-svelte block.
About
Server Basic Svelte is a starter template from the ext-apps repository, published under modelcontextprotocol. It is one of several framework versions of the same basic MCP App server, alongside React, Vue, Preact, Solid and Vanilla JS. The source lists it under the starter templates section and links to its example folder.
MCP Apps let a tool declare a ui:// resource that contains an HTML interface. The host fetches that resource and shows it in a sandboxed iframe inside the chat, and the UI can call other tools through the host. The source does not describe the tools or features of the Svelte example itself. It is aimed at developers who want to build interactive MCP App interfaces with Svelte.
Written from the project's README and checked against it.
What you need
- Node.js 20+
Try asking
- Show me how the basic Svelte MCP App server is structured
- Help me start a new MCP App using the Svelte basic server example
- Explain how a ui:// resource gets rendered in a sandboxed iframe
Good to know
- Host support for MCP Apps varies between clients
- The repo has no supported host implementation beyond the basic-host example
Security check
F- Sends keys or private files to a web addressIn
package.json:curl > /dev/null && curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH=\"$HOME - Downloads a script from the internet and runs itIn
package.json:curl > /dev/null && curl -LsSf https://astral.sh/uv/install.sh | sh
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Starting a Svelte-based MCP App
- Learning how MCP Apps render UI
- Comparing framework versions of a basic app
Alternatives to Server Basic Svelte
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Server Basic Svelte: common questions
Does the Svelte example work in Claude?
The source says MCP Apps render inline in Claude, ChatGPT and any other compliant chat client. It also says host support varies, so the source does not confirm support for every client.
What host can I use to test the Svelte example?
The source names basic-host, a reference host implementation included in the ext-apps repo, which runs all examples locally. It also says the repo has no other supported host.
Are MCP Apps compatible across SDK versions?
The source says the wire protocol is unchanged between ext-apps 1.x and 2.x. A 2.x View works in a 1.x host, and a 2.x host renders 1.x Views.
How do I install Server Basic Svelte?
In Claude Code run claude mcp add server-basic-svelte -- npx -y @modelcontextprotocol/server-basic-svelte. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Server Basic Svelte the official server?
Server Basic Svelte is published by npm:@modelcontextprotocol from its verified domain in the official MCP Registry.
Is Server Basic Svelte free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Server Basic Svelte safe to use?
It scores 83 of 100. Grades: maintenance A, licence F, quality A. Security check: grade F (sends keys or private files to a web address). Review the code before you install. How grades work.
What are alternatives to Server Basic Svelte?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Server Basic Svelte work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
