uv sync
"Redmine": {
"disabled": false,
"command": "uv",
"args": [
"--directory",
"<path_to_mcp_server>",
"run",
"main.py"
],
}
main.py
ですべての Tool を登録すると、 Claude Desktop などの環境では最初のツール一覧の読み取りでトークンの上限に達してしまいます。実際に使うときは管理者権限の必要なAPIを除くなどして、必要なツールだけを登録するようにしてください。
If you register all Tools in main.py
, environments like Claude Desktop may hit the token limit when reading the initial list of tools. When actually using the server, please register only the necessary tools, such as by excluding APIs that require administrator privileges.
To retrieve the list of tools by passing API requests to main.py
via a pipe, use the following method.
(echo '{"jsonrpc":"2.0","id":0, "method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"mcp-util-list-tools","version":"0.1.0"}}}' ; \
echo '{"jsonrpc":"2.0", "method":"notifications/initialized"}' ; \
echo '{"jsonrpc":"2.0", "id":2, "method":"tools/list"}') | python main.py
- Issues
- Projects
- Project Memberships
- Users
- Time Entries
- News
- Issue Relations
- Versions
- Wiki Pages
- Queries
- Attachments
- Issue Statuses
- Trackers
- Enumerations
- Issue Categories
- Roles
- Groups
- Custom Fields
- Search
- Files
- My account
- [ ] Journals
This source code is licensed under the Apache License, Version 2.0. See LICENSE for details.