Skip to main content
Glama
vmridulmcpfy

my-mcp-server

by vmridulmcpfy

my-mcp-server

Self-hosted MCP server generated by MCPfy using mcpfy-sdk.

Includes 2 tool(s) and 0 prompt(s) exported from your MCPfy server.

Setup

npm install            # required before npm run dev (installs tsx + mcpfy-sdk)
cp .env.example .env   # optional fallback credentials for local/stdio
npm run dev            # default transport: http

Upstream API auth

Same model as hosted MCPfy: pass Authorization, x-api-key, or x-auth-token on the MCP HTTP connection; tools forward those headers to your API.

Env vars in .env are only a fallback when the MCP request has no auth headers (e.g. stdio).

  • npm run dev:http — HTTP on :3000 (override with --port 4000 or PORT=4000)

  • npm run dev:stdio — stdio (Claude Desktop / Cursor local)

Related MCP server: MCP REST Demo Server

Cursor / Claude Desktop (stdio)

{
  "mcpServers": {
    "my-mcp-server": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/src/server.ts", "--stdio"]
    }
  }
}

Learn more

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A simple MCP server that exposes a createUser tool to add users to a local JSON file via stdio transport.
    360 npm
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A minimal demo MCP server exposing user management tools (list, get, create, update, delete users) over both stdio and HTTP/SSE transports, wrapping an Express REST API to illustrate local vs remote MCP connectivity.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables management of system users through a simple API, exposing two MCP tools that forward authentication headers to the upstream service.
    -