Install
openclaw skills install meegle-connectorConnect to Meegle via MCP service, support OAuth authentication, and enable querying and managing work items, views, etc.
openclaw skills install meegle-connectorConnect to Meegle via MCP service, supporting OAuth authentication.
This skill relies on the following environment:
npxnpm install -g @lark-project/meego-mcporter or automatically obtained via npx)This skill uses ~/.mcporter/credentials.json to store OAuth credentials (managed by mcporter).
Security Constraints:
~/.mcporter/Note: Be sure to ask the user and let the user make an active choice. Automatically choosing for the user is prohibited. This tool supports two authentication methods:
Copy meegle-config.json from the skill package directory to the working directory.
npx @lark-project/meego-mcporter auth meegle --config meegle-config.json
This will open a browser for you to authorize your Feishu account. ** After authorization is completed, the credentials will be cached in ~/.mcporter/credentials.json, and subsequent calls will not require re-authorization. **
Applicable Scenario: When the remote server does not have a browser, the user needs to complete OAuth on the local computer and then sync the credentials back to the server.
Copy meegle-config.json from the skill package directory to the working directory.
npx @lark-project/meego-mcporter auth meegle --config meegle-config.json --oauth-timeout 1000
This command will generate an OAuth Client configuration (containing only the client parameters, excluding tokens) in ~/.mcporter/credentials.json.
This step requires the agent and the user to cooperate to complete credential synchronization. Since the remote server does not have a browser, the user needs to complete OAuth authorization on their local computer.
Step A - Present the OAuth Client Configuration to the User (Requires User Confirmation):
Read the contents of ~/.mcporter/credentials.json (which at this time only contains OAuth client parameters and no tokens), display them to the user, and inform the user:
The following is the OAuth Client configuration. Please refer to the document https://meegle.com/b/helpcenter/product/5rifl7a7 to complete the authorization on your local computer. After the authorization is completed, please provide me with the generated credential file.
Step B - Receive authorized credentials provided by the user (user confirmation required):
After the user completes OAuth locally, they will provide the authorized credential file. After obtaining user confirmation, write it to ~/.mcporter/credentials.json.
After the write operation is completed, immediately clean up any intermediate temporary files that may have been generated during the operation. The credential content is only stored in ~/.mcporter/credentials.json and must not be saved to any other location.
Attempted to connect to the MCP server and confirmed successful authorization.
npx @lark-project/meego-mcporter call meegle <tool_name> --config meegle-config.json
npm i -g @lark-project/meego-mcporter