MCP Server em TypeScript

by thaydeveloper

185 downloads
Not rated
GitHub

Description

# MCP Server em TypeScript Este projeto implementa um servidor compatível com o Model Context Protocol (MCP). ## Rodando localmente 1. Instale as dependências: ```bash npm install ``` 2. Rode em modo desenvolvimento: ```bash npm run dev ``` 3. Para build e execução em produção…

About

# MCP Server em TypeScript Este projeto implementa um servidor compatível com o Model Context Protocol (MCP). ## Rodando localmente 1. Instale as dependências: ```bash npm install ``` 2. Rode em modo desenvolvimento: ```bash npm run dev ``` 3. Para build e execução em produção: ```bash npm run build npm start ``` ##…

Details

Author
thaydeveloper
Downloads
185
Categories
Other

- Implements the Model Context Protocol (MCP).
- Lists available models via GET /v1/models.
- Generates sample responses via POST /v1/completions.
- Can be run locally or inside a Docker container.

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 MCP Server em TypeScript
    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

Install dependencies with npm install, then run in development mode with npm run dev. For production, build with npm run build and start with npm start. A Docker image can be built using docker build -t mcp-server . and run with docker run -p 3000:3000 mcp-server. The server is available at http://localhost:3000.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mcp server em typescript": {
            "mcp-server-thaydeveloper": {
                "command": "docker",
                "args": [
                    "build",
                    "-t",
                    "mcp-server",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-thaydeveloper": {
        "command": "docker",
        "args": [
            "build",
            "-t",
            "mcp-server",
            "."
        ]
    }
}

MCP Server em TypeScript

Este projeto implementa um servidor compatível com o Model Context Protocol (MCP).

Rodando localmente

1. Instale as dependências:

   npm install

2. Rode em modo desenvolvimento:
   npm run dev

3. Para build e execução em produção:
   npm run build
npm start

Usando Docker

1. Construa a imagem:

   docker build -t mcp-server .

2. Rode o container:
   docker run -p 3000:3000 mcp-server

O servidor estará disponível em http://localhost:3000.

Endpoints MCP

- GET /v1/models: Lista os modelos disponíveis
- POST /v1/completions: Gera uma resposta de exemplo

Para mais informações sobre MCP: Model Context Protocol

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.