You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -137,6 +138,34 @@ In order to improve Srcbook, we collect some behavioral analytics. We don't coll
137
138
138
139
If you want to disable tracking, you can run Srcbook with `SRCBOOK_DISABLE_ANALYTICS=true` set in the environment.
139
140
141
+
## MCP Integration
142
+
143
+
Srcbook now includes support for the Model Context Protocol (MCP), enabling AI models to access external tools and data sources. This integration enhances the capabilities of AI-generated applications by allowing them to:
144
+
145
+
- Access external data sources and APIs
146
+
- Perform web searches and retrieve information
147
+
- Execute specialized tools during app generation
148
+
149
+
MCP servers can be configured in the `packages/api/srcbook_mcp_config.json` file. The MCP client automatically discovers and makes available all tools provided by configured MCP servers.
150
+
151
+
### Configuring MCP Servers
152
+
153
+
To add an MCP server, update the configuration file with the server details:
154
+
155
+
```json
156
+
{
157
+
"mcpServers": {
158
+
"server-id": {
159
+
"command": "command-to-run-server",
160
+
"args": ["arg1", "arg2"],
161
+
"env": {
162
+
"API_KEY": "your-api-key"
163
+
}
164
+
}
165
+
}
166
+
}
167
+
```
168
+
140
169
## Contributing
141
170
142
171
For development instructions, see [CONTRIBUTING.md](https://github.com/srcbookdev/srcbook/blob/main/CONTRIBUTING.md).
0 commit comments