Intelagent MCP Template MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
npm install
npm run build
npm start
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add intelagent-mcp-template -- node "<FULL_PATH_TO_INTELAGENT_MCP_TEMPLATE>/dist/index.js"

Replace <FULL_PATH_TO_INTELAGENT_MCP_TEMPLATE>/dist/index.js with the actual folder you prepared in step 1.

README.md

A Model Context Protocol server template for building custom servers.

My MCP Server

A Model Context Protocol server built with @intelagent/mcp-shared.

Quick Start

npm install
npm run build
npm start

Add to Claude Code

Create .mcp.json in your project root:

{
  "mcpServers": {
    "my-mcp-server": {
      "command": "node",
      "args": ["path/to/dist/index.js"]
    }
  }
}

Tools

Tool Description
reverse_string Reverse a string
word_count Count words and characters
server_info Server metadata and health check

Development

npm run dev       # Run with tsx (no build needed)
npm run build     # Compile TypeScript
npm test          # Run tests
npm run test:watch # Watch mode

Adding a New Tool

  1. Define types in src/types.ts
  2. Add business logic to a service in src/services/
  3. Define the tool in src/tools/ using the ToolDefinition interface
  4. Wire it up in src/index.ts
  5. Add tests in tests/

See the enrichment MCP for a full production example.

License

MIT

Tools (3)

reverse_stringReverse a string
word_countCount words and characters
server_infoServer metadata and health check

Configuration

claude_desktop_config.json
{"mcpServers": {"my-mcp-server": {"command": "node", "args": ["path/to/dist/index.js"]}}}

Try it

Reverse the string 'Hello World' for me.
How many words and characters are in this text: 'The quick brown fox jumps over the lazy dog'?
Can you check the health and metadata of the current MCP server?
Reverse the word 'OpenAI' and then count the characters in the result.

Frequently Asked Questions

What are the key features of Intelagent MCP Template?

Provides boilerplate code for rapid MCP server development. Includes example tools for string manipulation and server diagnostics. Built-in support for TypeScript and development workflows. Integrated with @intelagent/mcp-shared library. Includes testing and build scripts for production readiness.

What can I use Intelagent MCP Template for?

Developers looking to quickly scaffold a new MCP server project. Teams standardizing their MCP server development process. Learning how to implement custom tools within the Model Context Protocol framework.

How do I install Intelagent MCP Template?

Install Intelagent MCP Template by running: npm install && npm run build && npm start

What MCP clients work with Intelagent MCP Template?

Intelagent MCP Template works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Intelagent MCP Template docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare