René's URL Explorer Experiment


Title: Add support System Message injection by the MCP Servers for instruction injection and state exposure. · Issue #148 · modelcontextprotocol/modelcontextprotocol · GitHub

Open Graph Title: Add support System Message injection by the MCP Servers for instruction injection and state exposure. · Issue #148 · modelcontextprotocol/modelcontextprotocol

X Title: Add support System Message injection by the MCP Servers for instruction injection and state exposure. · Issue #148 · modelcontextprotocol/modelcontextprotocol

Description: Problem Statement: Sometimes tools do not give enough context to the Agent about how to best use the MCP server as they need general understanding of what this tools are used for together, such as a Toolkit of sorts. There may also be ca...

Open Graph Description: Problem Statement: Sometimes tools do not give enough context to the Agent about how to best use the MCP server as they need general understanding of what this tools are used for together, such as ...

X Description: Problem Statement: Sometimes tools do not give enough context to the Agent about how to best use the MCP server as they need general understanding of what this tools are used for together, such as ...

Opengraph URL: https://github.com/modelcontextprotocol/modelcontextprotocol/issues/148

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support System Message injection by the MCP Servers for instruction injection and state exposure.","articleBody":"### Problem Statement:\nSometimes tools do not give enough context to the Agent about how to best use the MCP server as they need general understanding of what this tools are used for together, such as a Toolkit of sorts. There may also be cases where servers are `stateful` and may want to provide the LLM with context that may help decide when and how to best use the tools.\n\nExamples:\n\n- State of the entity the MCP server is controlling: Something is ON/OFF, a list of active resources.\n- Toolkit instructions: An instruction that tells the LLM which tools belong together and how to best use them as a whole.\n\n\n### Proposed Solution:\nThe proposed solution is to allow the MCP Client to request a server for a System prompt (or multiple), this request may be done for each interaction with the LLM so the System Message is always aligned with the state of the server in case stateful context needs to be shared with the Agent.\n\nThe prompts returned by the server can then be used and merged with the agent's main system prompt.\n\n### Alternatives:\nAn addition to the above or an alternative as a whole is to allow an server to attach as snippet of a user message prompt into the user message the agent is generating. This snippet would contain stateful information about the MCP server which might be relevant to the agent and informs it about the current state. One benefit of this approach is that the snippet of the user message provided by the server would likely be persisted by the agent in the conversation history, thus letting the LLM reason about how the state of the server has been changing.\n\n\n\nExample Request to a Home Automation:\n```json\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"instructions/get\"\n}\n```\nExample Response:\n```json\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"result\": {\n    \"contents\": [\n      {\n        \"content\": {\n          \"type\": \"text\",\n          \"text\": \"Your have the ability to do home automation with the following tools...\"\n        }\n      },\n      {\n        \"content\": {\n          \"type\": \"text\",\n          \"text\": \"You can control the following home devices using the home automation tools $(LIST OF HOME DEVICES AND OTHER INFORMATION)\"\n        }\n      }\n    ]\n  }\n}\n```\n","author":{"url":"https://github.com/Altaflux","@type":"Person","name":"Altaflux"},"datePublished":"2025-01-20T19:15:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/148/modelcontextprotocol/issues/148"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1e8f67d6-eacd-4a2a-5016-7739581d6a72
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEA48:11D574:556ACC:71431B:6A5B583D
html-safe-noncea0a2a05439e89b2468fa76fae6f29c64958495d7b307663ae9f5e537c212acd4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTQ4OjExRDU3NDo1NTZBQ0M6NzE0MzFCOjZBNUI1ODNEIiwidmlzaXRvcl9pZCI6IjQwMDE3OTM1MzM0MTM1MTk5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb542200c760e687ffd24ecd9344d442995489e06f781323c27f249279653324a
hovercard-subject-tagissue:2800133968
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/modelcontextprotocol/148/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fe2f6860fc63a891655ebcb50b32b5772f520547f4ef2515cba22f28ad12e216/modelcontextprotocol/modelcontextprotocol/issues/148
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fe2f6860fc63a891655ebcb50b32b5772f520547f4ef2515cba22f28ad12e216/modelcontextprotocol/modelcontextprotocol/issues/148
og:image:altProblem Statement: Sometimes tools do not give enough context to the Agent about how to best use the MCP server as they need general understanding of what this tools are used for together, such as ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAltaflux
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/modelcontextprotocol/modelcontextprotocol git https://github.com/modelcontextprotocol/modelcontextprotocol.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862570523
octolytics-dimension-repository_nwomodelcontextprotocol/modelcontextprotocol
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862570523
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/modelcontextprotocol
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/148#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fmodelcontextprotocol%2Fissues%2F148
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fmodelcontextprotocol%2Fissues%2F148
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=modelcontextprotocol%2Fmodelcontextprotocol
Reloadhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/148
Reloadhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/148
Reloadhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/148
Please reload this pagehttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/148
modelcontextprotocol https://github.com/modelcontextprotocol
modelcontextprotocolhttps://github.com/modelcontextprotocol/modelcontextprotocol
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Fork 1.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Star 8.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Code https://github.com/modelcontextprotocol/modelcontextprotocol
Issues 113 https://github.com/modelcontextprotocol/modelcontextprotocol/issues
Pull requests 80 https://github.com/modelcontextprotocol/modelcontextprotocol/pulls
Discussions https://github.com/modelcontextprotocol/modelcontextprotocol/discussions
Actions https://github.com/modelcontextprotocol/modelcontextprotocol/actions
Projects https://github.com/modelcontextprotocol/modelcontextprotocol/projects
Models https://github.com/modelcontextprotocol/modelcontextprotocol/models
Security and quality 0 https://github.com/modelcontextprotocol/modelcontextprotocol/security
Insights https://github.com/modelcontextprotocol/modelcontextprotocol/pulse
Code https://github.com/modelcontextprotocol/modelcontextprotocol
Issues https://github.com/modelcontextprotocol/modelcontextprotocol/issues
Pull requests https://github.com/modelcontextprotocol/modelcontextprotocol/pulls
Discussions https://github.com/modelcontextprotocol/modelcontextprotocol/discussions
Actions https://github.com/modelcontextprotocol/modelcontextprotocol/actions
Projects https://github.com/modelcontextprotocol/modelcontextprotocol/projects
Models https://github.com/modelcontextprotocol/modelcontextprotocol/models
Security and quality https://github.com/modelcontextprotocol/modelcontextprotocol/security
Insights https://github.com/modelcontextprotocol/modelcontextprotocol/pulse
Add support System Message injection by the MCP Servers for instruction injection and state exposure.https://github.com/modelcontextprotocol/modelcontextprotocol/issues/148#top
enhancementNew feature or requesthttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/Altaflux
Altafluxhttps://github.com/Altaflux
on Jan 20, 2025https://github.com/modelcontextprotocol/modelcontextprotocol/issues/148#issue-2800133968
enhancementNew feature or requesthttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.