Skip to content

feat(mcp): let agents (MCP) use trame apps - #918

Draft
alesgenova wants to merge 1 commit into
masterfrom
feat-mcp
Draft

alesgenova wants to merge 1 commit into
masterfrom
feat-mcp

Conversation

@alesgenova

Copy link
Copy Markdown
Member

Depends on:

Re-export agent access from trame-common and trame-server, and document it.

  • trame.decorators: mcp_method, mcp_property, mcp_tool, mcp_resource and mcp_prompt
  • trame.app.mcp: MCP, HTTPTransport, MCPClient, MCPExposable, Progress, Image, the error types, and claude_command / codex_command
  • docs: a guide page (Agents > MCP), and the API reference of trame.app.mcp
  • examples/10_mcp: a quick start, a class-based app, an address book of models, permissions and naming objects, plus examples/validation/mcp/wasm_quadrants.py

Requires trame-server 4.2 and trame-common 1.3.0.

Re-export agent access from trame-common and trame-server, and document
it.

- trame.decorators: mcp, the decorators module (@mcp.method,
  @mcp.property, @mcp.tool, @mcp.resource, @mcp.prompt,
  @mcp.constructor)
- trame.app.mcp: MCP, HTTPTransport, MCPClient, MCPExposable, Progress,
  Image, the error types, and claude_command / codex_command
- docs: a guide page (Agents > MCP), and the API reference of
  trame.app.mcp and of the decorators
- examples/10_mcp: a quick start, a class-based app, an address book of
  models, permissions and naming objects, plus
  examples/validation/mcp/wasm_quadrants.py

Requires trame-server 4.2 and trame-common 1.3.0.

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