@mcpdotdirect/template-mcp-server

by mcpdotdirect

75 397 downloads Not rated yet MIT license

About

A CLI template for quickly bootstrapping an MCP server with FastMCP, supporting both stdio and HTTP transport.

Details

License
MIT license

Explore

- FastMCP: Built using the FastMCP framework for simpler implementation
- Dual Transport Support: Run your MCP server over stdio or HTTP
- TypeScript: Full TypeScript support for type safety
- Extensible: Easy to add custom tools, resources, and prompts

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name @mcpdotdirect/template-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository


After creating your project:

1. Install dependencies using your preferred package manager:

bash

You can customize the server using environment variables:

```bash

server.addTool({
  name: "hello_world",
  description: "A simple hello world tool",
  parameters: z.object({
    name: z.string().describe("Name to greet")
  }),
  execute: async (params) => {
    return Hello, ${params.name}!;
  }
});

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "@mcpdotdirect/template-mcp-server": {
            "template-mcp-server": {
                "command": "npx",
                "args": [
                    "@mcpdotdirect/create-mcp-server"
                ]
            }
        }
    }
}

McpServers

{
    "template-mcp-server": {
        "command": "npx",
        "args": [
            "@mcpdotdirect/create-mcp-server"
        ]
    }
}

License: MIT
TypeScript

A CLI tool to quickly get started building your very own MCP (Model Context Protocol) server using FastMCP

📋 Usage

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.

Videos about @mcpdotdirect/template-mcp-server

Relevant YouTube tutorials, setups, and demos