Skip to content

Conversation

@himorishige
Copy link

@himorishige himorishige commented Nov 28, 2025

概要

従来のmicroCMS MCP Serverは、1つのサービスIDと1つのAPIキーを使用して、単一のmicroCMSサービスに接続する設計でした。

複数サービス対応により、1つのMCPサーバーインスタンスで複数のmicroCMSサービスを同時に操作できるようになります。

- Introduced a new `.eslintrc.cjs` file to set up ESLint with TypeScript.
- Configured parser, environment, and rules to enhance code quality and maintainability.
- Updated `.env.example` to include configuration for multi-service mode, allowing connection to multiple microCMS services via a JSON array.
- Expanded `README.md` with detailed instructions for using single and multi-service modes, including examples and notes on configuration.
- Refactored `cli.ts`, `client.ts`, and `config.ts` to support multi-service functionality, including client initialization and service ID handling.
- Updated various tools to accept `serviceId` as an optional parameter, ensuring compatibility with both single and multi-service modes.
- Enhanced error handling and validation for service configurations.
- Improved server request handling to accommodate new multi-service capabilities.
…nting and formatting

- Deleted `.eslintrc.cjs` and `.prettierrc` files to remove previous configurations.
- Added `biome.json` for new linting and formatting rules.
- Updated `package.json` scripts to use Biome for linting and formatting tasks.
…te packages

- Added '@biomejs/biome' and related CLI packages for linting and formatting.
- Removed outdated ESLint and Prettier dependencies along with their configurations.
- Cleaned up unnecessary packages to streamline the dependency tree.
- Cleaned up formatting in `cli.ts`, `client.ts`, `config.ts`, and various tool files for better readability.
- Standardized import statements and added type imports where necessary.
- Enhanced error messages and comments for clarity.
- Ensured consistent use of line breaks and spacing across files.
@himorishige himorishige deleted the feat/multi-service-mode branch November 28, 2025 09:18
@himorishige himorishige restored the feat/multi-service-mode branch November 28, 2025 09:19
@himorishige himorishige reopened this Dec 2, 2025
@himorishige himorishige marked this pull request as draft December 2, 2025 00:08
@himorishige himorishige closed this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant