mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 16:34:22 +01:00
18 lines
530 B
TypeScript
18 lines
530 B
TypeScript
export default defineMcpResource({
|
|
title: 'Arthur Danjou - Professional Profile',
|
|
description: 'Comprehensive professional profile of Arthur Danjou, including biography, location, availability status, career goals, and work preferences',
|
|
uri: 'resource://artmcp/profile',
|
|
cache: '1 hour',
|
|
handler: async (uri: URL) => {
|
|
const result = await $fetch('/api/profile')
|
|
|
|
return {
|
|
contents: [{
|
|
uri: uri.toString(),
|
|
mimeType: 'text/json',
|
|
text: JSON.stringify(result)
|
|
}]
|
|
}
|
|
}
|
|
})
|