mcpField
K
kam-mcp-server

kam-mcp-server

Local
github.com/Bamo-altMedia & Design0Updated 79w ago

About kam-mcp-server

kam-mcp-server is an MCP server built with mcp-framework. Its listed tools create point-, line-, and surface-based elements and retrieve elements in the current view.

Key features

  1. 01Create point-based elements
  2. 02Create line-based elements
  3. 03Create surface-based elements
  4. 04Retrieve current-view elements

Use cases

  1. 01Create point-based elements in a supported application
  2. 02Create line- or surface-based elements
  3. 03Retrieve elements from the current view

MCP support

It exposes element-creation and current-view tools to MCP clients. The README describes configuration for Claude Desktop.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"kam": {
"command": "npx",
"args": [
"-y",
"kam-mcp-server"
]
}
}
}
Run commandnpx -y kam-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmkam-mcp-server

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

kam-mcp-server

Kam-MCP-Server

A Model Context Protocol (MCP) server built with mcp-framework.

Quick Start

# Install dependencies
npm install

# Build the project
npm run build

Project Structure

kam-mcp-server/
├── build/
├── src/
│   ├── tools/        # MCP Tools
│   │   └── CreatePointBasedElementTool.ts
│   │   └── CreateLineBasedElementTool.ts
│   │   └── CreateSurfaceBasedElementTool.ts
│   │   └── GetCurrentViewElementsTool.ts
│   │   └── GetAvailableFamilyTypesTool.ts
│   │   └── DeleteElementTool.ts
│   │   └── GetElementByIdTool.ts
│   ├── resources/    # MCP Resources
│   │   └── KamDocResourceResource.ts
│   └── index.ts      # Server entry point
├── package.json
└── tsconfig.json

Publishing to npm

  1. Update your package.json:

    • Ensure name is unique and follows npm naming conventions
    • Set appropriate version
    • Add description, author, license, etc.
    • Check bin points to the correct entry file
  2. Build and test locally:

    yarn build
    npm link
    kam-mcp-server  # Test your CLI locally
    
  3. Login to npm (create account if necessary):

    npm login
    
  4. Publish your package:

    npm publish
    

After publishing, users can add it to their claude desktop client (read below) or run it with npx

Using with Claude Desktop

After Publishing

Add this configuration to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "kam-mcp-server": {
      "command": "npx",
      "args": ["-y", "kam-mcp-server", "--port=9099"]
    }
  }
}

Building and Testing

  1. Make changes to your tools
  2. Run yarn build to compile
  3. The server will automatically load your tools on startup

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.