Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Template Ts

FreeNot checked

Template repository for create a Wasm MCP Server

GitHubEmbed

About

Template repository for create a Wasm MCP Server

README

Template repository for creating a WebAssembly component Model Context Protocol (MCP) Server, with wasmCloud.

Dependencies

Start the development loop

To start a new project based on this template, you can clone the repository or create a new project with wash:

wash new https://github.com/cosmonic-labs/mcp-server-template-ts --name my-project

When wash prompts you to Execute template setup command 'npm install'?, type y to select yes. This will run npm install automatically upon project creation. (If you'd rather run npm install manually after navigating to the directory, you can do that, too.)

In the project directory, start a development loop:

npm run dev

The dev script will automatically run the official MCP model inspector in your browser on http://localhost:6274/.

Using the model inspector you can connect to the local MCP server via HTTP, manipulate resources, run tools, and more.

Optional: Generate MCP tools from OpenAPI specification

You can generate MCP tools from an OpenAPI specification using the openapi2mcp tool.

Generate MCP tools from your OpenAPI specification:

npm run openapi2mcp path/to/openapi/spec.json

Note: The path to the OpenAPI spec must be inside the repository for the openapi2mcp npm script to work.

Set up Cosmonic Control

Once your MCP server is ready for primetime, ensure your Cosmonic Control cluster is running.

Don't have a Cosmonic Control cluster set up?

:::warning[Cosmonic Control required] It's free to get started with Cosmonic Control. You will need a Kubernetes cluster and an installation of Cosmonic Control to deploy the component. Follow the Get Started instructions in the Cosmonic Control documentation. :::

Deploy the application with Helm CLI

Make sure to substitute your own pushed image in the command below:

helm install mcpserver oci://ghcr.io/cosmonic-labs/charts/http-trigger\
  --version 0.1.2\
  --set 'components[0].name=mcpserver'\
  --set 'components[0].image=ghcr.io/cosmonic-labs/petstore-mcp-server:v0.4.0'\
  --set ingress.host="mcpserver.localhost.cosmonic.sh"\
  --set pathNote="/v1/mcp"

Connect to the deployed MCP server

You can use the official MCP model inspector to connect. Start the MCP inspector via the following command:

npx @modelcontextprotocol/inspector

from github.com/cosmonic-labs/mcp-server-template-ts

Installing Template Ts

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/cosmonic-labs/mcp-server-template-ts

FAQ

Is Template Ts MCP free?

Yes, Template Ts MCP is free — one-click install via Unyly at no cost.

Does Template Ts need an API key?

No, Template Ts runs without API keys or environment variables.

Is Template Ts hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Template Ts in Claude Desktop, Claude Code or Cursor?

Open Template Ts on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Template Ts with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs