1. Conduid
  2. Developer Tools
  3. Compiler
MCP server · Developer Tools

Compiler

Turns vague requests into structured prompts, execution plans, and policy-aware workflows — with readiness verdicts, PR merge-safety checks, agent packs, and MCP tool exports. Offline-first, deterministic, provider-agnostic.

44Fair

Scored a month ago · breakdown

About Compiler

Compiler is an MCP server published by kolodny in the Developer Tools category: turns vague requests into structured prompts, execution plans, and policy-aware workflows — with readiness verdicts, PR merge-safety checks, agent packs, and MCP tool exports. Offline-first, deterministic, provider-agnostic. It has been installed 0 times through Conduid.

The repository has 1 stars and 0 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx mcp-compiler

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Compiler

Powered by Claude · Grounded in docs

I know everything about Compiler. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

mcp-compiler

Transform plain TypeScript functions into an MCP server.

Installation

npm install mcp-compiler

Usage

// tools.ts

/** add number */
export const add = async (num1: number, num2?: number) => num1 + (num2 ?? 0);

/** say hi to user */
export const sayHi = (name: string) => `Hi, ${name}`;

export const makeUser = (user: {
  /** Name of user */ name: string;
  /** Age of user */ age?: number;
}) => user;
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
import * as z from 'zod/v4';

import { compile, generateSchemas } from 'mcp-compiler';
import * as tools from './tools';

const pathToTools = `${__dirname}/tools.ts`;
const schemas = generateSchemas(pathToTools); // OK for dev, pre-build and load from file for release.
const compiled = compile({ tools, schemas, z });

const server = new McpServer(
  { name: 'My-Server', version: '1.0.0' },
  { capabilities: { tools: {} } }
);

for (const { name, description } of compiled.tools) {
  const zodSchemas = compiled.makeZodSchemas(name);
  const fn = compiled.callTool.bind(null, name);
  server.registerTool(name, { ...zodSchemas, description }, fn);
}

async function runServer() {
  const transport = new StdioServerTransport();
  await server.connect(transport);
  console.error(`MCP Server running on stdio`);
}

runServer().catch((error) => {
  console.error(`Fatal error running server:`, error);
  process.exit(1);
});
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import {
  CallToolRequestSchema,
  ListToolsRequestSchema,
} from '@modelcontextprotocol/sdk/types.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

import { compile, generateSchemas } from 'mcp-compiler';
import * as tools from './tools';

const pathToTools = `${__dirname}/tools.ts`;
const schemas = generateSchemas(pathToTools); // OK for dev, pre-build and load from file for release.
const compiled = compile({ tools, schemas });

const server = new Server(
  { name: 'My-Server', version: '1.0.0' },
  { capabilities: { tools: {} } }
);
server.setRequestHandler(ListToolsRequestSchema, compiled.ListToolsHandler);
server.setRequestHandler(CallToolRequestSchema, compiled.CallToolHandler);

async function runServer() {
  const transport = new StdioServerTransport();
  await server.connect(transport);
  console.error(`MCP Server running on stdio`);
}

runServer().catch((error) => {
  console.error(`Fatal error running server:`, error);
  process.exit(1);
});

README mirrored from the source repository a month ago. The original is authoritative.

Questions

About Compiler

How do I install Compiler?

Run npx mcp-compiler, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Compiler safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Compiler still maintained?

The last commit was 6 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.