About Generic MCP Template
Generic MCP Template is an MCP server published by v4lheru in the Developer Tools category: generic MCP toc create tools for Agents.
The repository has 5 stars and 1 forks, with the last commit 10 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/v4lheru/generic-mcp-templateThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Generic MCP Template
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Generic MCP Server Template
A flexible template for creating Model Context Protocol (MCP) servers using the official TypeScript SDK.
What is MCP?
The Model Context Protocol (MCP) enables communication between AI assistants and locally running servers that provide additional tools and resources.
Features
- Official SDK: Built with
@modelcontextprotocol/sdk - Type Safety: Full TypeScript support with Zod validation
- Stdio Transport: Standard transport for local agent integration
- Modular Design: Easy to add new tools and resources
Getting Started
Prerequisites
- Node.js (v16 or later)
- npm or yarn
Installation
-
Clone the repository:
git clone https://github.com/v4lheru/generic-mcp-template.git cd generic-mcp-server -
Install dependencies:
npm install -
Build the project:
npm run build
Usage
To run the server locally (for testing or development):
npm run start
Note: This server uses stdio transport, so it expects to communicate via standard input/output. It will not start an HTTP server.
Adding to Claude Desktop
- Open Claude Desktop config (e.g.
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS). - Add your server:
{
"mcpServers": {
"my-server": {
"command": "node",
"args": ["/path/to/generic-mcp-server/dist/index.js"]
}
}
}
Customization
- Tools: Add new tools in
src/tools.ts. - Resources: Add new resources in
src/resources.ts. - Config: Update
src/config.tsfor environment variables.
License
MIT
README fetched from the repository 2 days ago. The original is authoritative.