mcp-server-template
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-templatecreate a new MCP server project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-server-template
Template repository for creating a WebAssembly component Model Context Protocol (MCP) Server, with wasmCloud.
Dependencies
Download
wash
Quickstart
Start the Development loop
Build the component:
npm install
npm run devTo debug your component, we recommend using the official MCP model inspector, to run that you can run:
npm run inspectorUsing the model inspector you can connect to the local MCP server via HTTP, manipulate resources, run tools, and more.
Related MCP server: MY MCP
Generate a MCP Server from our template
1. Use our golden template to build a repository:
wash new <...>Set up Cosmonic Control
Once your MCP server is ready for primetime, ensure your Comonic cluster is running.
First, sign up for a FREE Cosmonic license.
Once you have a license key, you can set up a Cosmonic cluster on any Kubernetes cluster that supports Helm:
helm install cosmonic-control oci://ghcr.io/cosmonic/cosmonic-control \
--version 0.2.0 \
--namespace cosmonic-system \
--create-namespace \
--set cosmonicLicenseKey="<insert license here>"
helm install hostgroup oci://ghcr.io/cosmonic/cosmonic-control-hostgroup --version 0.2.0 --namespace cosmonic-system --set http.enabled=trueDeploy the application
With the operator up and running we can start a HostGroup, which is a set of wasmCloud
instances that are configured to work together.
With Helm CLI
# Note substitue your own pushed image
helm install weather-gov-mcp oci://ghcr.io/cosmonic-labs/charts/http-sample \
-n weather-gov --create-namespace \
--set component.image=ghcr.io/cosmonic-labs/components/weather-gov-mcp:0.1.0 \
--set component.name=weather-gov-mcp Connect to the deployed MCP server
If running with a k8s cluster, you can port forward:
kubectl -n cosmonic-system port-forward svc/hostgroup-default 9091:9091Once you have a local port forward configured to your Cosmonic Control cluster, use the official MCP model inspector to connect.
You can start the MCP inspector via the following command:
npm run inspectorThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cosmonic-labs/petstore-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server