Skip to content

feat(mcp): expose AI advisor tools through dcli team mcp - #426

Open
mghzaieldashlane wants to merge 1 commit into
masterfrom
feat/mcp-ai-advisor-tools
Open

mghzaieldashlane wants to merge 1 commit into
masterfrom
feat/mcp-ai-advisor-tools

Conversation

@mghzaieldashlane

Copy link
Copy Markdown

Serve backend-defined tools from the team MCP server, listed by cli/ListAiAdvisorTools and run through cli/ExecuteAiAdvisorTool, alongside the existing get-audit-logs tool.

  • Split the MCP server into tool providers (McpToolProvider) combined by createMcpServer, using the SDK's low-level Server since advisor tools come with a runtime JSON Schema
  • Move get-audit-logs into auditLogsToolProvider, unchanged
  • Add aiAdvisorToolProvider: cached tool list, read-only annotations, invalidParams returned to the LLM as a tool error
  • Log the startup message to stderr, stdout is reserved to the MCP stdio transport
  • Document the advisor tools, key scopes and troubleshooting

@mghzaieldashlane
mghzaieldashlane force-pushed the feat/mcp-ai-advisor-tools branch 7 times, most recently from 619d19b to 9f4b6aa Compare October 21, 2026 15:24
Serve backend-defined tools from the team MCP server, listed by
cli/ListAiAdvisorTools and run through cli/ExecuteAiAdvisorTool,
alongside the existing get-audit-logs tool.

- Split the MCP server into tool providers (McpToolProvider) combined
  by createMcpServer, using the SDK's low-level Server since advisor
  tools come with a runtime JSON Schema
- Move get-audit-logs into auditLogsToolProvider, unchanged
- Add aiAdvisorToolProvider: cached tool list, read-only annotations,
  invalidParams returned to the LLM as a tool error
- Log the startup message to stderr, stdout is reserved to the MCP
  stdio transport
- Document the advisor tools, key scopes and troubleshooting

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mghzaieldashlane
mghzaieldashlane force-pushed the feat/mcp-ai-advisor-tools branch from 9f4b6aa to fcbce1b Compare October 21, 2026 15:24

This branch has not been deployed

No deployments
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