Skip to content

urbushey/ts_mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript MCP Server

A simple Model Context Protocol (MCP) server for Claude Desktop.

Setup

  1. Install dependencies:
bun install @modelcontextprotocol/sdk dotenv
bun add -D typescript @types/node
  1. Create your server code in src/index.ts

  2. Run your server:

bun src/index.ts

Configure Claude Desktop

Add this to your Claude Desktop configuration file:

# On macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.json

Add this JSON (replace with YOUR actual paths):

{
  "mcpServers": {
    "my-server": {
      "command": "/full/path/to/bun",
      "args": ["/full/path/to/your/project/src/index.ts"]
    }
  }
}

Find your bun path with:

which bun

Test It

  1. Restart Claude Desktop
  2. Click the "+" button in Claude's input box
  3. Your server's tools should appear in the list

Debug

Check logs:

tail -f ~/Library/Logs/Claude/mcp*.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published