mcp-typescript-starter

A minimal Model Context Protocol (MCP) server in TypeScript with hello tool, markdown resource, and prompt. Includes VS Code/devcontainer setup and documentation.

GitHub Stars

3

User Rating

Not Rated

Forks

5

Issues

0

Views

1

Favorites

0

README
MCP TypeScript Starter

A starter MCP server implementation using TypeScript, inspired by the Go version.

Setup
npm install
Running the Server
# Run in development mode (using ts-node)
npm run dev

# Or use the script
./script/ts-run

# Build and run the compiled version
npm run build
npm start
Environment Variables
  • MCP_GREETING: Customizes the greeting used by the hello_world tool (default: "Hello")
Features
Tools
  • hello: Says hello to someone (uses MCP_GREETING)
Resources
  • example://md: Serves the markdown file in src/resources/example.md
Prompts
  • greeting-prompt: A prompt that greets the user by name
License

MIT

Author Information
Sam Morrow

Experienced full-stack engineer, most of my work is closed source, but I love contributing to OSS when I can. Previously a pro drummer.

Amsterdam, Netherlands

129

Followers

67

Repositories

4

Gists

3

Total Contributions

Top Contributors

Threads