Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [1.6.1-beta.0](https://github.com/wireweave/mcp-server/compare/v1.6.0...v1.6.1-beta.0) (2026-03-05)

### Refactoring

* **tools:** remove wireweave_render_html alias ([5eab1b6](https://github.com/wireweave/mcp-server/commit/5eab1b69b55702cae51518eb7128c47e9ee1f85f))

## [1.6.0](https://github.com/wireweave/mcp-server/compare/v1.6.0-beta.0...v1.6.0) (2026-03-04)

## [1.6.0-beta.0](https://github.com/wireweave/mcp-server/compare/v1.5.1...v1.6.0-beta.0) (2026-03-04)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wireweave/mcp-server",
"version": "1.6.0",
"version": "1.6.1-beta.0",
"description": "MCP server for Wireweave DSL - Thin client for API Server",
"type": "module",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/local-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ async function handleRenderHtmlFile(

try {
// 1. Call API to render HTML (this charges credits)
const endpoint = toolEndpoints['wireweave_render_html'];
const endpoint = toolEndpoints['wireweave_render_html_code'];
if (!endpoint) {
return {
content: [
{
type: 'text',
text: JSON.stringify(
{ error: 'wireweave_render_html endpoint not found' },
{ error: 'wireweave_render_html_code endpoint not found' },
null,
2
),
Expand Down
2 changes: 1 addition & 1 deletion src/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* ⚠️ AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
*
* Generated: 2026-03-04T11:10:35.311Z
* Generated: 2026-03-04T13:09:10.398Z
* Public prompts: 3
*/

Expand Down
2 changes: 1 addition & 1 deletion src/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* ⚠️ AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
*
* Generated: 2026-03-04T11:10:35.479Z
* Generated: 2026-03-04T13:09:10.659Z
* Public resources: 5
*/

Expand Down
4 changes: 2 additions & 2 deletions src/tools.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ describe('toolEndpoints', () => {
});
});

it('render_html should POST to /tools/render/html', () => {
expect(toolEndpoints.wireweave_render_html).toEqual({
it('render_html_code should POST to /tools/render/html', () => {
expect(toolEndpoints.wireweave_render_html_code).toEqual({
method: 'POST',
path: '/tools/render/html',
});
Expand Down
35 changes: 2 additions & 33 deletions src/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* To request changes, please open an issue at:
* https://github.com/wireweave/mcp-server/issues
*
* Generated: 2026-03-04T11:10:35.125Z
* Public tools: 30
* Generated: 2026-03-04T13:09:10.165Z
* Public tools: 29
*/

import type { Tool } from '@modelcontextprotocol/sdk/types.js';
Expand Down Expand Up @@ -108,36 +108,6 @@ export const tools: Tool[] = [
"required": []
},
},
{
name: 'wireweave_render_html',
description: 'Render Wireweave DSL to HTML and CSS',
inputSchema: {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "The Wireweave DSL source code to render"
},
"theme": {
"type": "string",
"enum": [
"light",
"dark"
],
"description": "Color theme for rendering",
"default": "light"
},
"fullDocument": {
"type": "boolean",
"description": "Return a complete HTML document instead of fragment",
"default": false
}
},
"required": [
"source"
]
},
},
{
name: 'wireweave_render_html_code',
description: 'Render Wireweave DSL to HTML code. Returns the HTML content directly. This is an alias for wireweave_render_html with explicit naming.',
Expand Down Expand Up @@ -723,7 +693,6 @@ export const toolEndpoints: Record<string, ToolEndpoint> = {
wireweave_guide: { method: 'GET', path: '/tools/guide' },
wireweave_patterns: { method: 'GET', path: '/tools/patterns' },
wireweave_examples: { method: 'GET', path: '/tools/examples' },
wireweave_render_html: { method: 'POST', path: '/tools/render/html' },
wireweave_render_html_code: { method: 'POST', path: '/tools/render/html' },
wireweave_validate_ux: { method: 'POST', path: '/tools/validate/ux' },
wireweave_ux_rules: { method: 'GET', path: '/tools/ux-rules' },
Expand Down