Allows creation of new projects using the create-xmcp-app template from GitHub.
Supports package management and script execution for development and production environments.
Provides efficient package management option for dependency installation and script execution.
Provides TypeScript integration for defining and implementing tools with type safety.
Offers alternative package management for installing dependencies and running scripts.
Enables schema validation for tool parameters using Zod's validation library.
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., "@XMCP Applicationlist all available tools in the src/tools directory"
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.
BaseHub MCP
This project was created with create-xmcp-app. The MCP (Model Context Protocol) integration enables AI agents to interact directly with your BaseHub repository through a comprehensive set of tools. From creating and updating content blocks to managing assets and automating workflows, you can build functional websites, migrate hardcoded content, and set up forms—all through natural language prompts with your favorite AI tools.
This was part of our AI Week venture. Learn more in our changelog
How to use it
You can check the user documentation in basehub.com/dcos/ai/mcp
Related MCP server: Routine
Development
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm devThis will start the MCP server with both SSE and STDIO transport methods.
Project Structure
This project uses the structured approach where tools are automatically discovered from the src/tools directory. Each tool is defined in its own file with the following structure:
import { z } from "zod";
import { type InferSchema } from "xmcp";
// Define the schema for tool parameters
export const schema = {
a: z.number().describe("First number to add"),
b: z.number().describe("Second number to add"),
};
// Define tool metadata
export const metadata = {
name: "add",
description: "Add two numbers together",
annotations: {
title: "Add Two Numbers",
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
};
// Tool implementation
export default async function add({ a, b }: InferSchema<typeof schema>) {
return {
content: [{ type: "text", text: String(a + b) }],
};
}Adding New Tools
To add a new tool:
Create a new
.tsfile in thesrc/toolsdirectoryExport a
schemaobject defining the tool parameters using ZodExport a
metadataobject with tool informationExport a default function that implements the tool logic
Building for Production
To build your project for production:
npm run build
# or
yarn build
# or
pnpm buildThis will compile your TypeScript code and output it to the dist directory.
Running in Production
To run your bundled MCP server in production:
npm run start-sse
# or
npm run start-stdioLearn More
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.