8000 feat(add-tools) Add Read-only tools by ibakshay · Pull Request #13 · perses/mcp-server · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(add-tools) Add Read-only tools #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 15, 2025
Merged

Conversation

ibakshay
Copy link
Collaborator
@ibakshay ibakshay commented Jun 15, 2025

fixes #5
Signed-off-by: Akshay Iyyadurai Balasundaram akshay.iyyadurai.balasundaram@sap.com

ibakshay added 10 commits June 15, 2025 10:11
* Introduced `ListGlobalRoles` and `ListGlobalRoleBindings` functions to the tools package.
* These functions allow for the retrieval and listing of global roles and role bindings from the Perses client.
* Enhanced the MCP server with new tools for better role management.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
* Introduced a new tool to list all available plugins in the Perses environment.
* Updated `main.go` to register the new tool with the MCP server.
* Updated dependencies in `go.mod` and `go.sum` for compatibility.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
* Implemented `ListProjectRoles` to retrieve roles for a specific project.
* Implemented `ListProjectRoleBindings` to retrieve role bindings for a specific project.
* Updated main server to include these new tools.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
…ces`

* Updated the tool to specifically list datasources for a project.
* Adjusted the main function to utilize the new `ListProjectDatasources` tool.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
…name

* Implemented `GetProjectByName`, `GetGlobalDatasourceByName`, `GetProjectDatasourceByName`, `GetGlobalRoleByName`, `GetProjectRoleByName`, `GetGlobalRoleBindingByName`, `GetProjectRoleBindingByName`, `GetGlobalVariableByName`, and `GetProjectVariableByName` functions.
* These tools allow users to fetch specific resources by name, enhancing the functionality of the MCP server.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
* Bump `github.com/mark3labs/mcp-go` from v0.31.0 to v0.32.0
* Update `github.com/spf13/cast` from v1.8.0 to v1.9.2
* Upgrade `github.com/zitadel/oidc/v3` from v3.38.1 to v3.39.0
* Change `golang.org/x/crypto` from v0.38.0 to v0.39.0
* Modify `golang.org/x/net` from v0.40.0 to v0.41.0
* Update `golang.org/x/text` from v0.25.0 to v0.26.0

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
…ommands

- Added `perses_get_project_by_name` and `perses_get_dashboard_by_name` tools.
- Expanded roles section with new role and role binding commands.
- Included new datasource retrieval commands for global and project-specific datasources.
- Enhanced variables section with commands to get global and project variables by name.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
- Added a warning indicating that the MCP Server is in **beta**.
- Encouraged users to provide feedback and contributions.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
@ibakshay ibakshay merged commit 0b22def into main Jun 15, 2025
4 checks passed
@ibakshay ibakshay deleted the ibakshay/add-read-only-tools branch June 15, 2025 09:27
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.

Add tools for all the remaining GET and LIST requests
1 participant
0