Skip to main content
Glama
SobieskiCodes

MCP-Claude Code Bridge

create_project

Create a new project directory with a specified name and optional description to organize coding tasks within the Claude Code Bridge environment.

Instructions

Create a new project directory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesProject name
descriptionNoProject description

Implementation Reference

  • The main implementation of createProject that creates a project directory and README.md file. It takes a project name and optional description, creates the directory in the working directory, writes a README with the project details, and returns a success message.
    async createProject(name, description = '') { const projectPath = path.join(this.workingDir, name); await fs.ensureDir(projectPath); // Create a basic README const readmeContent = `# ${name}\n\n${description}\n\nGenerated by Claude Code Bridge\n`; await fs.writeFile(path.join(projectPath, 'README.md'), readmeContent); return { content: [ { type: "text", text: `Project '${name}' created at ${projectPath}` } ] }; }
  • Tool schema definition for create_project that specifies the input parameters (required 'name' string and optional 'description' string) and the tool description.
    { name: "create_project", description: "Create a new project directory", inputSchema: { type: "object", properties: { name: { type: "string", description: "Project name" }, description: { type: "string", description: "Project description" } }, required: ["name"] } },
  • server.js:138-139 (registration)
    The registration point that routes the 'create_project' tool call to the createProject method, passing the name and description arguments.
    case 'create_project': return await this.createProject(args.name, args.description);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SobieskiCodes/claude-desktop-mcp-to-claude-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server