Skip to main content
Glama

initialize-project-standard

Analyze user-specified projects to generate global project rules for Copilot and Cursor, optimizing development workflows on the feuse-mcp server.

Instructions

针对用户指定项目进行分析,生成Copilot 和 cursor对应的全局项目规则

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The `initProjectStandard` method defines and registers the handler for the 'initialize-project-standard' MCP tool. The handler's `execute` function constructs an XML prompt using imported `initProjectStandardPrompt` and `copilotInstructionsPrompt` templates to generate global project rules for Copilot and Cursor.
    private initProjectStandard(): void {
      this.server.addTool({
        name: 'initialize-project-standard',
        description: '针对用户指定项目进行分析,生成Copilot 和 cursor对应的全局项目规则',
        execute: async () => {
          const prompt: string = `
            <xml>
              <prompt>${initProjectStandardPrompt}</prompt>
              <template>${copilotInstructionsPrompt}</template>
            </xml>
          `
          return prompt
        },
      })
    }
  • The `registerTools` method calls `initProjectStandard()` among others to register utility tools on the MCP server.
    public registerTools(): void {
      this.apiAutomation()
      this.initProjectStandard()
      this.extractColorVars()
      this.extractSVGAssets()
      this.dowdloadSVGAssets()
    }
  • Imports the prompt template used in the tool handler from './prompt/initialize-project-standard.xml'.
    import initProjectStandardPrompt from './prompt/initialize-project-standard.xml'
  • Imports the copilot instructions template used in the tool handler.
    import copilotInstructionsPrompt from './prompt/copilot-instructions.md'
Install Server

Other Tools

Related Tools

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/Panzer-Jack/feuse-mcp'

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