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
-
Update your package.json:
- Ensure
nameis unique and follows npm naming conventions - Set appropriate
version - Add
description,author,license, etc. - Check
binpoints to the correct entry file
- Ensure
-
Build and test locally:
yarn build npm link kam-mcp-server # Test your CLI locally -
Login to npm (create account if necessary):
npm login -
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
- Make changes to your tools
- Run
yarn buildto compile - The server will automatically load your tools on startup
Recommend MCP Servers 💡
cartesia-mcp
The Cartesia MCP server enables clients like Cursor, Claude Desktop, and OpenAI agents to interact with Cartesia's API for speech localization, text-to-audio conversion, and voice infill.
@mastergo/magic-mcp
A standalone MCP service connecting MasterGo design tools with AI models to retrieve DSL data from design files.
keycloak-model-context-protocol
An MCP server for Keycloak user and realm management, enabling AI-powered administration and integration with MCP clients like Claude Desktop.
@remote-mcp/client
A type-safe local proxy MCP server that enables remote access and centralized management of model contexts by connecting to a remote MCP implementation.
books-mcp
This is an MCP server used for querying books, and it can be applied in common MCP clients, such as Cherry Studio.
dschuler36/reaper-mcp-server
An MCP server connecting Reaper projects to MCP clients like Claude Desktop, enabling queries via project-finding and parsing tools.