I was having issues with the Google Cloud Secrets manager SDK so I asked Cursor to remove it and replace it with fetch against the rest api and it one shotted a fully working solution to the thing that’s not been working with the sDK for me for like 2 hours
If you have a good source of truth, fetch is all you need.
This is why I made openapisearch.com - a way to get this source of truth more easily.
sam@samgoodwin89
@EastlondonDev 💯 “fetch is all you need”
0Replies
2Retweets
16Likes
5799Views
Jan Wilmake@janwilmake·Mar 22, 2025
I think people aren't getting it yet
- The GitHub OpenAPI is a source of truth to use their entire API but it's 10MB (± 2 million tokens) - The SLOP summary of that is ±30k tokens!!! oapis.org/slop/github
OpenAPI Search allows easy access to the perfect source of truth for LLM Codegen
Jan Wilmake@janwilmake
If you have a good source of truth, fetch is all you need.
This is why I made https://t.co/sheSeD6AUB - a way to get this source of truth more easily.
7Replies
4Retweets
36Likes
28001Views
Jan Wilmake@janwilmake·Mar 22, 2025
OpenAPI --> Simple Language Open Protocol (a.k.a. SLOP)
- let your LLM understand ANY API - reduce millions of tokens to thousands (e.g. githubs openapi is 2M tokens, becomes 30k tokens) - easily find the APIs of platforms you're looking for. Support for Google, AWS, Cloudflare, GitHub and much more!!
video media
Jan Wilmake@janwilmake
I think people aren't getting it yet
- The GitHub OpenAPI is a source of truth to use their entire API but it's 10MB (± 2 million tokens)
- The SLOP summary of that is ±30k tokens!!! https://t.co/Zh0OxI5YeW
OpenAPI Search allows easy access to the perfect source of truth for LLM Codegen
6Replies
24Retweets
181Likes
29082Views
Jan Wilmake@janwilmake·Mar 23, 2025
With this MCP I can find several APIs for building with APIs super quickly. Saves loads of time, skipping docs completely!
Some quality of life updates to OpenAPI search and the MCP today:
1. improved url parsing everywhere.
2. thanks to @EastlondonDev's feedback, the details slop tool now returns a full openapi referenced subset of the operation needed. because of this it doesn't loose vital information that isn't always in the spec, such as in the case of cloudflare, scopes required (see video)
To use the new version, run `npx openapi-mcp-server@2.0.1 init` and follow instructions. Let me know if you encounter any other issues!
video media
Jan Wilmake@janwilmake
OpenAPI --> Simple Language Open Protocol (a.k.a. SLOP)
- let your LLM understand ANY API
- reduce millions of tokens to thousands (e.g. githubs openapi is 2M tokens, becomes 30k tokens)
- easily find the APIs of platforms you're looking for. Support for Google, AWS, Cloudflare, GitHub and much more!!
@janwilmake Nice! Now I need to find out how I can get an OAuth token for given scopes in @CloudflareDev using the pkce flow (like wrangler does) … maybe @ritakozlov_ can help me 🙏