Skip to content

Commit f3cea34

Browse files
feat: datamodel and deployments of resources (#592)
First big wave of work for supporting MCP resources through functions - Creation of the `function_resource_definitions` data model, corresponding indexes, and corresponding resource_urns columns in toolset versions. - Creation of the function manifest schema for resources and implements deployment processing for function resources. - Creation of the resource URN type (parses uniqueness from uri which is the primary key for resources in MCP) - Implements adding/returning resources throughout the toolsets data model - Implements preserving of resources into toolset versions and well as accounting for it in current toolset caching.
1 parent 468b341 commit f3cea34

File tree

153 files changed

+19438
-11673
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+19438
-11673
lines changed

.changeset/social-clocks-return.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@gram/client": patch
3+
"@gram/server": patch
4+
---
5+
6+
The first major wave of work for supporting MCP resources through functions includes creating the function_resource_definitions data model with corresponding indexes and resource_urns columns in toolset versions. It also introduces the function manifest schema for resources and implements deployment processing for function resources. A new resource URN type is added, which parses uniqueness from the URI as the primary key for resources in MCP. Additionally, this work enables adding and returning resources throughout the toolsets data model, preserves resources within toolset versions, and updates current toolset caching to account for them.

0 commit comments

Comments
 (0)